Skip to content

Commit

Permalink
Support localized punctuation for "Port:" (#4452)
Browse files Browse the repository at this point in the history
* Support localized punctuation for "Port:"

* Code review: adopting "Port: %@"

* updating other locales for "Port" -> "Port: %@"
  • Loading branch information
Coeur committed May 29, 2023
1 parent 8747267 commit 61679e1
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions macosx/InfoPeersViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,7 @@ - (NSString*)tableView:(NSTableView*)tableView
{
portString = NSLocalizedString(@"N/A", "Inspector -> Peers tab -> table row tooltip");
}
[components addObject:[NSString stringWithFormat:@"%@: %@",
NSLocalizedString(@"Port", "Inspector -> Peers tab -> table row tooltip"),
[components addObject:[NSString stringWithFormat:NSLocalizedString(@"Port: %@", "Inspector -> Peers tab -> table row tooltip"),
portString]];

NSInteger const peerFrom = [peer[@"From"] integerValue];
Expand Down
2 changes: 1 addition & 1 deletion macosx/da.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Modparter";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Port";
"Port: %@" = "Port: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Port checksite er nede";
Expand Down
2 changes: 1 addition & 1 deletion macosx/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Teilnehmer";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Port";
"Port: %@" = "Port: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Site zum Überprüfen des Ports ist nicht erreichbar.";
Expand Down
2 changes: 1 addition & 1 deletion macosx/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Peers";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Port";
"Port: %@" = "Port: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Port check site is down";
Expand Down
2 changes: 1 addition & 1 deletion macosx/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Clientes";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Puerto";
"Port: %@" = "Puerto: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Sitio de comprobación de puertos caido";
Expand Down
2 changes: 1 addition & 1 deletion macosx/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Pairs";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Port";
"Port: %@" = "Port : %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Le site de vérification de ports est hors service";
Expand Down
2 changes: 1 addition & 1 deletion macosx/it.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Peer";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Porta";
"Port: %@" = "Porta: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Il sito di test non è disponibile";
Expand Down
2 changes: 1 addition & 1 deletion macosx/nl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Peers";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Poort";
"Port: %@" = "Poort: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Poortcontrolesite onbereikbaar";
Expand Down
2 changes: 1 addition & 1 deletion macosx/pt_PT.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Peers";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Porta";
"Port: %@" = "Porta: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Website de verificação inacessível";
Expand Down
2 changes: 1 addition & 1 deletion macosx/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Пользователи";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Порт";
"Port: %@" = "Порт: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Сайт проверки порта недоступен";
Expand Down
2 changes: 1 addition & 1 deletion macosx/tr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
"Peers" = "Eşler";

/* Inspector -> Peers tab -> table row tooltip */
"Port" = "Kapı";
"Port: %@" = "Kapı: %@";

/* Preferences -> Network -> port status */
"Port check site is down" = "Kapı denetim alanı çalışmıyor";
Expand Down

0 comments on commit 61679e1

Please sign in to comment.