Skip to content

Commit

Permalink
Edit macOS auto-upate notification message (#61)
Browse files Browse the repository at this point in the history
* IB-6776 Fix spelling errors

Signed-off-by: Jelena Sanko <[email protected]>

* IB-6776 Edit macOS auto-upate notification message

Signed-off-by: Jelena Sanko <[email protected]>

* IB-6776 Add newline at end of file

Signed-off-by: Jelena Sanko <[email protected]>

* IB-6776 Format code

Signed-off-by: Jelena Sanko <[email protected]>

* Use OpenSSL from vcpkg (#60)

IB-6925

Signed-off-by: Raul Metsma <[email protected]>

* Fix spelling errors in Russian language

Signed-off-by: Jelena Sanko <[email protected]>

* Update translation in Russian language

Signed-off-by: Jelena Sanko <[email protected]>

Co-authored-by: Raul Metsma <[email protected]>
  • Loading branch information
jsanko and metsma authored Apr 26, 2021
1 parent e0f348f commit a4f3e9f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions idupdater_ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<name>idupdater</name>
<message>
<source>Failed: </source>
<translation>Неудалось:</translation>
<translation>Не удалось:</translation>
</message>
<message>
<source>Check completed</source>
Expand Down Expand Up @@ -95,7 +95,7 @@
<name>idupdaterui</name>
<message>
<source>ID-updater</source>
<translation>Проверка обновлений програмного обеспечения ID-карты</translation>
<translation>Проверка обновлений программного обеспечения ID-карты</translation>
</message>
<message>
<source>Ready</source>
Expand Down
2 changes: 2 additions & 0 deletions prefPane/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,5 @@
/* No comment provided by engineer. */
"Update message" = "Update message";

/* No comment provided by engineer. */
"ID-software" = "ID-software";
2 changes: 2 additions & 0 deletions prefPane/et.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,5 @@
/* No comment provided by engineer. */
"Update message" = "Update message";

/* No comment provided by engineer. */
"ID-software" = "ID-tarkvara";
3 changes: 2 additions & 1 deletion prefPane/id-updater.m
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ - (void)updateAvailable:(NSString *)_available filename:(NSString *)_filename {
if (center) {
NSUserNotification *notification = [NSUserNotification new];
notification.title = NSLocalizedString(@"Update available", nil);
notification.subtitle = _available;
notification.subtitle = [NSString stringWithFormat: @"%@ %@",
NSLocalizedString(@"ID-software", nil), _available];
notification.informativeText = NSLocalizedString(@"https://www.id.ee/en/article/id-software-versions-info-release-notes/", nil);
notification.soundName = NSUserNotificationDefaultSoundName;
center.delegate = self;
Expand Down
2 changes: 1 addition & 1 deletion prefPane/ru.lproj/ID_updater.strings
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"dPb-83-7q8.title" = "Проверить на обновления";

/* Class = "NSTabViewItem"; label = "Version info"; ObjectID = "hng-hr-Q6P"; */
"hng-hr-Q6P.label" = "Версия информация";
"hng-hr-Q6P.label" = "Информация о версии";

/* Class = "NSMenuItem"; title = "Once a week"; ObjectID = "wj9-Or-Pru"; */
"wj9-Or-Pru.title" = "Раз в неделю";
10 changes: 6 additions & 4 deletions prefPane/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/* Class = "NSWindow"; title = "ID-updater"; ObjectID = "12"; */
"ID-updater" = "Проверка обновлений програмного обеспечения ID-карты";
"ID-updater" = "Проверка обновлений программного обеспечения ID-карты";

/* Class = "NSMenuItem"; title = "Remove"; ObjectID = "3bN-hp-rYM"; */
"Remove" = "Удалить";
Expand Down Expand Up @@ -39,7 +39,7 @@
"Update check interval" = "Проверить на обновления";

/* Class = "NSTabViewItem"; label = "Version info"; ObjectID = "hng-hr-Q6P"; */
"Version info" = "Версия информация";
"Version info" = "Информация о версии";

/* Class = "NSMenuItem"; title = "Once a week"; ObjectID = "wj9-Or-Pru"; */
"Once a week" = "Раз в неделю";
Expand Down Expand Up @@ -99,8 +99,10 @@
"Tokend" = "Tokend";

/* No comment provided by engineer. */
"Update available" = "Update available";
"Update available" = "Обновление доступно";

/* No comment provided by engineer. */
"Update message" = "Update message";
"Update message" = "Сообщение об обновлении";

/* No comment provided by engineer. */
"ID-software" = "программное обеспечение ID-карты";

0 comments on commit a4f3e9f

Please sign in to comment.