Skip to content

Commit

Permalink
Added missing strings for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharland committed Aug 25, 2015
1 parent 29108bb commit c106f54
Show file tree
Hide file tree
Showing 11 changed files with 144 additions and 5 deletions.
8 changes: 5 additions & 3 deletions Scripts/verify_translations.py
Expand Up @@ -53,7 +53,8 @@ def find_missing_translations(rootdir='.', extention='', recomp=None, greylist=(
if found:
if DEBUG: print "\t", '[%s] FOUND -- "%s"' % found.groups()
else:
notfound.append("-->\t[%s] ==== Not Found ====" % value)
#notfound.append("-->\t[%s] ==== Not Found ====" % value)
notfound.append("""-->\t"%s" = "%s";""" % (value, value))
if notfound:
if not DEBUG:print pathname
print "\n".join(notfound)
Expand All @@ -69,10 +70,11 @@ def main():
print 'Usage:', sys.argv[0], '[-g]\n\t\t-g: debug will show matching also'
sys.exit(1)

greylist = ('UIxFilterEditor.wox')
#greylist = ('UIxFilterEditor.wox')
greylist = ()

#- Get only the label:value from all lines
recomp = re.compile(' label:[^=]*="(.*?)"')
recomp = re.compile('.label:[^=]*="(.*?)"')
find_missing_translations('../UI', 'wox', recomp, greylist)

#- [self labelForKey: @"Issuer"]
Expand Down
2 changes: 2 additions & 0 deletions UI/AdministrationUI/English.lproj/Localizable.strings
Expand Up @@ -13,3 +13,5 @@

/* Modules descriptions */
"ACLs_description" = "<p>The Access Control Lists administration module allows to change the ACLs of each user's Calendars and Address books.</p><p>To modify the ACLs of a user's folder, type the name of the user in the search field at the top of the window and double-click on the desired folder.</p>";

"Name or Email" = "Name or Email";
8 changes: 8 additions & 0 deletions UI/Common/English.lproj/Localizable.strings
Expand Up @@ -12,6 +12,7 @@
"Preferences" = "Preferences";
"Administration" = "Administration";
"Disconnect" = "Disconnect";
"Toggle Menu" = "Toggle Menu";
"Right Administration" = "Right Administration";
"Log Console (dev.)" = "Log Console (dev.)";

Expand Down Expand Up @@ -116,3 +117,10 @@
"a2_Thursday" = "Th";
"a2_Friday" = "Fr";
"a2_Saturday" = "Sa";

"Access Rights" = "Access Rights";
"Add User" = "Add User";
"Loading" = "Loading";
"No such user." = "No such user.";
"You cannot (un)subscribe to a folder that you own!" = "You cannot (un)subscribe to a folder that you own!";
"SOGo" = "SOGo";
40 changes: 40 additions & 0 deletions UI/Contacts/English.lproj/Localizable.strings
Expand Up @@ -22,6 +22,7 @@
"HomePhone" = "HomePhone";
"Lastname" = "Lastname";
"Location" = "Location";
"Add a category" = "Add a category";
"MobilePhone" = "MobilePhone";
"Name" = "Name";
"OfficePhone" = "OfficePhone";
Expand Down Expand Up @@ -213,3 +214,42 @@
"Authenticated User Access" = "Authenticated User Access";
"CardDAV URL: " = "CardDAV URL: ";

"Options" = "Options";
"Rename" = "Rename";
"Subscriptions" = "Subscriptions";
"Options" = "Options";
"Global Addressbooks" = "Global Addressbooks";
"Search" = "Search";
"Sort" = "Sort";
"Descending Order" = "Descending Order";
"Back" = "Back";
"Select All" = "Select All";
"Copy contacts" = "Copy contacts";
"More messages options" = "More messages options";
"contacts" = "contacts";
"No contact" = "No contact";
"New Contact" = "New Contact";
"CardDAV URL" = "CardDAV URL";
"Close" = "Close";
"More contact options" = "More contact options";
"Organization Unit" = "Organization Unit";
"Add Organizational Unit" = "Add Organizational Unit";
"Type" = "Type";
"Email Address" = "Email Address";
"New Email Address" = "New Email Address";
"Type" = "Type";
"New Phone Number" = "New Phone Number";
"Type" = "Type";
"URL" = "URL";
"New URL" = "New URL";
"Type" = "Type";
"street" = "street";
"Postoffice" = "Postoffice";
"Region" = "Region";
"Postal Code" = "Postal Code";
"New Address" = "New Address";
"Reset" = "Reset";
"Description" = "Description";
"Add Member" = "Add Member";
"Reset" = "Reset";
"Subscribe" = "Subscribe";
6 changes: 6 additions & 0 deletions UI/MailPartViewers/English.lproj/Localizable.strings
Expand Up @@ -51,3 +51,9 @@ reply_info = "This is a reply to an event invitation done by you.";

"View Attachment" = "View Attachment";
"Save Attachment" = "Save Attachment";

"CC" = "CC";
"Cancel" = "Cancel";
"OK" = "OK";
"OK" = "OK";
"Comment" = "Comment";
26 changes: 26 additions & 0 deletions UI/MailerUI/English.lproj/Localizable.strings
Expand Up @@ -309,3 +309,29 @@
/* Contacts list in mail editor */
"Email" = "Email";
"Name" = "Name";

"More mail options" = "More mail options";
"Delegation" = "Delegation";
"Add User" = "Add User";
"Add a tag" = "Add a tag";
"reply" = "reply";
"Edit" = "Edit";
"More mail options" = "More mail options";
"Yes" = "Yes";
"No" = "No";
"Location" = "Location";
"Rename" = "Rename";
"Compact" = "Compact";
"Export" = "Export";
"Set as Drafts" = "Set as Drafts";
"Set as Sent" = "Set as Sent";
"Set as Trash" = "Set as Trash";
"Sort" = "Sort";
"Descending Order" = "Descending Order";
"Back" = "Back";
"Copy messages" = "Copy messages";
"More messages options" = "More messages options";
"Mark as Unread" = "Mark as Unread";
"Closing Window ..." = "Closing Window ...";
"Tried to send too many mails. Please wait." = "Tried to send too many mails. Please wait.";
"View Mail" = "View Mail";
5 changes: 5 additions & 0 deletions UI/MainUI/English.lproj/Localizable.strings
Expand Up @@ -83,3 +83,8 @@ See <a href=\"http://www.sogo.nu/en/support/community.html\">this page</a> for v
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

"AboutBox" = "AboutBox";
"Close" = "Close";
"Missing search parameter" = "Missing search parameter";
"Missing type parameter" = "Missing type parameter";
18 changes: 18 additions & 0 deletions UI/PreferencesUI/English.lproj/Localizable.strings
Expand Up @@ -53,6 +53,8 @@
"Time Format" ="Time Format";

"default" = "Default";
"Default Module" = "Default Module";
"Save" = "Save";

"shortDateFmt_0" = "%d-%b-%y";

Expand Down Expand Up @@ -339,3 +341,19 @@
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";

"Cancel" = "Cancel";
"Invitations" = "Invitations";
"Edit Filter" = "Edit Filter";
"Delete Filter" = "Delete Filter";
"Create Filter" = "Create Filter";
"Delete Label" = "Delete Label";
"Create Label" = "Create Label";
"Accounts" = "Accounts";
"Edit Account" = "Edit Account";
"Delete Account" = "Delete Account";
"Create Account" = "Create Account";
"Account Name" = "Account Name";
"SSL" = "SSL";
"TLS" = "TLS";

32 changes: 32 additions & 0 deletions UI/Scheduler/English.lproj/Localizable.strings
Expand Up @@ -118,6 +118,7 @@
"Subscribe to a Calendar..." = "Subscribe to a Calendar...";
"Remove the selected Calendar" = "Remove the selected Calendar";

"New calendar" = "New calendar";
"Name of the Calendar" = "Name of the Calendar";

"new" = "New";
Expand Down Expand Up @@ -182,6 +183,7 @@
"Status" = "Status";
"% complete" = "% complete";
"Location" = "Location";
"Add a category" = "Add a category";
"Priority" = "Priority";
"Privacy" = "Privacy";
"Cycle" = "Cycle";
Expand Down Expand Up @@ -346,6 +348,7 @@
"Never" = "Never";
"After" = "After";
"On Date" = "On Date";
"times" = "times";

"First" = "First";
"Second" = "Second";
Expand Down Expand Up @@ -386,6 +389,7 @@
"reminder_MINUTES" = "minutes";
"reminder_HOURS" = "hours";
"reminder_DAYS" = "days";
"reminder_WEEKS" = "weeks";
"reminder_BEFORE" = "before";
"reminder_AFTER" = "after";
"reminder_START" = "the event starts";
Expand All @@ -411,6 +415,9 @@
/* email notifications */
"Send Appointment Notifications" = "Send Appointment Notifications";

"From" = "From";
"To" = "To";

/* validation errors */

validate_notitle = "No title is set, continue?";
Expand Down Expand Up @@ -495,6 +502,7 @@ validate_endbeforestart = "The end date that you entered occurs before the st
"Start" = "Start";
"End" = "End";
"Due Date" = "Due Date";
"Due" = "Due";
"Location" = "Location";

"(Private Event)" = "(Private Event)";
Expand Down Expand Up @@ -545,7 +553,9 @@ vtodo_class2 = "(Confidential task)";
"Receive a mail when I modify my calendar" = "Receive a mail when I modify my calendar";
"Receive a mail when someone else modifies my calendar" = "Receive a mail when someone else modifies my calendar";
"When I modify my calendar, send a mail to" = "When I modify my calendar, send a mail to";
"Email Address" = "Email Address";

"Export" = "Export";
"Links to this Calendar" = "Links to this Calendar";
"Authenticated User Access" = "Authenticated User Access";
"CalDAV URL" = "CalDAV URL ";
Expand Down Expand Up @@ -577,9 +587,31 @@ vtodo_class2 = "(Confidential task)";
"Copy event to my calendar" = "Copy event to my calendar";
"View Raw Source" = "View Raw Source";

"Subscriptions" = "Subscriptions";
"Subscribe to a shared folder" = "Subscribe to a shared folder";
"Subscribe to a web calendar..." = "Subscribe to a web calendar...";
"URL of the Calendar" = "URL of the Calendar";
"Web Calendar" = "Web Calendar";
"Web Calendars" = "Web Calendars";
"Reload on login" = "Reload on login";
"Invalid number." = "Invalid number.";
"Please identify yourself to %{0}" = "Please identify yourself to %{0}";

"quantity" = "quantity";
"Current view" = "Current view";
"Selected events and tasks" = "Selected events and tasks";
"Custom date range" = "Custom date range";
"Select starting date" = "Select starting date";
"Select ending date" = "Select ending date";
"Delegated to" = "Delegated to";
"Keep sending me updates" = "Keep sending me updates";
"OK" = "OK";
"Confidential" = "Confidential";
"Enable" = "Enable";
"Filter" = "Filter";
"Sort" = "Sort";
"Back" = "Back";
"Day" = "Day";
"Month" = "Month";
"New Appointment" = "New Appointment";
"filters" = "filters";
2 changes: 1 addition & 1 deletion UI/Templates/SchedulerUI/UIxCalendarProperties.wox
Expand Up @@ -69,7 +69,7 @@
ng-model="properties.calendar.notifications.notifyUserOnPersonalModifications"
ng-true-value="1"
ng-false-value="0">
<var:string label:value="When I modify my calendar, send a mail to:"/>
<var:string label:value="When I modify my calendar, send a mail to"/>
</md-checkbox>
<md-input-container md-no-float="md-no-float">
<input type="text"
Expand Down
2 changes: 1 addition & 1 deletion UI/Templates/UIxAclEditor.wox
Expand Up @@ -99,7 +99,7 @@
<var:string label:value="Cancel"/>
</md-button>
<md-button class="md-warn" ng-click="acl.confirmation.showing = false">
<var:string label:value="Ok"/>
<var:string label:value="OK"/>
</md-button>
</div>
</md-dialog>
Expand Down

0 comments on commit c106f54

Please sign in to comment.