Skip to content

Commit 4e88774

Browse files
authored
Merge pull request #208 from WildAid/Localize_to_French
Localize to french
2 parents fd1e055 + d660b94 commit 4e88774

File tree

13 files changed

+218
-259
lines changed

13 files changed

+218
-259
lines changed

LOCALIZATION.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Localization files are in Localization/CODE.lproj/Localizable.strings
2+
e.g.
3+
Localization/es-419/Localizable.strings
4+
Localization/fr/Localizable.strings
5+
6+
The format is:
7+
The string found in the code (English)
8+
=
9+
The string to localize to
10+
;
11+
12+
e.g.:
13+
"Yes" = "Oui";
14+
15+
To see if a file has any non-translated items
16+
Run this to find all the strings that are the same on both sides of the equals sign:
17+
`cut -f1 -d\= Localizable.strings > first && cut -f2 -d\= Localizable.strings | sed 's/.$//' > last && diff -wy first last | grep -v \| && rm first last`
18+
19+
This may give some false positives, e.g. in French, "Photo" and "Date" are the same in English and French.

Localization/es-419.lproj/Localizable.strings

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
"Are you sure you want to replace captain?" = "Are you sure you want to replace captain?";
55
"Board Vessel" = "Board Vessel";
66
"Cancel" = "Cancel";
7-
"Cannot access reports" = "Cannot access reports";
87
"Captain" = "Captain";
9-
"Change status to \"On Duty\"?" = "Change status to \"On Duty\"?";
8+
"Change status to \"At Sea\"?" = "Change status to \"At Sea\"?";
109
"Continue editing" = "Continue editing";
1110
"Continue with empty fields?" = "Continue with empty fields?";
1211
"Date: " = "Date: ";
@@ -22,7 +21,7 @@
2221
"No Results for “%@“" = "No Results for “%@“";
2322
"Ok" = "Ok";
2423
"Permit #" = "Permit #";
25-
"Please, input name or licence" = "Please, input name or licence";
24+
"Please, input name or license" = "Please, input name or license";
2625
"Prefill" = "Prefill";
2726
"Prefill Vessel Information From Previous Boarding?" = "Prefill Vessel Information From Previous Boarding?";
2827
"Previous Boardings" = "Previous Boardings";
@@ -35,42 +34,21 @@
3534
"Vessel: " = "Vessel: ";
3635
"Yes" = "Yes";
3736
"You'll still be able to edit fields" = "You'll still be able to edit fields";
38-
"You're currently off duty" = "You're currently off duty";
39-
"Fishing" = "Fishing";
40-
"Transiting" = "Transiting";
41-
"Offloading" = "Offloading";
42-
"Other" = "Other" ;
37+
"You're currently on land" = "You're currently on land";
38+
"Other" = "Other";
4339
"Search Crew" = "Search Crew";
4440
"Electronic Monitoring System" = "Electronic Monitoring System";
4541
"Search EMS's" = "Search EMS's";
46-
"Tuna" = "Tuna";
47-
"Groundfish" = "Groundfish";
48-
"Bluefish" = "Bluefish";
49-
"Trawl" = "Trawl";
50-
"Long-line" = "Long-line";
51-
"Nets" = "Nets";
5242
"Flag State" = "Flag State";
5343
"Search Flag State" = "Search Flag State";
5444
"Species" = "Species";
5545
"Search Species" = "Search Species";
56-
"Tuna" = "Tuna";
57-
"Swordfish" = "Swordfish";
58-
"Clownfish" = "Clownfish";
59-
"Fish and Game code 7850(a)" = "Fish and Game code 7850(a)";
60-
"No commercial license" = "No commercial license";
61-
"Fish and Game code 7145(a)" = "Fish and Game code 7145(a)";
62-
"Fishing without a license" = "Fishing without a license";
63-
"Take/Possess undersize Dungeness crab" = "Take/Possess undersize Dungeness crab";
64-
"Take in violation of Federal Regulations" = "Take in violation of Federal Regulations";
65-
"California" = "California";
66-
"Use barbed hooks for Salmon" = "Use barbed hooks for Salmon";
6746
"Crew Member" = "Crew Member";
6847
"Captain's Name" = "Captain's Name";
6948
"Crew Member Name" = "Crew Member Name";
7049
"License Number" = "License Number";
7150
"Remove Note" = "Remove Note";
7251
"Add Note" = "Add Note";
73-
"Risk" = "Risk";
7452
"Reason for amber" = "Reason for amber";
7553
"Last Delivery" = "Last Delivery";
7654
"Date" = "Date";
@@ -103,7 +81,6 @@
10381
"Fishery" = "Fishery";
10482
"Gear" = "Gear";
10583
"Note" = "Note";
106-
"Boarding" = "Boarding";
10784
"Weight" = "Weight";
10885
"Count" = "Count";
10986
"Latitude" = "Latitude";
@@ -114,7 +91,6 @@
11491
"Search" = "Search";
11592
"Search Vessels" = "Search Vessels";
11693
"Back" = "Back";
117-
"Cancel" = "Cancel";
11894
"Last Boarding" = "Last Boarding";
11995
"Crew Members" = "Crew Members";
12096
"Boardings" = "Boardings";
@@ -126,8 +102,13 @@
126102
"Date & Time" = "Date & Time";
127103
"Time" = "Time";
128104
"Skip the following sections?" = "Skip the following sections?";
129-
"On Duty" = "On Duty";
130-
"Off Duty" = "Off Duty";
105+
"At Sea" = "At Sea";
106+
"On Land" = "On Land";
107+
"Patrol Summary" = "Patrol Summary";
108+
"Continue" = "Continue";
109+
"Time At Sea" = "Time At Sea";
110+
"Start Time" = "Start Time";
111+
"End Time" = "End Time";
131112
"Find records" = "Find records";
132113
"Red" = "Red";
133114
"Amber" = "Amber";
@@ -148,7 +129,7 @@
148129
"Tonnes" = "Tonnes";
149130
"Weight & Count" = "Weight & Count";
150131
"Search Activities" = "Search Activities";
151-
"Search Fishery" = "Search Fishery";
132+
"Search Fisheries" = "Search Fisheries";
152133
"Search Gear" = "Search Gear" ;
153134
"Gear Type" = "Gear Type";
154135
"Search Violations" = "Search Violations";
@@ -160,16 +141,16 @@
160141
"Email/Username" = "Email/Username";
161142
"Password" = "Password";
162143
"Cancel boarding?" = "Cancel boarding?";
163-
"This boarding will not be saved" = "This boarding will not be saved";
144+
"This boarding will not be saved." = "This boarding will not be saved.";
164145
"Cancel Boarding" = "Cancel Boarding";
165146
"Log In" = "Log In";
166147
"Name" = "Name";
167148
"Type" = "Type";
168149
"You sure you want to logout?" = "You sure you want to logout?";
169150
"You can only log back in once you have cellular service or are connected to WIFI with internet" = "You can only log back in once you have cellular service or are connected to WIFI with internet";
170-
"Are you still on duty?" = "Are you still on duty?";
151+
"Are you still at sea?" = "Are you still at sea?";
171152
"It has been %@ hours after closing the application" = "It has been %@ hours after closing the application";
172-
"It has been %@ hours after starting of your duty." = "It has been %@ hours after starting of your duty.";
153+
"It has been %@ hours since you went to sea." = "It has been %@ hours since you went to sea.";
173154
"Camera" = "Camera";
174155
"Photo Library" = "Photo Library";
175156
"Change profile picture" = "Change profile picture";

0 commit comments

Comments
 (0)