Index: trunk/extensions/UsabilityInitiative/SideBySidePreview/SideBySidePreview.i18n.php |
— | — | @@ -13,22 +13,22 @@ |
14 | 14 | */ |
15 | 15 | $messages['en'] = array( |
16 | 16 | 'sidebysidepreview' => 'Side-by-side preview', |
17 | | - 'sidebysidepreview-desc' => 'Allows users to quickly switch between edit and preview mode on the same page', |
18 | | - 'sidebysidepreview-preference' => 'Enable side-by-side preview', |
19 | | - 'sidebysidepreview-tab-edit' => 'Edit', |
20 | | - 'sidebysidepreview-tab-preview' => 'Preview', |
21 | | - 'sidebysidepreview-loading' => 'Loading...', |
| 17 | + 'wikieditor-preview-desc' => 'Allows users to quickly switch between edit and preview mode on the same page', |
| 18 | + 'wikieditor-preview-preference' => 'Enable side-by-side preview', |
| 19 | + 'wikieditor-preview-tab-edit' => 'Edit', |
| 20 | + 'wikieditor-preview-tab-preview' => 'Preview', |
| 21 | + 'wikieditor-preview-loading' => 'Loading...', |
22 | 22 | ); |
23 | 23 | |
24 | 24 | /** Message documentation (Message documentation) |
25 | 25 | * @author Roan Kattouw |
26 | 26 | */ |
27 | 27 | $messages['qqq'] = array( |
28 | | - 'sidebysidepreview-desc' => '{{desc}}', |
29 | | - 'sidebysidepreview-preference' => "Option in [[Special:Preferences]], tab ''{{int:prefs-editing}}''", |
30 | | - 'sidebysidepreview-tab-edit' => 'Caption of the tab containing the edit box', |
31 | | - 'sidebysidepreview-tab-preview' => 'Caption of the tab containing the preview', |
32 | | - 'sidebysidepreview-loading' => 'Alt text for spinner displayed while preview is being loaded', |
| 28 | + 'wikieditor-preview-desc' => '{{desc}}', |
| 29 | + 'wikieditor-preview-preference' => "Option in [[Special:Preferences]], tab ''{{int:prefs-editing}}''", |
| 30 | + 'wikieditor-preview-tab-edit' => 'Caption of the tab containing the edit box', |
| 31 | + 'wikieditor-preview-tab-preview' => 'Caption of the tab containing the preview', |
| 32 | + 'wikieditor-preview-loading' => 'Alt text for spinner displayed while preview is being loaded', |
33 | 33 | ); |
34 | 34 | |
35 | 35 | /** Lower Sorbian (Dolnoserbski) |
— | — | @@ -36,11 +36,11 @@ |
37 | 37 | */ |
38 | 38 | $messages['dsb'] = array( |
39 | 39 | 'sidebysidepreview' => 'Pśeglěd bok pó boku', |
40 | | - 'sidebysidepreview-desc' => 'Wužywarjam zmóžniś, malsnje mjazy modusoma "wobźěłaś" a "pśeglěd" na samskem boku pśešaltowaś', |
41 | | - 'sidebysidepreview-preference' => 'Pśeglěd bok pó boku zmóžniś', |
42 | | - 'sidebysidepreview-tab-edit' => 'Wobźěłaś', |
43 | | - 'sidebysidepreview-tab-preview' => 'Pśeglěd', |
44 | | - 'sidebysidepreview-loading' => 'Zacytujo se...', |
| 40 | + 'wikieditor-preview-desc' => 'Wužywarjam zmóžniś, malsnje mjazy modusoma "wobźěłaś" a "pśeglěd" na samskem boku pśešaltowaś', |
| 41 | + 'wikieditor-preview-preference' => 'Pśeglěd bok pó boku zmóžniś', |
| 42 | + 'wikieditor-preview-tab-edit' => 'Wobźěłaś', |
| 43 | + 'wikieditor-preview-tab-preview' => 'Pśeglěd', |
| 44 | + 'wikieditor-preview-loading' => 'Zacytujo se...', |
45 | 45 | ); |
46 | 46 | |
47 | 47 | /** Esperanto (Esperanto) |
— | — | @@ -48,21 +48,21 @@ |
49 | 49 | */ |
50 | 50 | $messages['eo'] = array( |
51 | 51 | 'sidebysidepreview' => 'Kolumneca antaŭvido', |
52 | | - 'sidebysidepreview-desc' => 'Permesas al uzantoj rapide ŝanĝi inter redakta kaj antaŭvida modusoj en la sama paĝo', |
53 | | - 'sidebysidepreview-preference' => 'Ŝalti kolumnecan antaŭvidon', |
54 | | - 'sidebysidepreview-tab-edit' => 'Redakta', |
55 | | - 'sidebysidepreview-tab-preview' => 'Antaŭvida', |
56 | | - 'sidebysidepreview-loading' => 'Ŝarĝante', |
| 52 | + 'wikieditor-preview-desc' => 'Permesas al uzantoj rapide ŝanĝi inter redakta kaj antaŭvida modusoj en la sama paĝo', |
| 53 | + 'wikieditor-preview-preference' => 'Ŝalti kolumnecan antaŭvidon', |
| 54 | + 'wikieditor-preview-tab-edit' => 'Redakta', |
| 55 | + 'wikieditor-preview-tab-preview' => 'Antaŭvida', |
| 56 | + 'wikieditor-preview-loading' => 'Ŝarĝante', |
57 | 57 | ); |
58 | 58 | |
59 | 59 | /** Galician (Galego) |
60 | 60 | * @author Toliño |
61 | 61 | */ |
62 | 62 | $messages['gl'] = array( |
63 | | - 'sidebysidepreview-desc' => 'Permite aos usuarios cambiar rapidamente entre os modos de edición e vista previa na mesma páxina', |
64 | | - 'sidebysidepreview-tab-edit' => 'Editar', |
65 | | - 'sidebysidepreview-tab-preview' => 'Vista previa', |
66 | | - 'sidebysidepreview-loading' => 'Cargando...', |
| 63 | + 'wikieditor-preview-desc' => 'Permite aos usuarios cambiar rapidamente entre os modos de edición e vista previa na mesma páxina', |
| 64 | + 'wikieditor-preview-tab-edit' => 'Editar', |
| 65 | + 'wikieditor-preview-tab-preview' => 'Vista previa', |
| 66 | + 'wikieditor-preview-loading' => 'Cargando...', |
67 | 67 | ); |
68 | 68 | |
69 | 69 | /** Swiss German (Alemannisch) |
— | — | @@ -70,11 +70,11 @@ |
71 | 71 | */ |
72 | 72 | $messages['gsw'] = array( |
73 | 73 | 'sidebysidepreview' => 'Gegeiniberstelligs-Vorschau', |
74 | | - 'sidebysidepreview-desc' => 'Benutzer erlaube, ass si schnäll zwisch em Bearbeitgsfänschter un dr Vorschau chenne hii un här gumpe', |
75 | | - 'sidebysidepreview-preference' => 'Gegeiniberstelligs-Vorschau meglig mache', |
76 | | - 'sidebysidepreview-tab-edit' => 'Bearbeite', |
77 | | - 'sidebysidepreview-tab-preview' => 'Vorschau', |
78 | | - 'sidebysidepreview-loading' => 'Am Lade ...', |
| 74 | + 'wikieditor-preview-desc' => 'Benutzer erlaube, ass si schnäll zwisch em Bearbeitgsfänschter un dr Vorschau chenne hii un här gumpe', |
| 75 | + 'wikieditor-preview-preference' => 'Gegeiniberstelligs-Vorschau meglig mache', |
| 76 | + 'wikieditor-preview-tab-edit' => 'Bearbeite', |
| 77 | + 'wikieditor-preview-tab-preview' => 'Vorschau', |
| 78 | + 'wikieditor-preview-loading' => 'Am Lade ...', |
79 | 79 | ); |
80 | 80 | |
81 | 81 | /** Upper Sorbian (Hornjoserbsce) |
— | — | @@ -82,21 +82,21 @@ |
83 | 83 | */ |
84 | 84 | $messages['hsb'] = array( |
85 | 85 | 'sidebysidepreview' => 'Přehlad bok po boku', |
86 | | - 'sidebysidepreview-desc' => 'Wužiwarjam zmóžnić, spěšnje mjez modusomaj "wobdźěłać" a "přehlad" na samsnej stronje přepinać', |
87 | | - 'sidebysidepreview-preference' => 'Přehlad bok po boku zmóžnić', |
88 | | - 'sidebysidepreview-tab-edit' => 'Wobdźěłać', |
89 | | - 'sidebysidepreview-tab-preview' => 'Přehlad', |
90 | | - 'sidebysidepreview-loading' => 'Začituje so...', |
| 86 | + 'wikieditor-preview-desc' => 'Wužiwarjam zmóžnić, spěšnje mjez modusomaj "wobdźěłać" a "přehlad" na samsnej stronje přepinać', |
| 87 | + 'wikieditor-preview-preference' => 'Přehlad bok po boku zmóžnić', |
| 88 | + 'wikieditor-preview-tab-edit' => 'Wobdźěłać', |
| 89 | + 'wikieditor-preview-tab-preview' => 'Přehlad', |
| 90 | + 'wikieditor-preview-loading' => 'Začituje so...', |
91 | 91 | ); |
92 | 92 | |
93 | 93 | /** Hungarian (Magyar) |
94 | 94 | * @author Dani |
95 | 95 | */ |
96 | 96 | $messages['hu'] = array( |
97 | | - 'sidebysidepreview-desc' => 'Lehetővé teszi a felhasználók számára, hogy gyorsan váltsanak a szerkesztő- és az előnézet mód között, ugyanazon a lapon.', |
98 | | - 'sidebysidepreview-tab-edit' => 'Szerkesztés', |
99 | | - 'sidebysidepreview-tab-preview' => 'Előnézet', |
100 | | - 'sidebysidepreview-loading' => 'Betöltés…', |
| 97 | + 'wikieditor-preview-desc' => 'Lehetővé teszi a felhasználók számára, hogy gyorsan váltsanak a szerkesztő- és az előnézet mód között, ugyanazon a lapon.', |
| 98 | + 'wikieditor-preview-tab-edit' => 'Szerkesztés', |
| 99 | + 'wikieditor-preview-tab-preview' => 'Előnézet', |
| 100 | + 'wikieditor-preview-loading' => 'Betöltés…', |
101 | 101 | ); |
102 | 102 | |
103 | 103 | /** Indonesian (Bahasa Indonesia) |
— | — | @@ -104,11 +104,11 @@ |
105 | 105 | */ |
106 | 106 | $messages['id'] = array( |
107 | 107 | 'sidebysidepreview' => 'Pratayang bersisian', |
108 | | - 'sidebysidepreview-desc' => 'Memungkinkan pengguna untuk dengan cepat beralih antara modus penyuntingan dan pratayang di halaman yang sama', |
109 | | - 'sidebysidepreview-preference' => 'Aktifkan pratayang bersisian', |
110 | | - 'sidebysidepreview-tab-edit' => 'Sunting', |
111 | | - 'sidebysidepreview-tab-preview' => 'Pratayang', |
112 | | - 'sidebysidepreview-loading' => 'Memuat...', |
| 108 | + 'wikieditor-preview-desc' => 'Memungkinkan pengguna untuk dengan cepat beralih antara modus penyuntingan dan pratayang di halaman yang sama', |
| 109 | + 'wikieditor-preview-preference' => 'Aktifkan pratayang bersisian', |
| 110 | + 'wikieditor-preview-tab-edit' => 'Sunting', |
| 111 | + 'wikieditor-preview-tab-preview' => 'Pratayang', |
| 112 | + 'wikieditor-preview-loading' => 'Memuat...', |
113 | 113 | ); |
114 | 114 | |
115 | 115 | /** Malayalam (മലയാളം) |
— | — | @@ -116,20 +116,20 @@ |
117 | 117 | */ |
118 | 118 | $messages['ml'] = array( |
119 | 119 | 'sidebysidepreview' => 'പ്രിവ്യൂ അരികിൽ', |
120 | | - 'sidebysidepreview-desc' => 'തിരുത്തലും പ്രിവ്യൂവും ഒരേ താളിൽ തന്നെ അതിവേഗം മാറിക്കാണുവാൻ ഉപയോക്താക്കളെ അനുവദിക്കുന്നു', |
121 | | - 'sidebysidepreview-preference' => 'അരികിലായുള്ള പ്രിവ്യൂ സജ്ജമാക്കുക', |
122 | | - 'sidebysidepreview-tab-edit' => 'തിരുത്തുക', |
123 | | - 'sidebysidepreview-tab-preview' => 'പ്രിവ്യൂ', |
124 | | - 'sidebysidepreview-loading' => 'ശേഖരിക്കുന്നു...', |
| 120 | + 'wikieditor-preview-desc' => 'തിരുത്തലും പ്രിവ്യൂവും ഒരേ താളിൽ തന്നെ അതിവേഗം മാറിക്കാണുവാൻ ഉപയോക്താക്കളെ അനുവദിക്കുന്നു', |
| 121 | + 'wikieditor-preview-preference' => 'അരികിലായുള്ള പ്രിവ്യൂ സജ്ജമാക്കുക', |
| 122 | + 'wikieditor-preview-tab-edit' => 'തിരുത്തുക', |
| 123 | + 'wikieditor-preview-tab-preview' => 'പ്രിവ്യൂ', |
| 124 | + 'wikieditor-preview-loading' => 'ശേഖരിക്കുന്നു...', |
125 | 125 | ); |
126 | 126 | |
127 | 127 | /** Ukrainian (Українська) |
128 | 128 | * @author Prima klasy4na |
129 | 129 | */ |
130 | 130 | $messages['uk'] = array( |
131 | | - 'sidebysidepreview-desc' => 'Дозволяє користувачу швидко перемикатися між режимами редагування та перегляду на одній сторінці', |
132 | | - 'sidebysidepreview-tab-edit' => 'Редагувати', |
133 | | - 'sidebysidepreview-tab-preview' => 'Попередній перегляд', |
134 | | - 'sidebysidepreview-loading' => 'Завантаження...', |
| 131 | + 'wikieditor-preview-desc' => 'Дозволяє користувачу швидко перемикатися між режимами редагування та перегляду на одній сторінці', |
| 132 | + 'wikieditor-preview-tab-edit' => 'Редагувати', |
| 133 | + 'wikieditor-preview-tab-preview' => 'Попередній перегляд', |
| 134 | + 'wikieditor-preview-loading' => 'Завантаження...', |
135 | 135 | ); |
136 | 136 | |
Index: trunk/extensions/UsabilityInitiative/SideBySidePreview/SideBySidePreview.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | 'author' => 'Roan Kattouw', |
40 | 40 | 'version' => '0.1.1', |
41 | 41 | 'url' => 'http://www.mediawiki.org/wiki/Extension:UsabilityInitiative', |
42 | | - 'descriptionmsg' => 'sidebysidepreview-desc', |
| 42 | + 'descriptionmsg' => 'wikieditor-preview-desc', |
43 | 43 | ); |
44 | 44 | |
45 | 45 | // Includes parent extension |
Index: trunk/extensions/UsabilityInitiative/SideBySidePreview/SideBySidePreview.hooks.php |
— | — | @@ -27,9 +27,9 @@ |
28 | 28 | // Internationalization |
29 | 29 | wfLoadExtensionMessages( 'SideBySidePreview' ); |
30 | 30 | UsabilityInitiativeHooks::addMessages( array( |
31 | | - 'sidebysidepreview-tab-edit', |
32 | | - 'sidebysidepreview-tab-preview', |
33 | | - 'sidebysidepreview-loading', |
| 31 | + 'wikieditor-preview-tab-edit', |
| 32 | + 'wikieditor-preview-tab-preview', |
| 33 | + 'wikieditor-preview-loading', |
34 | 34 | ) ); |
35 | 35 | } |
36 | 36 | return true; |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | $defaultPreferences['sidebysidepreview'] = |
50 | 50 | array( |
51 | 51 | 'type' => 'toggle', |
52 | | - 'label-message' => 'sidebysidepreview-preference', |
| 52 | + 'label-message' => 'wikieditor-preview-preference', |
53 | 53 | 'section' => 'editing/experimental', |
54 | 54 | ); |
55 | 55 | } |
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.preview.js |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | var tabList = context.$ui.children(); |
34 | 34 | var editTab = tabList.children(); |
35 | 35 | |
36 | | - var loadingMsg = gM( 'sidebysidepreview-loading' ); |
| 36 | + var loadingMsg = gM( 'wikieditor-preview-loading' ); |
37 | 37 | var previewTab = $j( '<div />' ) |
38 | 38 | .addClass( 'wikiEditor-tab-preview' ) |
39 | 39 | .attr( 'id', 'wikiEditor-' + context.instance + '-tab-preview' ) |
— | — | @@ -55,13 +55,13 @@ |
56 | 56 | .append( $j( '<li />' ) |
57 | 57 | .append( $j( '<a />' ) |
58 | 58 | .attr( 'href', '#wikiEditor-' + context.instance + '-tab-edit' ) |
59 | | - .text( gM( 'sidebysidepreview-tab-edit' ) ) |
| 59 | + .text( gM( 'wikieditor-preview-tab-edit' ) ) |
60 | 60 | ) |
61 | 61 | ) |
62 | 62 | .append( $j( '<li />' ) |
63 | 63 | .append( $j( '<a />' ) |
64 | 64 | .attr( 'href', '#wikiEditor-' + context.instance + '-tab-preview' ) |
65 | | - .text( gM( 'sidebysidepreview-tab-preview' ) ) |
| 65 | + .text( gM( 'wikieditor-preview-tab-preview' ) ) |
66 | 66 | ) |
67 | 67 | ) |
68 | 68 | ) |