Add confirmation before language remove

This commit is contained in:
Paweł Klockiewicz
2018-05-27 19:06:29 +02:00
parent 1b249b428e
commit 0f95116325
10 changed files with 10 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ lang_upload = "Choose ZIP file containing language pack."
lang_list = "Languages list"
lang_delete_success = "The selected language has been successfully removed from the server."
lang_delete_failure = "The selected language could not be deleted. Check if it is used as the default by the website."
lang_delete_confirm = "Are you sure you want to delete the selected language from the server?"
lang_activate_success = "The new language has been successfully activated."
lang_activate_failure = "The new language could not be activated. Check the access rights to the language directory."
lang_deactivate_success = "The selected language has been deactivated successfully."

View File

@@ -59,6 +59,7 @@ lang_upload = "Elija el fichero ZIP conteniendo el paquete del idiom
lang_list = "Languages list"
lang_delete_success = "The selected language has been successfully removed from the server."
lang_delete_failure = "The selected language could not be deleted. Check if it is used as the default by the website."
lang_delete_confirm = "Are you sure you want to delete the selected language from the server?"
lang_activate_success = "The new language has been successfully activated."
lang_activate_failure = "The new language could not be activated. Check the access rights to the language directory."
lang_deactivate_success = "The selected language has been deactivated successfully."

View File

@@ -59,6 +59,7 @@ lang_upload = "Choisissez un fichier ZIP qui contient une langue."
lang_list = "Languages list"
lang_delete_success = "The selected language has been successfully removed from the server."
lang_delete_failure = "The selected language could not be deleted. Check if it is used as the default by the website."
lang_delete_confirm = "Are you sure you want to delete the selected language from the server?"
lang_activate_success = "The new language has been successfully activated."
lang_activate_failure = "The new language could not be activated. Check the access rights to the language directory."
lang_deactivate_success = "The selected language has been deactivated successfully."

View File

@@ -52,6 +52,7 @@ lang_upload = "Selezionare il file ZIP che contiene i pacchetti dell
lang_list = "Languages list"
lang_delete_success = "The selected language has been successfully removed from the server."
lang_delete_failure = "The selected language could not be deleted. Check if it is used as the default by the website."
lang_delete_confirm = "Are you sure you want to delete the selected language from the server?"
lang_activate_success = "The new language has been successfully activated."
lang_activate_failure = "The new language could not be activated. Check the access rights to the language directory."
lang_deactivate_success = "The selected language has been deactivated successfully."

View File

@@ -59,6 +59,7 @@ lang_upload = "Kies ZIP-bestand met taalpakket."
lang_list = "Languages list"
lang_delete_success = "The selected language has been successfully removed from the server."
lang_delete_failure = "The selected language could not be deleted. Check if it is used as the default by the website."
lang_delete_confirm = "Are you sure you want to delete the selected language from the server?"
lang_activate_success = "The new language has been successfully activated."
lang_activate_failure = "The new language could not be activated. Check the access rights to the language directory."
lang_deactivate_success = "The selected language has been deactivated successfully."

View File

@@ -59,6 +59,7 @@ lang_upload = "Wybierz z dysku plik ZIP zawierający pliki językowe
lang_list = "Lista języków"
lang_delete_success = "Pomyślnie usunięto wybrany język z serwera."
lang_delete_failure = "Nie udało się usunąć wybranego języka. Sprawdź czy jest używany jako domyślny przez stronę."
lang_delete_confirm = "Czy na pewno chcesz usunąć wybrany język z serwera?"
lang_activate_success = "Pomyślnie aktywowano nowy język."
lang_activate_failure = "Nie udało się aktywować nowego języka. Sprawdź prawa dostępu do katalogu językowego."
lang_deactivate_success = "Pomyślnie dezaktywowano wybrany język."

View File

@@ -60,6 +60,7 @@ lang_upload = "Выберите ZIP файл содержащий я
lang_list = "Languages list"
lang_delete_success = "The selected language has been successfully removed from the server."
lang_delete_failure = "The selected language could not be deleted. Check if it is used as the default by the website."
lang_delete_confirm = "Are you sure you want to delete the selected language from the server?"
lang_activate_success = "The new language has been successfully activated."
lang_activate_failure = "The new language could not be activated. Check the access rights to the language directory."
lang_deactivate_success = "The selected language has been deactivated successfully."

View File

@@ -59,6 +59,7 @@ lang_upload = "Välj ZIP-fil som innehåller språkpaket."
lang_list = "Languages list"
lang_delete_success = "The selected language has been successfully removed from the server."
lang_delete_failure = "The selected language could not be deleted. Check if it is used as the default by the website."
lang_delete_confirm = "Are you sure you want to delete the selected language from the server?"
lang_activate_success = "The new language has been successfully activated."
lang_activate_failure = "The new language could not be activated. Check the access rights to the language directory."
lang_deactivate_success = "The selected language has been deactivated successfully."

View File

@@ -52,6 +52,7 @@ lang_upload = "Dil verisini içeren ZIP dosyasını seçin."
lang_list = "Languages list"
lang_delete_success = "The selected language has been successfully removed from the server."
lang_delete_failure = "The selected language could not be deleted. Check if it is used as the default by the website."
lang_delete_confirm = "Are you sure you want to delete the selected language from the server?"
lang_activate_success = "The new language has been successfully activated."
lang_activate_failure = "The new language could not be activated. Check the access rights to the language directory."
lang_deactivate_success = "The selected language has been deactivated successfully."

View File

@@ -96,7 +96,7 @@
<tr>
<td>{$value.name}</td>
<td class="text-right">
<a href="{?= url([ADMIN, 'settings', 'deleteLanguage', $value.name]) ?}" class="btn btn-danger btn-xs {if: $value.attr || $value.active}disabled{/if}" data-toggle="tooltip" data-placement="top" title="{$lang.general.delete}">
<a href="{?= url([ADMIN, 'settings', 'deleteLanguage', $value.name]) ?}" class="btn btn-danger btn-xs {if: $value.attr || $value.active}disabled{/if}" data-confirm="{$lang.settings.lang_delete_confirm}" data-toggle="tooltip" data-placement="top" title="{$lang.general.delete}">
<i class="fa fa-trash"></i>
</a>
{if: $value.active}