Skip to content

Commit

Permalink
Add missing polish region translations
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingajda committed Apr 1, 2020
1 parent 18d5b6b commit af89616
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
32 changes: 32 additions & 0 deletions Covid-19 Status/pl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,35 @@
"Zambia" = "Zambia";
"Zimbabwe" = "Zimbabwe";
"UAE" = "ZEA";

"Bahamas" = "Bahamy";
"Bosnia and Herzegovina" = "Bośnia i Herzegowina";
"Cabo Verde" = "Wyspy Zielone Przylądka";
"CAR" = "Republika Środkowoafrykańska";
"Caribbean Netherlands" = "Holandia Karaibska";
"DRC" = "Demokratyczna Republika Konga";
"Eswatini" = "Suazi";
"Faeroe Islands" = "Wyspy Owcze";
"Isle of Man" = "Wyspa Man";
"Ivory Coast" = "Wybrzeże Kości Słoniowej";
"Libya" = "Libia";
"Monaco" = "Monako";
"Moldova" = "Mołdawia";
"MS Zaandam" = "Statek MS Zaandam";
"Myanmar" = "Birma";
"North Macedonia" = "Północna Macedonia";
"Palestine" = "Palestyna";
"st barth" = "Saint-Barthélemy";
"St. Vincent Grenadines" = "Saint Vincent i Grenadyny";
"Vatican City" = "Watykan";
"Venezuela" = "Wenezuela";
"Vietnam" = "Wietnam";
"Anguilla" = "Anguilla";
"Botswana" = "Botswana";
"Burundi" = "Burundi";
"Iran" = "Iran";
"Laos" = "Laos";
"Sierra Leone" = "Sierra Leone";
"Syria" = "Syria";
"Tanzania" = "Tanzania";
"Turks and Caicos" = "Turks and Caicos";
8 changes: 5 additions & 3 deletions Covid-19 Status/src/RegionsMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@ class RegionsMenu: NSMenu {
regionItem.target = self
regionItem.representedObject = region
addItem(regionItem)

#if DEBUG
if Locale.current.languageCode != "en" && NSLocalizedString(region, comment: "menu") == region {
print("MISSING TRANS?", regionItem.title)
if Locale.current.languageCode != "en" {
if NSLocalizedString(region, value: "__mising__", comment: "menu") == "__mising__" {
print("MISSING TRANS:", regionItem.title)
}
}
#endif
}
Expand Down

0 comments on commit af89616

Please sign in to comment.