Commit 5c9cc29b authored by zorn's avatar zorn

Changed confirm delete provider text

parent dfda1fc8
......@@ -40,10 +40,11 @@ jQuery(function ($) {
function createDelegate(providerType){
$('#'+providerType+'_providers').delegate('.'+providerType+'-remove', 'click', function () {
var $provider = $(this).parents('.provider-settings');
var providerTitle = $provider.find('[name$="[title]"]').val();
var needConfirm = $provider.find('input').filter(function () {return this.value}).length > 0;
if (needConfirm) {
OCdialogs.confirm(
t(appName, 'Do you realy want to remove this {providerType} provider ?', {'providerType': providerType}),
t(appName, 'Do you realy want to remove {providerTitle} provider ?', {'providerTitle': providerTitle}),
t(appName, 'Confirm remove'),
function (confirmed) {
if (!confirmed) {
......
......@@ -2,7 +2,7 @@ OC.L10N.register(
"sociallogin",
{
"Settings for social login successfully saved": "Die Einstellungen für Social Login wurden erfolgreich gespeichert",
"Do you realy want to remove this {providerType} provider ?": "Möchten Sie den Provider {providerType} wirklich entfernen?",
"Do you realy want to remove {providerTitle} provider ?": "Möchten Sie den Provider {providerTitle} wirklich entfernen?",
"Some error occurred while saving settings": "Es trat ein Fehler beim Speichern der Einstellungen auf",
"Confirm remove": "Entfernen bestätigen"
},
......
......@@ -2,7 +2,7 @@ OC.L10N.register(
"sociallogin",
{
"Settings for social login successfully saved": "Paramètres sauvegardés avec succès",
"Do you realy want to remove this {providerType} provider ?": "Voulez-vous vraiment supprimer ce fournisseur {providerType} ?",
"Do you realy want to remove {providerTitle} provider ?": "Voulez-vous vraiment supprimer fournisseur {providerTitle} ?",
"Some error occurred while saving settings": "Erreur lors de la sauvegarde des paramètres",
"Confirm remove": "Confirmer la suppression"
},
......
......@@ -2,7 +2,7 @@ OC.L10N.register(
"sociallogin",
{
"Settings for social login successfully saved": "Настройки social login успешно сохранены",
"Do you realy want to remove this {providerType} provider ?": "Вы действительно хотите удалить этого {providerType} провайдера ?",
"Do you realy want to remove {providerTitle} provider ?": "Вы действительно хотите удалить поставщика {providerTitle} ?",
"Some error occurred while saving settings": "Во время сохранения настроек произошла ошибка",
"Confirm remove": "Подтверждение удаления"
},
......
......@@ -2,7 +2,7 @@ OC.L10N.register(
"sociallogin",
{
"Settings for social login successfully saved": "儲存成功",
"Do you realy want to remove this {providerType} provider ?": "你真的想刪除這個{providerType}項目嗎?",
"Do you realy want to remove {providerTitle} provider ?": "你真的想刪除這個{providerTitle}項目嗎?",
"Some error occurred while saving settings": "儲存設定時發生了錯誤",
"Confirm remove": "確定刪除"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment