From 72e0e0ad2e61f797b63bd50abc5b94f09762e76f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Em=C3=ADlio=20Jos=C3=A9=20de=20Souza=20Fonseca?= Date: Tue, 22 Mar 2016 15:19:09 -0300 Subject: [PATCH 1/3] Fix Translation string --- UI/WebServerResources/js/Contacts/AddressBooksController.js | 2 +- UI/WebServerResources/js/Scheduler/CalendarsController.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/WebServerResources/js/Contacts/AddressBooksController.js b/UI/WebServerResources/js/Contacts/AddressBooksController.js index b3a9e322f..f748ac380 100644 --- a/UI/WebServerResources/js/Contacts/AddressBooksController.js +++ b/UI/WebServerResources/js/Contacts/AddressBooksController.js @@ -96,7 +96,7 @@ }); } else { - Dialog.confirm(l('Warning'), l('Are you sure you want to delete the addressbook %{0}?', + Dialog.confirm(l('Warning'), l('Are you sure you want to delete the addressbook "%{0}"?', vm.service.selectedFolder.name), { ok: l('Delete') }) .then(function() { diff --git a/UI/WebServerResources/js/Scheduler/CalendarsController.js b/UI/WebServerResources/js/Scheduler/CalendarsController.js index 940dace65..90d19c0fa 100644 --- a/UI/WebServerResources/js/Scheduler/CalendarsController.js +++ b/UI/WebServerResources/js/Scheduler/CalendarsController.js @@ -107,7 +107,7 @@ }); } else { - Dialog.confirm(l('Warning'), l('Are you sure you want to delete the calendar %{0}?', folder.name), + Dialog.confirm(l('Warning'), l('Are you sure you want to delete the calendar "%{0}"?', folder.name), { ok: l('Delete') }) .then(function() { folder.$delete() From d87569be8f8047ea110a15bdfc07d3f329fa8144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Em=C3=ADlio=20Jos=C3=A9=20de=20Souza=20Fonseca?= Date: Tue, 22 Mar 2016 15:55:52 -0300 Subject: [PATCH 2/3] Adding missing localized string --- UI/Contacts/English.lproj/Localizable.strings | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/Contacts/English.lproj/Localizable.strings b/UI/Contacts/English.lproj/Localizable.strings index 16cfaea28..15dca5731 100644 --- a/UI/Contacts/English.lproj/Localizable.strings +++ b/UI/Contacts/English.lproj/Localizable.strings @@ -126,6 +126,8 @@ "Name of the Address Book" = "Name of the Address Book"; "Are you sure you want to delete the selected address book?" = "Are you sure you want to delete the selected address book?"; +"Are you sure you want to delete the addressbook \"%{0}\"?" += "Are you sure you want to delete the addressbook \"%{0}\"?" "You cannot remove nor unsubscribe from a public addressbook." = "You cannot remove nor unsubscribe from a public addressbook."; "You cannot remove nor unsubscribe from your personal addressbook." From 5cbb43871fb216a82ade99acde8fcabd066b5c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Em=C3=ADlio=20Jos=C3=A9=20de=20Souza=20Fonseca?= Date: Tue, 22 Mar 2016 16:10:43 -0300 Subject: [PATCH 3/3] FIX -- Adding missing localized string --- UI/Contacts/English.lproj/Localizable.strings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Contacts/English.lproj/Localizable.strings b/UI/Contacts/English.lproj/Localizable.strings index 15dca5731..4c1ccdf4b 100644 --- a/UI/Contacts/English.lproj/Localizable.strings +++ b/UI/Contacts/English.lproj/Localizable.strings @@ -127,7 +127,7 @@ "Are you sure you want to delete the selected address book?" = "Are you sure you want to delete the selected address book?"; "Are you sure you want to delete the addressbook \"%{0}\"?" -= "Are you sure you want to delete the addressbook \"%{0}\"?" += "Are you sure you want to delete the addressbook \"%{0}\"?"; "You cannot remove nor unsubscribe from a public addressbook." = "You cannot remove nor unsubscribe from a public addressbook."; "You cannot remove nor unsubscribe from your personal addressbook."