text and German translations for drag-n-drop modifier hints

This commit is contained in:
Ralf Becker 2014-10-24 12:19:16 +00:00
parent 981a0a1eb9
commit 247a8c5e87
3 changed files with 24 additions and 16 deletions

View File

@ -137,8 +137,9 @@ function egwDragActionImplementation()
if('draggable' in document.createElement('span') &&
navigator && navigator.userAgent.indexOf('Chrome') >= 0 && egw.app_name() == 'filemanager') // currently only filemanager supports drag out
{
var key = ["Mac68K","MacPPC","MacIntel"].indexOf(window.navigator.platform) < 0 ? 'Ctrl' : 'Command';
text.text(egw.lang('Hold Alt + Shift key to drag %2 to your computer',key, itemLabel));
var key = ["Mac68K","MacPPC","MacIntel"].indexOf(window.navigator.platform) < 0 ?
egw.lang('Alt') : egw.lang('Command ⌘');
text.text(egw.lang('Hold [%1] and [%2] key to drag %3 to your desktop', key, egw.lang('Shift ⇧'), itemLabel));
}
// Final html DOM return as helper structor
return div;
@ -355,8 +356,9 @@ function egwDragActionImplementation()
if (helperTop >= dTarget.offset().top
&& helperTop <= (dTarget.height() + dTarget.offset().top) + tipTelorance)
{
var key = (["Mac68K","MacPPC","MacIntel"].indexOf(window.navigator.platform) < 0)?"Ctrl": "Command";
egw.message(egw.lang('Hold %1 key to select content.',key),'info');
var key = ["Mac68K","MacPPC","MacIntel"].indexOf(window.navigator.platform) < 0 ?
egw.lang("Ctrl") : egw.lang("Command ⌘");
egw.message(egw.lang('Hold [%1] key to select text eg. to copy it', key), 'info');
}
// Invalid target
return true;

View File

@ -185,6 +185,7 @@ cocos (keeling) islands common de COCOS INSELN
collection empty. common de Collection ist leer
collection listing common de Auflistung der Collection
colombia common de KOLUMBIEN
command ⌘ common de Cmd ⌘
common preferences common de Allgemeine Einstellungen
comoros common de KOMOREN
company common de Unternehmen
@ -373,7 +374,8 @@ height common de Höhe
help common de Hilfe
high common de Hoch
highest common de Höchste
hold %1 to drag %2 to your computer common de %1 Taste halten um %2 auf Ihren Computer zu ziehen
hold [%1] and [%2] key to drag %3 to your desktop common de [%1] und [%2] Tasten halten um %3 auf Ihren Schreibtisch (Desktop) zu ziehen
hold [%1] key to select text eg. to copy it common de [%1] Taste halten um Text zu markieren um ihn z.B. zu kopieren
holy see (vatican city state) common de VATICAN
home common de Home
home email common de private E-Mail
@ -731,6 +733,7 @@ setup common de Setup
setup main menu common de Setup Hauptmenü
seychelles common de SEYCHELLEN
shift common de Shift
shift ⇧ common de Umschalten ⇧
show all common de alle anzeigen
show all categorys common de Alle Kategorien anzeigen
show as topmenu common de Menü oben anzeigen

View File

@ -185,6 +185,7 @@ cocos (keeling) islands common en COCOS (KEELING) ISLANDS
collection empty. common en Collection empty.
collection listing common en Collection listing
colombia common en COLOMBIA
command ⌘ common en Command ⌘
common preferences common en Common preferences
comoros common en COMOROS
company common en Company
@ -373,7 +374,8 @@ height common en Height
help common en Help
high common en High
highest common en Highest
hold %1 to drag %2 to your computer common en Hold %1 to drag %2 to your computer
hold [%1] and [%2] key to drag %3 to your desktop common en Hold [%1] and [%2] key to drag %3 to your desktop
hold [%1] key to select text eg. to copy it common en Hold [%1] key to select text eg. to copy it
holy see (vatican city state) common en HOLY SEE (VATICAN CITY STATE)
home common en Home
home email common en Home email
@ -731,6 +733,7 @@ setup common en Setup
setup main menu common en Setup main menu
seychelles common en SEYCHELLES
shift common en Shift
shift ⇧ common en Shift ⇧
show all common en Show all
show all categorys common en Show all categories
show as topmenu common en Show as top menu