מדיה ויקי:Gadget-quickLinker.js: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מ התאמה |
||
| שורה 13: | שורה 13: | ||
case 'he': | case 'he': | ||
mw.messages.set({ | mw.messages.set({ | ||
'qlinker- | 'qlinker-edit' : 'עריכה מהירה', | ||
'qlinker-cancel' : 'ביטול', | |||
'linkify-summary': 'הוספת קישור ל[[$1]]', | 'linkify-summary': 'הוספת קישור ל[[$1]]', | ||
'qlinker-save-success': 'שמירת $1 בוצעה בהצלחה!', | 'qlinker-save-success': 'שמירת $1 בוצעה בהצלחה!', | ||
| שורה 25: | שורה 26: | ||
default: | default: | ||
mw.messages.set({ | mw.messages.set({ | ||
'qlinker- | 'qlinker-edit' : 'Quick edit', | ||
'qlinker-cancel' : 'Cancel', | |||
'linkify-summary': 'Adding link to [[$1]]', | 'linkify-summary': 'Adding link to [[$1]]', | ||
'qlinker-save-success': '$1 has been saved successfully!', | 'qlinker-save-success': '$1 has been saved successfully!', | ||
| שורה 52: | שורה 54: | ||
QuickEditorDialog.static.name = 'QuickEditorDialog'; | QuickEditorDialog.static.name = 'QuickEditorDialog'; | ||
// Specify a title statically (or, alternatively, with data passed to the opening() method). | // Specify a title statically (or, alternatively, with data passed to the opening() method). | ||
QuickEditorDialog.static.title = mw.msg('qlinker- | QuickEditorDialog.static.title = mw.msg('qlinker-edit'); | ||
QuickEditorDialog.static.actions = [ | QuickEditorDialog.static.actions = [ | ||
{ action: 'saveContinue', label: mw.msg('qlinker-save-continue'), flags: [ 'other', 'constructive' ] }, | { action: 'saveContinue', label: mw.msg('qlinker-save-continue'), flags: [ 'other', 'constructive' ] }, | ||
{ action: 'skipOne', label: mw.msg('qlinker-skip'), flags: [ 'other', 'progressive' ] }, | { action: 'skipOne', label: mw.msg('qlinker-skip'), flags: [ 'other', 'progressive' ] }, | ||
{ label: ' | { label: mw.msg('qlinker-cancel'), flags: 'safe' } | ||
]; | ]; | ||