From b2fae8a8b783b72717606f5476487c320e24b636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Mon, 7 Apr 2014 11:46:47 +0200 Subject: [PATCH] Fix copy conflict dialog translation backport of fileexist template translations with minor fixes --- apps/files/templates/fileexists.html | 4 ++-- core/js/oc-dialogs.js | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/files/templates/fileexists.html b/apps/files/templates/fileexists.html index 662177ac7e..79beccef3e 100644 --- a/apps/files/templates/fileexists.html +++ b/apps/files/templates/fileexists.html @@ -3,8 +3,8 @@ {what}

- - + +
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index f4e3ec0144..5469b80ef3 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -358,14 +358,17 @@ var OCdialogs = { //create dialog this._fileexistsshown = true; $.when(this._getFileExistsTemplate()).then(function($tmpl) { - var title = t('files','One file conflict'); + var title = t('core','One file conflict'); var $dlg = $tmpl.octemplate({ dialog_name: dialog_name, title: title, type: 'fileexists', - why: t('files','Which files do you want to keep?'), - what: t('files','If you select both versions, the copied file will have a number added to its name.') + allnewfiles: t('core','New Files'), + allexistingfiles: t('core','Already existing files'), + + why: t('core','Which files do you want to keep?'), + what: t('core','If you select both versions, the copied file will have a number added to its name.') }); $('body').append($dlg);