Index: branches/wmf/1.18wmf1/extensions/WebFonts/WebFonts.hooks.php |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | |
43 | 43 | return true; |
44 | 44 | } |
45 | | - |
| 45 | + |
46 | 46 | /** |
47 | 47 | * Hook: ResourceLoaderGetConfigVars |
48 | 48 | */ |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | $vars['wgWebFontsHelpPage'] = wfMsgForContent( 'webfonts-help-page' ); |
51 | 51 | return true; |
52 | 52 | } |
53 | | - |
| 53 | + |
54 | 54 | /** |
55 | 55 | * UserGetDefaultOptions hook handler. |
56 | 56 | * @param $defaultOptions array |
Index: branches/wmf/1.18wmf1/extensions/WebFonts/WebFonts.alias.php |
— | — | @@ -0,0 +1,20 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for special pages of WebFonts extension. |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
| 8 | + */ |
| 9 | + |
| 10 | +$specialPageAliases = array(); |
| 11 | + |
| 12 | +/** English (English) */ |
| 13 | +$specialPageAliases['en'] = array( |
| 14 | + 'WebFonts' => array( 'WebFonts' ), |
| 15 | +); |
| 16 | + |
| 17 | +/** Malayalam (മലയാളം) */ |
| 18 | +$specialPageAliases['ml'] = array( |
| 19 | + 'WebFonts' => array( 'വെബ്ഫോണ്ട്സ്' ), |
| 20 | +); |
| 21 | + |
Property changes on: branches/wmf/1.18wmf1/extensions/WebFonts/WebFonts.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 22 | + native |
Added: svn:keywords |
2 | 23 | + Id |
Index: branches/wmf/1.18wmf1/extensions/WebFonts/resources/ext.webfonts.js |
— | — | @@ -139,7 +139,7 @@ |
140 | 140 | styleString += fontFormats.join() + ";\n"; |
141 | 141 | styleString += "\tfont-weight: normal;}"; |
142 | 142 | |
143 | | - // inject the css to the head of the page. |
| 143 | + // inject the css to the head of the page. |
144 | 144 | mw.util.addCSS( styleString ); |
145 | 145 | }, |
146 | 146 | |
— | — | @@ -179,7 +179,8 @@ |
180 | 180 | |
181 | 181 | var fonts = [], |
182 | 182 | languages = mw.webfonts.config.languages, |
183 | | - requested = [mw.config.get( 'wgUserVariant' ), mw.config.get( 'wgContentLanguage' ), mw.config.get( 'wgUserLanguage' )], |
| 183 | + requested = [mw.config.get( 'wgUserVariant' ), mw.config.get( 'wgContentLanguage' ), |
| 184 | + mw.config.get( 'wgUserLanguage' ), mw.config.get( 'wgPageContentLanguage' )], |
184 | 185 | i, j; |
185 | 186 | |
186 | 187 | for ( i = 0; i < requested.length; i++ ) { |
— | — | @@ -229,7 +230,8 @@ |
230 | 231 | */ |
231 | 232 | loadFontsForLangAttr: function() { |
232 | 233 | var languages = mw.webfonts.config.languages; |
233 | | - var requested = [mw.config.get( 'wgUserVariant' ), mw.config.get( 'wgContentLanguage' ), mw.config.get( 'wgUserLanguage' )]; |
| 234 | + var requested = [mw.config.get( 'wgUserVariant' ), mw.config.get( 'wgContentLanguage' ), |
| 235 | + mw.config.get( 'wgUserLanguage' ), mw.config.get( 'wgPageContentLanguage' )]; |
234 | 236 | var fontFamily = false; |
235 | 237 | // If there are tags with lang attribute, |
236 | 238 | $( 'body' ).find( '*[lang]' ).each( function( i, el) { |
Index: branches/wmf/1.18wmf1/extensions/WebFonts/resources/ext.webfonts.preview.js |
— | — | @@ -0,0 +1,64 @@ |
| 2 | +/**
|
| 3 | + * Preview page script
|
| 4 | + */
|
| 5 | +(function( $, mw ) {
|
| 6 | + "use strict";
|
| 7 | +
|
| 8 | + var showPreview = function () {
|
| 9 | + var font = $( 'select#webfonts-font-chooser' ).val();
|
| 10 | + var $downloadLink = $( 'a#webfonts-preview-download' );
|
| 11 | + var $previewBox = $( 'div#webfonts-preview-area' );
|
| 12 | + mw.webfonts.addFont( font );
|
| 13 | + $previewBox.css( 'font-family', font ).addClass( 'webfonts-lang-attr' );
|
| 14 | + $previewBox.css( 'font-size', parseInt( $( 'select#webfonts-size-chooser' ).val(), 10 ) );
|
| 15 | + var fontconfig = mw.webfonts.config.fonts[font];
|
| 16 | + var base = mw.config.get( 'wgExtensionAssetsPath' ) + '/WebFonts/fonts/';
|
| 17 | + $downloadLink.prop( 'href', base + fontconfig.ttf ).removeClass( 'disabled' );
|
| 18 | + return true;
|
| 19 | + };
|
| 20 | +
|
| 21 | + var getFontsForLang = function ( language ) {
|
| 22 | + var $fontSelecter = $( 'select#webfonts-font-chooser' );
|
| 23 | + var $downloadLink = $( 'a#webfonts-preview-download' );
|
| 24 | + $fontSelecter.empty();
|
| 25 | + var languages = mw.webfonts.config.languages;
|
| 26 | + var fonts = languages[language];
|
| 27 | + if( !fonts ) {
|
| 28 | + $downloadLink.removeAttr( 'href' ).addClass( 'disabled' );
|
| 29 | + return false;
|
| 30 | + }
|
| 31 | + $.each( fonts, function( key, value ) {
|
| 32 | + $fontSelecter.append( $( '<option>', { value: value } )
|
| 33 | + .text( value ) );
|
| 34 | + } );
|
| 35 | + showPreview();
|
| 36 | + return true;
|
| 37 | + };
|
| 38 | +
|
| 39 | + $( document ).ready( function () {
|
| 40 | + $( 'select#wpUserLanguage' ).change( function () {
|
| 41 | + var language = $( 'select#wpUserLanguage' ).val();
|
| 42 | + getFontsForLang( language );
|
| 43 | + } );
|
| 44 | +
|
| 45 | + $( 'select#webfonts-font-chooser, select#webfonts-size-chooser' ).change( function () {
|
| 46 | + showPreview();
|
| 47 | + } );
|
| 48 | +
|
| 49 | + $( 'button#webfonts-preview-bold' ).click( function () {
|
| 50 | + document.execCommand( 'bold', false, null );
|
| 51 | + } );
|
| 52 | +
|
| 53 | + $( 'button#webfonts-preview-italic' ).click( function () {
|
| 54 | + document.execCommand( 'italic', false, null );
|
| 55 | + } );
|
| 56 | +
|
| 57 | + $( 'button#webfonts-preview-underline' ).click( function () {
|
| 58 | + document.execCommand( 'underline', false, null );
|
| 59 | + } );
|
| 60 | +
|
| 61 | + getFontsForLang( $( 'select#wpUserLanguage' ).val() );
|
| 62 | + showPreview();
|
| 63 | + } );
|
| 64 | +
|
| 65 | +} )( jQuery, mediaWiki );
|
Index: branches/wmf/1.18wmf1/extensions/WebFonts/resources/ext.webfonts.css |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | li#pt-webfont { |
3 | 3 | /* @embed */ |
4 | 4 | background: url(images/font-icon.png) no-repeat scroll left top transparent; |
5 | | - padding-left: 15px !important; |
| 5 | + padding-left: 18px !important; |
6 | 6 | } |
7 | 7 | |
8 | 8 | div#webfonts-menu { |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | display: none; |
12 | 12 | } |
13 | 13 | |
14 | | -div#webfonts-menu.open{ |
| 14 | +div#webfonts-menu.open { |
15 | 15 | display: block; |
16 | 16 | } |
17 | 17 | div#webfonts-fonts { |
Index: branches/wmf/1.18wmf1/extensions/WebFonts/resources/ext.webfonts.preview.css |
— | — | @@ -0,0 +1,67 @@ |
| 2 | +select#wpUserLanguage, |
| 3 | +select#webfonts-font-chooser, |
| 4 | +select#webfonts-size-chooser { |
| 5 | + width: 200px; |
| 6 | + height: 25px; |
| 7 | + vertical-align: middle; |
| 8 | +} |
| 9 | + |
| 10 | +select#webfonts-size-chooser { |
| 11 | + width: 50px; |
| 12 | +} |
| 13 | + |
| 14 | +div#webfonts-preview-area { |
| 15 | + height: 300px; |
| 16 | + border: 1px solid #cccccc; |
| 17 | + border-radius: 0 0 4px 4px; |
| 18 | + -webkit-border-radius: 0 0 4px 4px; |
| 19 | + -moz-border-radius: 0 0 4px 4px; |
| 20 | + text-align: left; |
| 21 | + padding: 5px; |
| 22 | + overflow: auto; |
| 23 | +} |
| 24 | + |
| 25 | +button#webfonts-preview-bold, |
| 26 | +button#webfonts-preview-italic, |
| 27 | +button#webfonts-preview-underline, |
| 28 | +a#webfonts-preview-download { |
| 29 | + height: 25px; |
| 30 | + vertical-align: middle; |
| 31 | + font-weight: bold; |
| 32 | + text-shadow: 0 1px 0 rgba(255,255,255,0.4); |
| 33 | +} |
| 34 | + |
| 35 | +a#webfonts-preview-download.disabled { |
| 36 | + color: #808080; |
| 37 | +} |
| 38 | + |
| 39 | +div#webfonts-preview-toolbar button { |
| 40 | + width: 30px; |
| 41 | +} |
| 42 | + |
| 43 | +button#webfonts-preview-italic { |
| 44 | + font-style: italic; |
| 45 | +} |
| 46 | + |
| 47 | +button#webfonts-preview-underline { |
| 48 | + text-decoration: underline; |
| 49 | +} |
| 50 | + |
| 51 | +a#webfonts-preview-download { |
| 52 | + padding-right: 10px; |
| 53 | + padding-left: 10px; |
| 54 | + padding-top: 3px; |
| 55 | + float: right; |
| 56 | + text-decoration: none; |
| 57 | +} |
| 58 | + |
| 59 | +div#webfonts-preview-toolbar { |
| 60 | + overflow: hidden; |
| 61 | + background-color: #F9F9F9; |
| 62 | + border: 1px solid #CCCCCC; |
| 63 | + border-radius: 4px 4px 0 0; |
| 64 | + -webkit-border-radius: 4px 4px 0 0; |
| 65 | + -moz-border-radius: 4px 4px 0 0; |
| 66 | + position: relative; |
| 67 | + padding: 2px; |
| 68 | +} |
Property changes on: branches/wmf/1.18wmf1/extensions/WebFonts/resources/ext.webfonts.preview.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 69 | + native |
Added: svn:keywords |
2 | 70 | + Id |
Index: branches/wmf/1.18wmf1/extensions/WebFonts/WebFonts.i18n.php |
— | — | @@ -12,18 +12,28 @@ |
13 | 13 | * @author santhosh |
14 | 14 | */ |
15 | 15 | $messages['en'] = array( |
16 | | - 'webfonts' => 'WebFonts', |
| 16 | + 'webfonts' => 'Web fonts', |
17 | 17 | 'webfonts-desc' => 'Embed fonts in pages', |
18 | 18 | 'webfonts-load' => 'Select font', |
19 | 19 | 'webfonts-reset' => 'Reset', |
20 | | - 'webfonts-enable-preference' => 'Enable font embedding (WebFonts)', |
| 20 | + 'webfonts-enable-preference' => 'Enable font embedding (Web fonts)', |
21 | 21 | 'webfonts-menu-tooltip' => 'Select a font for the page', |
22 | 22 | 'webfonts-help' => 'Help', |
23 | 23 | 'webfonts-help-page' => '//www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:WebFonts', |
| 24 | + 'webfonts-preview-intro' => 'This page helps you to preview the fonts available in the WebFonts extension and optionally download and install in your computer.', |
| 25 | + 'webfonts-preview-title' => 'Preview the fonts', |
| 26 | + 'webfonts-preview-download' => 'Download', |
| 27 | + 'webfonts-preview-sampletext' => 'The quick brown fox jumps over the lazy dog', |
| 28 | + 'webfonts-preview-installing-fonts-title' => 'Installing Fonts', |
| 29 | + 'webfonts-preview-installing-fonts-text' => 'You can download a font using the "{{int:webfonts-preview-download}}" link given above. To install the downloaded font on your computer, please see [//www.mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts this documentation].', |
24 | 30 | ); |
25 | 31 | |
26 | 32 | /** Message documentation (Message documentation) |
27 | 33 | * @author EugeneZelenko |
| 34 | + * @author McDutchie |
| 35 | + * @author Mormegil |
| 36 | + * @author Raymond |
| 37 | + * @author Singhalawap |
28 | 38 | */ |
29 | 39 | $messages['qqq'] = array( |
30 | 40 | 'webfonts' => 'The extension name - WebFonts', |
— | — | @@ -31,10 +41,28 @@ |
32 | 42 | 'webfonts-load' => 'The text shown in the webfont link', |
33 | 43 | 'webfonts-reset' => '{{Identical|Reset}}', |
34 | 44 | 'webfonts-menu-tooltip' => 'Tooltip text displayed in the webfont link', |
35 | | - 'webfonts-help' => 'Text for the help link', |
36 | | - 'webfonts-help-page' => 'Change this only if you want to point the help link to a different wiki page.', |
| 45 | + 'webfonts-help' => 'Text for the help link. |
| 46 | +{{Identical|Help}}', |
| 47 | + 'webfonts-preview-intro' => 'Introduction to [[Special:WebFonts|the special page]].', |
| 48 | + 'webfonts-preview-title' => 'Title for the preview area.', |
| 49 | + 'webfonts-preview-download' => 'Download link text. |
| 50 | +{{Identical|Download}}', |
| 51 | + 'webfonts-preview-sampletext' => 'Do not translate literally, but give a [[:w:Pangram|pangram]] in your language for using as default preview text.', |
| 52 | + 'webfonts-preview-installing-fonts-title' => 'Title of Installing Fonts section', |
| 53 | + 'webfonts-preview-installing-fonts-text' => 'Text pointing to the installation document link.', |
37 | 54 | ); |
38 | 55 | |
| 56 | +/** Afrikaans (Afrikaans) |
| 57 | + * @author පසිඳු කාවින්ද |
| 58 | + */ |
| 59 | +$messages['af'] = array( |
| 60 | + 'webfonts' => 'WebFonts', |
| 61 | + 'webfonts-load' => 'Kies font', |
| 62 | + 'webfonts-reset' => 'Reset', |
| 63 | + 'webfonts-menu-tooltip' => "Kies 'n font vir die bladsy", |
| 64 | + 'webfonts-help' => 'Help', |
| 65 | +); |
| 66 | + |
39 | 67 | /** Arabic (العربية) |
40 | 68 | * @author روخو |
41 | 69 | */ |
— | — | @@ -52,10 +80,30 @@ |
53 | 81 | 'webfonts-load' => 'Seleiciona la fonte', |
54 | 82 | 'webfonts-reset' => 'Reaniciar', |
55 | 83 | 'webfonts-enable-preference' => 'Activar la incorporación de fontes (WebFonts)', |
| 84 | + 'webfonts-menu-tooltip' => 'Seleicionar una fonte pa la páxina', |
| 85 | + 'webfonts-help' => 'Ayuda', |
56 | 86 | ); |
57 | 87 | |
| 88 | +/** Azerbaijani (Azərbaycanca) |
| 89 | + * @author Cekli829 |
| 90 | + */ |
| 91 | +$messages['az'] = array( |
| 92 | + 'webfonts-help' => 'Kömək', |
| 93 | +); |
| 94 | + |
| 95 | +/** Bashkir (Башҡортса) |
| 96 | + * @author Haqmar |
| 97 | + */ |
| 98 | +$messages['ba'] = array( |
| 99 | + 'webfonts' => 'WebFonts', |
| 100 | + 'webfonts-load' => 'Шрифт һайларға', |
| 101 | + 'webfonts-reset' => 'Баштан алырға', |
| 102 | + 'webfonts-help' => 'Белешмә', |
| 103 | +); |
| 104 | + |
58 | 105 | /** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) |
59 | 106 | * @author EugeneZelenko |
| 107 | + * @author Jim-by |
60 | 108 | * @author Wizardist |
61 | 109 | */ |
62 | 110 | $messages['be-tarask'] = array( |
— | — | @@ -63,6 +111,15 @@ |
64 | 112 | 'webfonts-desc' => 'Дазваляе ўбудоўваць шрыфты на старонкі', |
65 | 113 | 'webfonts-load' => 'Выбраць шрыфт', |
66 | 114 | 'webfonts-reset' => 'Скінуць', |
| 115 | + 'webfonts-enable-preference' => 'Дазволіць убудаваньне шрыфтоў (WebFonts)', |
| 116 | + 'webfonts-menu-tooltip' => 'Выбраць шрыфт для старонкі', |
| 117 | + 'webfonts-help' => 'Дапамога', |
| 118 | + 'webfonts-preview-intro' => 'Гэтая старонка дапаможа Вам праглядзець шрыфты даступныя ў пашырэньні WebFonts і, калі пажадаеце, загрузіць і ўсталяваць іх на Вашым кампьютары.', |
| 119 | + 'webfonts-preview-title' => 'Праглядзець шрыфты', |
| 120 | + 'webfonts-preview-download' => 'Загрузіць', |
| 121 | + 'webfonts-preview-sampletext' => 'Хуткая шэрая лісіца пераскочыла праз лянівага сабаку', |
| 122 | + 'webfonts-preview-installing-fonts-title' => 'Усталяваньне шрыфтоў', |
| 123 | + 'webfonts-preview-installing-fonts-text' => 'Вы можаце спампаваць шрыфт, скарыстаўшыся спасылкай «{{int:webfonts-preview-download}}» вышэй. Каб інсталяваць спампаваны шрыфт у вашую сыстэму, зьвярніцеся да [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts дакумэнтацыі]', |
67 | 124 | ); |
68 | 125 | |
69 | 126 | /** Bengali (বাংলা) |
— | — | @@ -73,8 +130,22 @@ |
74 | 131 | 'webfonts-desc' => 'পাতায় ফন্ট সন্নিবেশ', |
75 | 132 | 'webfonts-load' => 'ফন্ট নির্বাচন', |
76 | 133 | 'webfonts-reset' => 'পুনরায় আরম্ভ', |
| 134 | + 'webfonts-help' => 'সাহায্য', |
77 | 135 | ); |
78 | 136 | |
| 137 | +/** Bishnupria Manipuri (ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী) |
| 138 | + * @author Usingha |
| 139 | + */ |
| 140 | +$messages['bpy'] = array( |
| 141 | + 'webfonts' => 'ৱেবফন্টস', |
| 142 | + 'webfonts-desc' => 'পাতাহাত ফন্ট নাপকর', |
| 143 | + 'webfonts-load' => 'ফন্ট বাছ', |
| 144 | + 'webfonts-reset' => 'বারো অকর', |
| 145 | + 'webfonts-enable-preference' => 'ফন্ট নাপকরানিহান অকর (ৱেবফন্ট)', |
| 146 | + 'webfonts-menu-tooltip' => 'পাতাহানরকা ফন্ট বাছ', |
| 147 | + 'webfonts-help' => 'পাংলাক', |
| 148 | +); |
| 149 | + |
79 | 150 | /** Breton (Brezhoneg) |
80 | 151 | * @author Fulup |
81 | 152 | * @author Y-M D |
— | — | @@ -84,7 +155,12 @@ |
85 | 156 | 'webfonts-desc' => "Ensoc'hañ a ra ar fontoù er pajennoù", |
86 | 157 | 'webfonts-load' => 'Diuzañ ar font', |
87 | 158 | 'webfonts-reset' => 'Adderaouekaat', |
| 159 | + 'webfonts-enable-preference' => "Gweredekaat an ensoc'hañ fontoù (Fontoù Kenrouedad)", |
88 | 160 | 'webfonts-menu-tooltip' => 'Dibabit ur font evit ar bajenn', |
| 161 | + 'webfonts-help' => 'Skoazell', |
| 162 | + 'webfonts-preview-title' => 'Rakwelet ar fontoù', |
| 163 | + 'webfonts-preview-download' => 'Pellgargañ', |
| 164 | + 'webfonts-preview-installing-fonts-title' => 'Staliañ ar fontoù', |
89 | 165 | ); |
90 | 166 | |
91 | 167 | /** Bosnian (Bosanski) |
— | — | @@ -96,6 +172,26 @@ |
97 | 173 | 'webfonts-load' => 'Odaberi font', |
98 | 174 | ); |
99 | 175 | |
| 176 | +/** Czech (Česky) |
| 177 | + * @author Mormegil |
| 178 | + * @author Utar |
| 179 | + */ |
| 180 | +$messages['cs'] = array( |
| 181 | + 'webfonts' => 'WebFonts', |
| 182 | + 'webfonts-desc' => 'Vkládání písem do stránek', |
| 183 | + 'webfonts-load' => 'Vybrat písmo', |
| 184 | + 'webfonts-reset' => 'Resetovat', |
| 185 | + 'webfonts-enable-preference' => 'Povolit vkládání písem (WebFonts)', |
| 186 | + 'webfonts-menu-tooltip' => 'Vybrat písmo pro tuto stránku', |
| 187 | + 'webfonts-help' => 'Nápověda', |
| 188 | + 'webfonts-preview-intro' => 'Tato stránka vám pomůže zobrazit náhled písem dostupných v rozšíření WebFonts a případně si je i stáhnout a nainstalovat do počítače.', |
| 189 | + 'webfonts-preview-title' => 'Náhled písem', |
| 190 | + 'webfonts-preview-download' => 'Stáhnout', |
| 191 | + 'webfonts-preview-sampletext' => 'Příliš žluťoučký kůň úpěl ďábelské ódy.', |
| 192 | + 'webfonts-preview-installing-fonts-title' => 'Instalace písem', |
| 193 | + 'webfonts-preview-installing-fonts-text' => 'Písmo sí můžete stáhnout pomocí odkazu {{int:webfonts-preview-download}} zobrazeného výše. Postup instalace staženého písma do vašeho počítače najdete v [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts dokumentaci]', |
| 194 | +); |
| 195 | + |
100 | 196 | /** Danish (Dansk) |
101 | 197 | * @author Peter Alberti |
102 | 198 | */ |
— | — | @@ -105,20 +201,38 @@ |
106 | 202 | 'webfonts-load' => 'Vælg skrifttype', |
107 | 203 | 'webfonts-reset' => 'Nulstil', |
108 | 204 | 'webfonts-enable-preference' => 'Aktiver integrering af skrifttyper (WebFonts)', |
| 205 | + 'webfonts-menu-tooltip' => 'Vælg en skrifttype for siden', |
| 206 | + 'webfonts-help' => 'Hjælp', |
109 | 207 | ); |
110 | 208 | |
111 | 209 | /** German (Deutsch) |
112 | 210 | * @author Kghbln |
| 211 | + * @author Metalhead64 |
113 | 212 | */ |
114 | 213 | $messages['de'] = array( |
115 | | - 'webfonts' => 'WebSchriftarten', |
| 214 | + 'webfonts' => 'WebFonts', |
116 | 215 | 'webfonts-desc' => 'Ermöglicht die Schriftarteneinbettung in Seiten', |
117 | 216 | 'webfonts-load' => 'Schriftart auswählen', |
118 | 217 | 'webfonts-reset' => 'Zurücksetzen', |
119 | 218 | 'webfonts-enable-preference' => 'Schriftarteneinbettung aktivieren', |
120 | 219 | 'webfonts-menu-tooltip' => 'Eine Schriftart für die Seite auswählen.', |
| 220 | + 'webfonts-help' => 'Hilfe', |
| 221 | + 'webfonts-preview-intro' => 'Diese Seite hilft dir dabei, die durch die Erweiterung Webfonts verfügbaren Schriftarten in der Vorschau anzusehen und sie auf deinen Computer herunterzuladen sowie zu installieren.', |
| 222 | + 'webfonts-preview-title' => 'Schriftartvorschau', |
| 223 | + 'webfonts-preview-download' => 'Herunterladen', |
| 224 | + 'webfonts-preview-sampletext' => 'Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.', |
| 225 | + 'webfonts-preview-installing-fonts-title' => 'Schriftarten installieren', |
| 226 | + 'webfonts-preview-installing-fonts-text' => 'Du kannst eine Schriftart herunterladen, indem du oben rechts auf den Link „{{int:webfonts-preview-download}}“ klickst. Um die heruntergeladene Schriftart auf deinem Computer zu installieren, folge bitte [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts diesen Hinweisen].', |
121 | 227 | ); |
122 | 228 | |
| 229 | +/** German (formal address) (Deutsch (Sie-Form)) |
| 230 | + * @author Kghbln |
| 231 | + */ |
| 232 | +$messages['de-formal'] = array( |
| 233 | + 'webfonts-preview-intro' => 'Diese Seite hilft Ihnen dabei, die durch die Erweiterung Webfonts verfügbaren Schriftarten in der Vorschau anzusehen und sie auf Ihren Computer herunterzuladen sowie zu installieren.', |
| 234 | + 'webfonts-preview-installing-fonts-text' => 'Sie können eine Schriftart herunterladen, indem Sie oben rechts auf den Link „{{int:webfonts-preview-download}}“ klicken. Um die heruntergeladene Schriftart auf Ihrem Computer zu installieren, folgen Sie bitte [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts diesen Hinweisen].', |
| 235 | +); |
| 236 | + |
123 | 237 | /** Lower Sorbian (Dolnoserbski) |
124 | 238 | * @author Michawiki |
125 | 239 | */ |
— | — | @@ -129,21 +243,61 @@ |
130 | 244 | 'webfonts-reset' => 'Slědk stajiś', |
131 | 245 | 'webfonts-enable-preference' => 'Zasajźenje pismow zmóžniś (WebFonts)', |
132 | 246 | 'webfonts-menu-tooltip' => 'Pismo za bok wubraś', |
| 247 | + 'webfonts-help' => 'Pomoc', |
133 | 248 | ); |
134 | 249 | |
| 250 | +/** Greek (Ελληνικά) |
| 251 | + * @author AK |
| 252 | + */ |
| 253 | +$messages['el'] = array( |
| 254 | + 'webfonts' => 'WebFonts', |
| 255 | + 'webfonts-desc' => 'Ενσωμάτωση γραμματοσειρών στις σελίδες', |
| 256 | + 'webfonts-load' => 'Επιλέξτε γραμματοσειρά', |
| 257 | + 'webfonts-reset' => 'Επαναφορά', |
| 258 | + 'webfonts-enable-preference' => 'Ενεργοποίηση της ενσωμάτωσης γραμματοσειρών (WebFonts)', |
| 259 | + 'webfonts-menu-tooltip' => 'Επιλέξτε γραμματοσειρά για τη σελίδα', |
| 260 | + 'webfonts-help' => 'Βοήθεια', |
| 261 | +); |
| 262 | + |
| 263 | +/** Esperanto (Esperanto) |
| 264 | + * @author Yekrats |
| 265 | + */ |
| 266 | +$messages['eo'] = array( |
| 267 | + 'webfonts' => 'Retaj Tiparoj', |
| 268 | + 'webfonts-desc' => 'Enmeti tiparojn en paĝoj', |
| 269 | + 'webfonts-load' => 'Elekti tiparon', |
| 270 | + 'webfonts-reset' => 'Restarigi', |
| 271 | + 'webfonts-enable-preference' => 'Ŝalti enmetadon de tiparoj (WebFonts)', |
| 272 | + 'webfonts-menu-tooltip' => 'Elektu tiparon por la paĝo', |
| 273 | + 'webfonts-help' => 'Helpo', |
| 274 | +); |
| 275 | + |
135 | 276 | /** Spanish (Español) |
136 | 277 | * @author Fitoschido |
| 278 | + * @author Imre |
| 279 | + * @author Platonides |
137 | 280 | */ |
138 | 281 | $messages['es'] = array( |
139 | 282 | 'webfonts' => 'WebFonts', |
140 | 283 | 'webfonts-desc' => 'Incrustar tipografías en las páginas', |
141 | 284 | 'webfonts-load' => 'Seleccionar tipografía', |
142 | 285 | 'webfonts-reset' => 'Restablecer', |
| 286 | + 'webfonts-enable-preference' => 'Activar la incrustación de tipografías (WebFonts)', |
| 287 | + 'webfonts-menu-tooltip' => 'Escoger una fuente para la página', |
| 288 | + 'webfonts-help' => 'Ayuda', |
143 | 289 | ); |
144 | 290 | |
| 291 | +/** Basque (Euskara) |
| 292 | + * @author An13sa |
| 293 | + */ |
| 294 | +$messages['eu'] = array( |
| 295 | + 'webfonts-help' => 'Laguntza', |
| 296 | +); |
| 297 | + |
145 | 298 | /** Persian (فارسی) |
146 | 299 | * @author Ebraminio |
147 | 300 | * @author Huji |
| 301 | + * @author Rmashhadi |
148 | 302 | * @author ZxxZxxZ |
149 | 303 | */ |
150 | 304 | $messages['fa'] = array( |
— | — | @@ -152,11 +306,28 @@ |
153 | 307 | 'webfonts-load' => 'انتخاب قلم', |
154 | 308 | 'webfonts-reset' => 'بازنشانی', |
155 | 309 | 'webfonts-enable-preference' => 'فعالکردن جاسازی قلم (وبقلم)', |
| 310 | + 'webfonts-menu-tooltip' => 'انتخاب قلم برای صفحه', |
| 311 | + 'webfonts-help' => 'کمک', |
156 | 312 | ); |
157 | 313 | |
| 314 | +/** Finnish (Suomi) |
| 315 | + * @author Nedergard |
| 316 | + * @author Olli |
| 317 | + */ |
| 318 | +$messages['fi'] = array( |
| 319 | + 'webfonts' => 'WebFonts', |
| 320 | + 'webfonts-desc' => 'Upota fontit sivuille', |
| 321 | + 'webfonts-load' => 'Valitse fontti', |
| 322 | + 'webfonts-reset' => 'Nollaa', |
| 323 | + 'webfonts-enable-preference' => 'Ota fonttien upotus käyttöön (WebFonts)', |
| 324 | + 'webfonts-menu-tooltip' => 'Valitse sivun fontti', |
| 325 | + 'webfonts-help' => 'Ohje', |
| 326 | +); |
| 327 | + |
158 | 328 | /** French (Français) |
159 | 329 | * @author Gomoko |
160 | 330 | * @author IAlex |
| 331 | + * @author Od1n |
161 | 332 | * @author Sherbrooke |
162 | 333 | */ |
163 | 334 | $messages['fr'] = array( |
— | — | @@ -166,6 +337,13 @@ |
167 | 338 | 'webfonts-reset' => 'Réinitialiser', |
168 | 339 | 'webfonts-enable-preference' => "Active l'incorporation des fontes (WebFonts)", |
169 | 340 | 'webfonts-menu-tooltip' => 'Sélectionnez une police pour la page', |
| 341 | + 'webfonts-help' => 'Aide', |
| 342 | + 'webfonts-preview-intro' => "Cette page vous aide à prévisualiser les polices disponibles dans l'extension WebFonts et éventuellement à les télécharger et les installer dans votre ordinateur.", |
| 343 | + 'webfonts-preview-title' => 'Prévisualiser les polices', |
| 344 | + 'webfonts-preview-download' => 'Télécharger', |
| 345 | + 'webfonts-preview-sampletext' => 'Portez ce vieux whisky au juge blond qui fume', |
| 346 | + 'webfonts-preview-installing-fonts-title' => 'Installation des polices', |
| 347 | + 'webfonts-preview-installing-fonts-text' => 'Vous pouvez télécharger une police en utilisant le lien {{int:webfonts-preview-download}} ci-dessus. Pour installer la police téléchargée sur votre ordinateur, veuillez consulter [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts cette documentation]', |
170 | 348 | ); |
171 | 349 | |
172 | 350 | /** Franco-Provençal (Arpetan) |
— | — | @@ -176,6 +354,9 @@ |
177 | 355 | 'webfonts-desc' => 'Apond les polices a les pâges.', |
178 | 356 | 'webfonts-load' => 'Chouèsésséd una police', |
179 | 357 | 'webfonts-reset' => 'Tornar inicialisar', |
| 358 | + 'webfonts-enable-preference' => 'Activar l’aponsa de les fontes (WebFonts)', |
| 359 | + 'webfonts-menu-tooltip' => 'Chouèsésséd una police por la pâge', |
| 360 | + 'webfonts-help' => 'Éde', |
180 | 361 | ); |
181 | 362 | |
182 | 363 | /** Galician (Galego) |
— | — | @@ -184,9 +365,16 @@ |
185 | 366 | $messages['gl'] = array( |
186 | 367 | 'webfonts' => 'WebFonts', |
187 | 368 | 'webfonts-desc' => 'Incorporar fontes nas páxinas', |
188 | | - 'webfonts-load' => 'Seleccione a fonte', |
| 369 | + 'webfonts-load' => 'Seleccione unha fonte', |
189 | 370 | 'webfonts-reset' => 'Restablecer', |
190 | 371 | 'webfonts-enable-preference' => 'Activar a incorporación de fontes (WebFonts)', |
| 372 | + 'webfonts-menu-tooltip' => 'Seleccione unha fonte para a páxina', |
| 373 | + 'webfonts-help' => 'Axuda', |
| 374 | + 'webfonts-preview-intro' => 'Esta páxina axúdalle a ollar unha vista previa das fontes dispoñibles na extensión WebFonts e, opcionalmente, descargalas e instalalas no seu ordenador.', |
| 375 | + 'webfonts-preview-title' => 'Vista previa das fontes', |
| 376 | + 'webfonts-preview-download' => 'Descargar', |
| 377 | + 'webfonts-preview-installing-fonts-title' => 'Instalación das fontes', |
| 378 | + 'webfonts-preview-installing-fonts-text' => 'Pode descargar unha fonte mediante a ligazón "{{int:webfonts-preview-download}}" anterior. Para instalar a fonte descargada no seu ordenador consulte [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts esta documentación]', |
191 | 379 | ); |
192 | 380 | |
193 | 381 | /** Swiss German (Alemannisch) |
— | — | @@ -217,9 +405,12 @@ |
218 | 406 | 'webfonts-load' => 'בחירת גופן', |
219 | 407 | 'webfonts-reset' => 'ביטול גופן רשת', |
220 | 408 | 'webfonts-enable-preference' => 'הפעלה של הטמעת גופנים (גופני רשת)', |
| 409 | + 'webfonts-menu-tooltip' => 'בחירת גופן לדף', |
| 410 | + 'webfonts-help' => 'עזרה', |
221 | 411 | ); |
222 | 412 | |
223 | 413 | /** Hindi (हिन्दी) |
| 414 | + * @author Ansumang |
224 | 415 | * @author Bhawani Gautam |
225 | 416 | */ |
226 | 417 | $messages['hi'] = array( |
— | — | @@ -228,6 +419,8 @@ |
229 | 420 | 'webfonts-load' => 'फ़ॉन्ट का चयन करें', |
230 | 421 | 'webfonts-reset' => 'पुनर्स्थापित करें', |
231 | 422 | 'webfonts-enable-preference' => 'फ़ॉन्ट एम्बेडिंग (WebFonts) को सक्षम करें', |
| 423 | + 'webfonts-menu-tooltip' => 'पृष्ठ के लिए फ़ॉन्ट का चयन करें', |
| 424 | + 'webfonts-help' => 'सहायता', |
232 | 425 | ); |
233 | 426 | |
234 | 427 | /** Upper Sorbian (Hornjoserbsce) |
— | — | @@ -240,8 +433,26 @@ |
241 | 434 | 'webfonts-reset' => 'Wróćo stajić', |
242 | 435 | 'webfonts-enable-preference' => 'Zasadźenje pismow zmóžnić (WebFonts)', |
243 | 436 | 'webfonts-menu-tooltip' => 'Pismo za stronu wubrać', |
| 437 | + 'webfonts-help' => 'Pomoc', |
| 438 | + 'webfonts-preview-title' => 'Přehlad pismow', |
| 439 | + 'webfonts-preview-download' => 'Sćahnyć', |
| 440 | + 'webfonts-preview-installing-fonts-title' => 'Pisma instalować', |
244 | 441 | ); |
245 | 442 | |
| 443 | +/** Hungarian (Magyar) |
| 444 | + * @author Dj |
| 445 | + * @author Misibacsi |
| 446 | + */ |
| 447 | +$messages['hu'] = array( |
| 448 | + 'webfonts' => 'WebFonts', |
| 449 | + 'webfonts-desc' => 'Fontok beágyazása a lapokba', |
| 450 | + 'webfonts-load' => 'Válassza ki a betűtípus', |
| 451 | + 'webfonts-reset' => 'Törlés', |
| 452 | + 'webfonts-enable-preference' => 'Fontok beágyazása (WebFonts)', |
| 453 | + 'webfonts-menu-tooltip' => 'Válassz egy fontot az oldalhoz', |
| 454 | + 'webfonts-help' => 'Segítség', |
| 455 | +); |
| 456 | + |
246 | 457 | /** Interlingua (Interlingua) |
247 | 458 | * @author McDutchie |
248 | 459 | */ |
— | — | @@ -252,6 +463,12 @@ |
253 | 464 | 'webfonts-reset' => 'Reinitialisar', |
254 | 465 | 'webfonts-enable-preference' => 'Activar le incorporation de typos de litteras (WebFonts)', |
255 | 466 | 'webfonts-menu-tooltip' => 'Selige un typo de litteras pro le pagina', |
| 467 | + 'webfonts-help' => 'Adjuta', |
| 468 | + 'webfonts-preview-intro' => 'Iste pagina permitte previsualisar le typos de litteras disponibile in le extension WebFonts e, si desirate, discargar e installar los in tu computator.', |
| 469 | + 'webfonts-preview-title' => 'Previsualisar le typos de litteras', |
| 470 | + 'webfonts-preview-download' => 'Discargar', |
| 471 | + 'webfonts-preview-installing-fonts-title' => 'Installar typos de litteras', |
| 472 | + 'webfonts-preview-installing-fonts-text' => 'Tu pote discargar un typo de litteras usante le ligamine {{int:webfonts-preview-download}} hic supra. Pro installar le typo de litteras discargate in tu computator, per favor consulta [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts iste documentation].', |
256 | 473 | ); |
257 | 474 | |
258 | 475 | /** Indonesian (Bahasa Indonesia) |
— | — | @@ -272,10 +489,13 @@ |
273 | 490 | 'webfonts-desc' => 'Ikabil dagiti kita ti letra kadagiti panid', |
274 | 491 | 'webfonts-load' => 'Agpili ti kita ti letra', |
275 | 492 | 'webfonts-reset' => 'Isubli', |
276 | | - 'webfonts-enable-preference' => 'Ipabalin ti pinagikabil ti kita ti letra (WebFonts)', |
| 493 | + 'webfonts-enable-preference' => 'Pakabaelan na ti agikabil ti kita ti letra (WebFonts)', |
| 494 | + 'webfonts-menu-tooltip' => 'Agpili ti kita ti letra para iti panid', |
| 495 | + 'webfonts-help' => 'Tulong', |
277 | 496 | ); |
278 | 497 | |
279 | 498 | /** Italian (Italiano) |
| 499 | + * @author Aushulz |
280 | 500 | * @author Beta16 |
281 | 501 | */ |
282 | 502 | $messages['it'] = array( |
— | — | @@ -285,6 +505,7 @@ |
286 | 506 | 'webfonts-reset' => 'Reimposta', |
287 | 507 | 'webfonts-enable-preference' => "Attiva l'incorporazione dei caratteri (WebFont)", |
288 | 508 | 'webfonts-menu-tooltip' => 'Seleziona un tipo di carattere per la pagina', |
| 509 | + 'webfonts-help' => 'Aiuto', |
289 | 510 | ); |
290 | 511 | |
291 | 512 | /** Japanese (日本語) |
— | — | @@ -298,6 +519,13 @@ |
299 | 520 | 'webfonts-reset' => 'リセット', |
300 | 521 | ); |
301 | 522 | |
| 523 | +/** Georgian (ქართული) |
| 524 | + * @author ITshnik |
| 525 | + */ |
| 526 | +$messages['ka'] = array( |
| 527 | + 'webfonts-help' => 'დახმარება', |
| 528 | +); |
| 529 | + |
302 | 530 | /** Khmer (ភាសាខ្មែរ) |
303 | 531 | * @author Lovekhmer |
304 | 532 | * @author វ័ណថារិទ្ធ |
— | — | @@ -310,6 +538,25 @@ |
311 | 539 | 'webfonts-enable-preference' => 'ដាក់ពុម្ពអក្សរបង្កប់ចូល (WebFonts)', |
312 | 540 | ); |
313 | 541 | |
| 542 | +/** Korean (한국어) |
| 543 | + * @author Kwj2772 |
| 544 | + */ |
| 545 | +$messages['ko'] = array( |
| 546 | + 'webfonts' => '웹 글꼴', |
| 547 | + 'webfonts-desc' => '문서에 글꼴을 포함하기', |
| 548 | + 'webfonts-load' => '글꼴 선택', |
| 549 | + 'webfonts-reset' => '리셋', |
| 550 | + 'webfonts-enable-preference' => '글꼴 임베딩 켜기 (WebFonts)', |
| 551 | + 'webfonts-menu-tooltip' => '문서를 표시할 글꼴 선택', |
| 552 | + 'webfonts-help' => '도움말', |
| 553 | + 'webfonts-preview-intro' => '이 페이지는 WebFonts 확장 기능에서 제공하는 글꼴을 미리 보고 글꼴을 선택하여 컴퓨터에 내려받고 설치할 수 있도록 도와 줄 것입니다.', |
| 554 | + 'webfonts-preview-title' => '글꼴 미리 보기', |
| 555 | + 'webfonts-preview-download' => '다운로드', |
| 556 | + 'webfonts-preview-sampletext' => '덧글은 통신 예절 지키면서 표현 자유 추구하는 방향으로.', |
| 557 | + 'webfonts-preview-installing-fonts-title' => '글꼴 설치하기', |
| 558 | + 'webfonts-preview-installing-fonts-text' => '위의 "{{int:webfonts-preview-download}}" 링크를 통해 글꼴을 내려받을 수 있습니다. 내려받은 글꼴을 컴퓨터에 설치하려면 [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts 이 설명문서]를 참고하십시오.', |
| 559 | +); |
| 560 | + |
314 | 561 | /** Colognian (Ripoarisch) |
315 | 562 | * @author Purodha |
316 | 563 | */ |
— | — | @@ -319,16 +566,34 @@ |
320 | 567 | 'webfonts-load' => 'Schreff_Aat ußsöke', |
321 | 568 | 'webfonts-reset' => 'Zeröksäze', |
322 | 569 | 'webfonts-enable-preference' => 'Et Schreff_Aate en de Sigge enboue aanschallde ({{int:webfonts}})', |
| 570 | + 'webfonts-menu-tooltip' => 'Donn en Schreff för di Sigg ußwähle.', |
323 | 571 | ); |
324 | 572 | |
325 | 573 | /** Luxembourgish (Lëtzebuergesch) |
326 | 574 | * @author Robby |
327 | 575 | */ |
328 | 576 | $messages['lb'] = array( |
| 577 | + 'webfonts-desc' => "D'Schrëften an d'Säiten abannen", |
329 | 578 | 'webfonts-load' => 'Buschtawen-Typ (Font) eraussichen', |
330 | 579 | 'webfonts-reset' => 'Zrécksetzen', |
| 580 | + 'webfonts-menu-tooltip' => "Sicht eng Buschtawen-Zort fir d'Säit eraus", |
| 581 | + 'webfonts-help' => 'Hëllef', |
| 582 | + 'webfonts-preview-download' => 'Eroflueden', |
331 | 583 | ); |
332 | 584 | |
| 585 | +/** Limburgish (Limburgs) |
| 586 | + * @author Ooswesthoesbes |
| 587 | + */ |
| 588 | +$messages['li'] = array( |
| 589 | + 'webfonts' => 'WebFonts', |
| 590 | + 'webfonts-desc' => 'Sloet fonts oppe pagina in', |
| 591 | + 'webfonts-load' => 'Selecteer fonts', |
| 592 | + 'webfonts-reset' => 'Stèl óbbenuids in', |
| 593 | + 'webfonts-enable-preference' => 'Sjakel insloeting fonts aan (WebFonts)', |
| 594 | + 'webfonts-menu-tooltip' => 'Selecteer fonts veure pagina', |
| 595 | + 'webfonts-help' => 'Hölp', |
| 596 | +); |
| 597 | + |
333 | 598 | /** Macedonian (Македонски) |
334 | 599 | * @author Bjankuloski06 |
335 | 600 | */ |
— | — | @@ -339,29 +604,51 @@ |
340 | 605 | 'webfonts-reset' => 'Врати', |
341 | 606 | 'webfonts-enable-preference' => 'Овозможи на вметнување на фонтови (WebFonts)', |
342 | 607 | 'webfonts-menu-tooltip' => 'Изберете фонт за страницата', |
| 608 | + 'webfonts-help' => 'Помош', |
| 609 | + 'webfonts-preview-intro' => 'На оваа страница можете да ги погледате фонтовите што ви се на располагање со додатокот WebFonts (со можност да ги преземете и инсталирате на вашиот сметач).', |
| 610 | + 'webfonts-preview-title' => 'Преглед на фонтовите', |
| 611 | + 'webfonts-preview-download' => 'Преземи', |
| 612 | + 'webfonts-preview-sampletext' => 'Бучниов жолт џин ѕида куќа со фурна меѓу полиња за цреши, хмељ и грозје.', |
| 613 | + 'webfonts-preview-installing-fonts-title' => 'Инсталација на фонотовите', |
| 614 | + 'webfonts-preview-installing-fonts-text' => 'Можете да преземете фонт преку горенаведената врска {{int:webfonts-preview-download}}. За да го инсталирате на сметачот, погледајте ја [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts?uselang=mk оваа документација]', |
343 | 615 | ); |
344 | 616 | |
345 | 617 | /** Malayalam (മലയാളം) |
346 | 618 | * @author Praveenp |
347 | 619 | * @author Santhosh |
| 620 | + * @author Vssun |
348 | 621 | */ |
349 | 622 | $messages['ml'] = array( |
350 | | - 'webfonts' => 'വെബ്ഫോണ്ടുകള്', |
351 | | - 'webfonts-desc' => 'മീഡിയവിക്കി താളുകളില് ഫോണ്ടുകള് എംബെഡ് ചെയ്യുക', |
352 | | - 'webfonts-load' => 'ഫോണ്ടുകള്', |
| 623 | + 'webfonts' => 'വെബ്ഫോണ്ടുകൾ', |
| 624 | + 'webfonts-desc' => 'മീഡിയവിക്കി താളുകളിൽ ഫോണ്ടുകൾ എംബെഡ് ചെയ്യുക', |
| 625 | + 'webfonts-load' => 'ഫോണ്ടുകൾ', |
353 | 626 | 'webfonts-reset' => 'പഴയപടിയാക്കുക', |
354 | 627 | 'webfonts-enable-preference' => 'ഫോണ്ട് എംബെഡ് ചെയ്യുക.(വെബ്ഫോണ്ട്സ്)', |
355 | | - 'webfonts-menu-tooltip' => 'താളിനുവേണ്ടി ഒരു ഫോണ്ട് തിരഞ്ഞെടുക്കുക', |
| 628 | + 'webfonts-menu-tooltip' => 'ഈ താളിനുവേണ്ടി ഒരു ഫോണ്ട് തിരഞ്ഞെടുക്കുക', |
356 | 629 | 'webfonts-help' => 'സഹായം', |
| 630 | + 'webfonts-preview-intro' => 'വെബ്ഫോണ്ട് എക്സ്റ്റന്ഷനിലുള്ള ഫോണ്ടുകള് പരീക്ഷിച്ചുനോക്കി അവ നിങ്ങളുടെ കമ്പ്യൂട്ടറില് ഇന്സ്റ്റാള് ചെയ്യുന്നതിനു് ഈ താള് സഹായിക്കുന്നു.', |
| 631 | + 'webfonts-preview-title' => 'ഫോണ്ടുകള് പരീക്ഷിച്ചുനോക്കുക', |
| 632 | + 'webfonts-preview-download' => 'ഡൌണ്ലോഡ്', |
| 633 | + 'webfonts-preview-sampletext' => 'തിരഞ്ഞെടുത്ത ഫോണ്ട് പരീക്ഷിച്ചു നോക്കാനായി ഇവിടെ നിങ്ങള്ക്കിഷ്ടമുള്ളതെഴുതാം.', |
| 634 | + 'webfonts-preview-installing-fonts-title' => 'ഫോണ്ടുകള് ഇന്സ്റ്റാള് ചെയ്യുന്ന വിധം', |
| 635 | + 'webfonts-preview-installing-fonts-text' => 'മുകളില് കൊടുത്തിരിക്കുന്ന {{int:webfonts-preview-download}} കണ്ണി ഉപയോഗിച്ചു് നിങ്ങള്ക്കു് ഫോണ്ട് ഡൌണ്ലോഡ് ചെയ്യാം. അതിനു ശേഷം ഇന്സ്റ്റാള് ചെയ്യുന്നതിനായി [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts ഈ താള് സഹായിച്ചേക്കും.]', |
357 | 636 | ); |
358 | 637 | |
359 | 638 | /** Marathi (मराठी) |
360 | 639 | * @author Htt |
| 640 | + * @author Kaajawa |
| 641 | + * @author Mahitgar |
361 | 642 | */ |
362 | 643 | $messages['mr'] = array( |
363 | 644 | 'webfonts' => 'जालटंक', |
364 | 645 | 'webfonts-load' => 'टंक', |
365 | 646 | 'webfonts-reset' => 'पूर्ववत करा', |
| 647 | + 'webfonts-enable-preference' => '(WebFonts) फॉंट अंतःस्थापन (एंबेडिंग) सक्षम करा', |
| 648 | + 'webfonts-menu-tooltip' => 'पानासाठी टंक निवडा', |
| 649 | + 'webfonts-help' => 'मदत', |
| 650 | + 'webfonts-preview-download' => 'उतरवा', |
| 651 | + 'webfonts-preview-sampletext' => 'The quick brown fox jumps over the lazy dog कुणी अनुवादाचे हे खरे आव्हान पेलू शकेल काय ? मराठी भाषेतील प्रत्येक अक्षर येईल आणि एकदाच येईल किमान सर्वाधिक अक्षरे येतील अशी वाक्य रचना हवी आहे. येथे बदल करण्याकरिता तुम्हाला ट्रांसलेटविकि डॉट नेट वर आधी आपले खाते उघडून अनुवाद करू देण्याची फॉर्मॅलिटी पार पाडावी लागेल.', |
| 652 | + 'webfonts-preview-installing-fonts-title' => 'फॉंट इन्स्टॉलींग', |
366 | 653 | ); |
367 | 654 | |
368 | 655 | /** Malay (Bahasa Melayu) |
— | — | @@ -374,8 +661,31 @@ |
375 | 662 | 'webfonts-reset' => 'Set semula', |
376 | 663 | 'webfonts-enable-preference' => 'Hidupkan pembenaman fon (WebFonts)', |
377 | 664 | 'webfonts-menu-tooltip' => 'Pilih fon untuk laman ini', |
| 665 | + 'webfonts-help' => 'Bantuan', |
| 666 | + 'webfonts-preview-intro' => 'Laman ini membantu anda untuk mempralihat fon-fon yang terdapat dalam sambungan WebFonts, serta memilih untuk memuat turun dan memasang fon-fon itu dalam komputer anda.', |
| 667 | + 'webfonts-preview-title' => 'Pralihat fon', |
| 668 | + 'webfonts-preview-download' => 'Muat turun', |
| 669 | + 'webfonts-preview-sampletext' => 'Taufik ialah seorang pakar virus dan jurusinar X yang rajin membaca buku, gemar menonton wayang dan pandai menghafaz al-Quran.', |
| 670 | + 'webfonts-preview-installing-fonts-title' => 'Pemasangan Fon', |
| 671 | + 'webfonts-preview-installing-fonts-text' => 'Anda boleh memuat turun fon dengan menggunakan pautan {{int:webfonts-preview-download}} yang disediakan di atas. Untuk memasang fon yang dimuat turun ke dalam komputer anda, sila rujuk [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts dokumentasi ini]', |
378 | 672 | ); |
379 | 673 | |
| 674 | +/** Maltese (Malti) |
| 675 | + * @author Chrisportelli |
| 676 | + */ |
| 677 | +$messages['mt'] = array( |
| 678 | + 'webfonts-load' => 'Agħżel it-tipa', |
| 679 | +); |
| 680 | + |
| 681 | +/** Norwegian (bokmål) (Norsk (bokmål)) |
| 682 | + * @author Nghtwlkr |
| 683 | + */ |
| 684 | +$messages['nb'] = array( |
| 685 | + 'webfonts' => 'WebFonts', |
| 686 | + 'webfonts-desc' => 'Bygg inn fonter i sider', |
| 687 | + 'webfonts-load' => 'Velg font', |
| 688 | +); |
| 689 | + |
380 | 690 | /** Nepali (नेपाली) |
381 | 691 | * @author Bhawani Gautam |
382 | 692 | */ |
— | — | @@ -399,30 +709,43 @@ |
400 | 710 | 'webfonts-reset' => 'Opnieuw instellen', |
401 | 711 | 'webfonts-enable-preference' => 'Lettertypen insluiten inschakelen (WebFonts)', |
402 | 712 | 'webfonts-menu-tooltip' => 'Selecteer een lettertype voor de pagina', |
| 713 | + 'webfonts-help' => 'Hulp', |
| 714 | + 'webfonts-preview-intro' => 'Via deze pagina kunt u de lettertypen bekijken die beschikbaar zijn in de uitbreiding WebFonts en als u dat wilt, kunt u ze downloaden en installeren op uw computer.', |
| 715 | + 'webfonts-preview-title' => 'Voorvertoning lettertypen', |
| 716 | + 'webfonts-preview-download' => 'Downloaden', |
| 717 | + 'webfonts-preview-sampletext' => "Pa's wijze lynx bezag vroom het fikse aquaduct", |
| 718 | + 'webfonts-preview-installing-fonts-title' => 'Lettertypen installeren', |
| 719 | + 'webfonts-preview-installing-fonts-text' => 'U kunt een lettertype downloaden via de verwijzing "{{int:webfonts-preview-download}}" hierboven. Bekijk de [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts documentatie] om het gedownloade lettertype te installeren op uw computer.', |
403 | 720 | ); |
404 | 721 | |
405 | | -/** Norwegian (bokmål) (Norsk (bokmål)) |
406 | | - * @author Nghtwlkr |
407 | | - */ |
408 | | -$messages['no'] = array( |
409 | | - 'webfonts' => 'WebFonts', |
410 | | - 'webfonts-desc' => 'Bygg inn fonter i sider', |
411 | | - 'webfonts-load' => 'Velg font', |
412 | | -); |
413 | | - |
414 | 722 | /** Oriya (ଓଡ଼ିଆ) |
| 723 | + * @author Jnanaranjan Sahu |
415 | 724 | * @author Odisha1 |
416 | 725 | * @author Psubhashish |
417 | 726 | */ |
418 | 727 | $messages['or'] = array( |
| 728 | + 'webfonts' => 'ୱେବଫଣ୍ଟ', |
| 729 | + 'webfonts-desc' => 'ପୃଷ୍ଠାରେ ଏମବେଡ଼ କରାଯାଇଥିବା ଫଣ୍ଟ', |
| 730 | + 'webfonts-load' => 'ଫଣ୍ଟ ବାଛିବେ', |
419 | 731 | 'webfonts-reset' => 'ପୁନସ୍ଥାପନ', |
| 732 | + 'webfonts-enable-preference' => 'ଫଣ୍ଟ ଏମବେଡ଼ କରିବା ସଚଳ କରିବେ (ୱେବ ଫଣ୍ଟ)', |
| 733 | + 'webfonts-menu-tooltip' => 'ଏହି ପୃଷ୍ଠା ପାଇଁ ଏକ ଫଣ୍ଟ ବାଛିବେ', |
| 734 | + 'webfonts-help' => 'ସହଯୋଗ', |
| 735 | + 'webfonts-preview-download' => 'ଡାଉନଲୋଡ', |
420 | 736 | ); |
421 | 737 | |
422 | 738 | /** Polish (Polski) |
| 739 | + * @author Olgak85 |
423 | 740 | * @author Woytecr |
424 | 741 | */ |
425 | 742 | $messages['pl'] = array( |
| 743 | + 'webfonts' => 'WebFonts', |
| 744 | + 'webfonts-desc' => 'Czcionki osadzone na stronach', |
426 | 745 | 'webfonts-load' => 'Wybierz czcionkę', |
| 746 | + 'webfonts-reset' => 'Reset', |
| 747 | + 'webfonts-enable-preference' => 'Włącz osadzanie czcionek', |
| 748 | + 'webfonts-menu-tooltip' => 'Wybierz czcionkę dla strony', |
| 749 | + 'webfonts-help' => 'Pomoc', |
427 | 750 | ); |
428 | 751 | |
429 | 752 | /** Piedmontese (Piemontèis) |
— | — | @@ -435,6 +758,14 @@ |
436 | 759 | 'webfonts-load' => "Ch'a selession-a un tipo ëd caràter", |
437 | 760 | 'webfonts-reset' => 'Spian-a', |
438 | 761 | 'webfonts-enable-preference' => "Abilité l'anseriment ëd tipo ëd caràter (Caràter dl'aragnà)", |
| 762 | + 'webfonts-menu-tooltip' => 'Selessioné un tipo ëd caràter për la pàgina', |
| 763 | + 'webfonts-help' => 'Agiut', |
| 764 | + 'webfonts-preview-intro' => "Sta pagina a giuta a mosté ij caràter disponìbij ant l'estension WebFonts e opsionalment a dëscarieje e anstaleje an tò calcolador.", |
| 765 | + 'webfonts-preview-title' => 'Preuva ij caràter', |
| 766 | + 'webfonts-preview-download' => 'Dëscaria', |
| 767 | + 'webfonts-preview-sampletext' => 'La cita volp maròn a sàuta dlà dël can fòl', |
| 768 | + 'webfonts-preview-installing-fonts-title' => 'Anstalé Caràter', |
| 769 | + 'webfonts-preview-installing-fonts-text' => 'It peule dëscarié un caròter an dovrand ël colegament {{int:webfonts-preview-download}} dàit dzora. Për anstalé ël caròter dëscarià an tò calcolador, për piasè fa arferiment a [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts sta documentassion]', |
439 | 770 | ); |
440 | 771 | |
441 | 772 | /** Pashto (پښتو) |
— | — | @@ -442,6 +773,8 @@ |
443 | 774 | */ |
444 | 775 | $messages['ps'] = array( |
445 | 776 | 'webfonts-load' => 'ليکبڼه ټاکل', |
| 777 | + 'webfonts-reset' => 'بياايښودل', |
| 778 | + 'webfonts-help' => 'لارښود', |
446 | 779 | ); |
447 | 780 | |
448 | 781 | /** Portuguese (Português) |
— | — | @@ -454,14 +787,43 @@ |
455 | 788 | 'webfonts-reset' => 'Reiniciar', |
456 | 789 | ); |
457 | 790 | |
| 791 | +/** Brazilian Portuguese (Português do Brasil) |
| 792 | + * @author Rafael Vargas |
| 793 | + */ |
| 794 | +$messages['pt-br'] = array( |
| 795 | + 'webfonts' => 'WebFonts', |
| 796 | + 'webfonts-desc' => 'Incorporar as fontes nas páginas', |
| 797 | + 'webfonts-load' => 'Selecione a fonte', |
| 798 | + 'webfonts-reset' => 'Restaurar', |
| 799 | + 'webfonts-enable-preference' => 'Habilitar incorporação de fontes (WebFonts)', |
| 800 | + 'webfonts-menu-tooltip' => 'Selecione uma fonte para a página', |
| 801 | + 'webfonts-help' => 'Ajuda', |
| 802 | +); |
| 803 | + |
458 | 804 | /** Romanian (Română) |
| 805 | + * @author Firilacroco |
459 | 806 | * @author Minisarm |
460 | 807 | */ |
461 | 808 | $messages['ro'] = array( |
| 809 | + 'webfonts-reset' => 'Resetează', |
462 | 810 | 'webfonts-enable-preference' => 'Activează încorporarea fonturilor (WebFonts)', |
463 | 811 | ); |
464 | 812 | |
| 813 | +/** Tarandíne (Tarandíne) |
| 814 | + * @author Joetaras |
| 815 | + */ |
| 816 | +$messages['roa-tara'] = array( |
| 817 | + 'webfonts' => 'WebFonts', |
| 818 | + 'webfonts-desc' => "'Ngapsule le font jndr'à pàgene", |
| 819 | + 'webfonts-load' => "Scacchie 'u font", |
| 820 | + 'webfonts-reset' => 'Azzere', |
| 821 | + 'webfonts-enable-preference' => "Abbilite 'u 'ngapsulamende de le font (WebFonts)", |
| 822 | + 'webfonts-menu-tooltip' => "Scacchie 'nu font pa pàgene", |
| 823 | + 'webfonts-help' => 'Ajute', |
| 824 | +); |
| 825 | + |
465 | 826 | /** Russian (Русский) |
| 827 | + * @author Eugrus |
466 | 828 | * @author Lockal |
467 | 829 | * @author Александр Сигачёв |
468 | 830 | */ |
— | — | @@ -470,9 +832,13 @@ |
471 | 833 | 'webfonts-desc' => 'Позволяет встраивать шрифты на страницы', |
472 | 834 | 'webfonts-load' => 'Выбрать шрифт', |
473 | 835 | 'webfonts-reset' => 'Сбросить', |
| 836 | + 'webfonts-enable-preference' => 'Включить внедрение шрифтов (WebFonts)', |
| 837 | + 'webfonts-menu-tooltip' => 'Выберите шрифт для страницы', |
| 838 | + 'webfonts-help' => 'Справка', |
474 | 839 | ); |
475 | 840 | |
476 | 841 | /** Sanskrit (संस्कृतम्) |
| 842 | + * @author Ansumang |
477 | 843 | * @author Bhawani Gautam |
478 | 844 | */ |
479 | 845 | $messages['sa'] = array( |
— | — | @@ -481,8 +847,29 @@ |
482 | 848 | 'webfonts-load' => 'वर्णानि चयनं करोतु', |
483 | 849 | 'webfonts-reset' => 'पुनर्स्थापयतु', |
484 | 850 | 'webfonts-enable-preference' => 'वर्णस्थापना (वेबफ़ॉन्ट) सक्रियं करोतु', |
| 851 | + 'webfonts-help' => 'साहाय्यम्', |
485 | 852 | ); |
486 | 853 | |
| 854 | +/** Sicilian (Sicilianu) |
| 855 | + * @author Aushulz |
| 856 | + */ |
| 857 | +$messages['scn'] = array( |
| 858 | + 'webfonts-help' => 'Aiutu', |
| 859 | +); |
| 860 | + |
| 861 | +/** Sinhala (සිංහල) |
| 862 | + * @author පසිඳු කාවින්ද |
| 863 | + */ |
| 864 | +$messages['si'] = array( |
| 865 | + 'webfonts' => 'ජාලක්ෂර', |
| 866 | + 'webfonts-desc' => 'පිටු මත එබ්බවූ අක්ෂර', |
| 867 | + 'webfonts-load' => 'අක්ෂරය තෝරන්න', |
| 868 | + 'webfonts-reset' => 'ප්රත්යාරම්භ කරන්න', |
| 869 | + 'webfonts-enable-preference' => 'අක්ෂර එබ්බවීම සක්රිය කරන්න (ජලාක්ෂර)', |
| 870 | + 'webfonts-menu-tooltip' => 'පිටුව සඳහා අක්ෂරයක් තෝරන්න', |
| 871 | + 'webfonts-help' => 'උදව්', |
| 872 | +); |
| 873 | + |
487 | 874 | /** Slovenian (Slovenščina) |
488 | 875 | * @author Dbc334 |
489 | 876 | */ |
— | — | @@ -492,6 +879,8 @@ |
493 | 880 | 'webfonts-load' => 'Izberite pisavo', |
494 | 881 | 'webfonts-reset' => 'Ponastavi', |
495 | 882 | 'webfonts-enable-preference' => 'Omogoči vdelavo pisav (SpletnePisave)', |
| 883 | + 'webfonts-menu-tooltip' => 'Izberite pisavo strani', |
| 884 | + 'webfonts-help' => 'Pomoč', |
496 | 885 | ); |
497 | 886 | |
498 | 887 | /** Serbian (Cyrillic script) (Српски (ћирилица)) |
— | — | @@ -501,8 +890,19 @@ |
502 | 891 | 'webfonts' => 'Веб фонтови', |
503 | 892 | 'webfonts-desc' => 'Угради фонтове на страницама', |
504 | 893 | 'webfonts-load' => 'Изабери фонт', |
| 894 | + 'webfonts-reset' => 'Поништи', |
| 895 | + 'webfonts-enable-preference' => 'Омогући уграђивање фонта (WebFonts)', |
| 896 | + 'webfonts-menu-tooltip' => 'Изаберите фонт за страницу', |
| 897 | + 'webfonts-help' => 'Помоћ', |
505 | 898 | ); |
506 | 899 | |
| 900 | +/** Serbian (Latin script) (Srpski (latinica)) */ |
| 901 | +$messages['sr-el'] = array( |
| 902 | + 'webfonts' => 'Veb fontovi', |
| 903 | + 'webfonts-desc' => 'Ugradi fontove na stranicama', |
| 904 | + 'webfonts-load' => 'Izaberi font', |
| 905 | +); |
| 906 | + |
507 | 907 | /** Swedish (Svenska) |
508 | 908 | * @author WikiPhoenix |
509 | 909 | */ |
— | — | @@ -511,6 +911,9 @@ |
512 | 912 | 'webfonts-desc' => 'Bäddar in typsnitt i sidor', |
513 | 913 | 'webfonts-load' => 'Välj typsnitt', |
514 | 914 | 'webfonts-reset' => 'Återställ', |
| 915 | + 'webfonts-enable-preference' => 'Aktivera typsnittsinbäddning (WebFonts)', |
| 916 | + 'webfonts-menu-tooltip' => 'Välj ett typsnitt för sidan', |
| 917 | + 'webfonts-help' => 'Hjälp', |
515 | 918 | ); |
516 | 919 | |
517 | 920 | /** Tamil (தமிழ்) |
— | — | @@ -523,9 +926,17 @@ |
524 | 927 | 'webfonts-load' => 'எழுத்துரு மாற்ற', |
525 | 928 | 'webfonts-reset' => 'இயல்பு எழுத்துரு', |
526 | 929 | 'webfonts-enable-preference' => 'எழுத்துரு புதைத்தல் (இணைய எழுத்துருக்களை) பயன்படுத்துக', |
| 930 | + 'webfonts-menu-tooltip' => 'பக்கத்திற்கான எழுத்துருவை தேர்வு செய்க', |
527 | 931 | 'webfonts-help' => 'உதவி', |
528 | 932 | ); |
529 | 933 | |
| 934 | +/** Telugu (తెలుగు) |
| 935 | + * @author Veeven |
| 936 | + */ |
| 937 | +$messages['te'] = array( |
| 938 | + 'webfonts-help' => 'సహాయం', |
| 939 | +); |
| 940 | + |
530 | 941 | /** Tagalog (Tagalog) |
531 | 942 | * @author AnakngAraw |
532 | 943 | */ |
— | — | @@ -544,19 +955,87 @@ |
545 | 956 | ); |
546 | 957 | |
547 | 958 | /** Ukrainian (Українська) |
| 959 | + * @author A1 |
548 | 960 | * @author Microcell |
| 961 | + * @author Тест |
549 | 962 | */ |
550 | 963 | $messages['uk'] = array( |
| 964 | + 'webfonts' => 'WebFonts', |
| 965 | + 'webfonts-desc' => 'Дозволяє вбудовувати шрифти у сторінки', |
551 | 966 | 'webfonts-load' => 'Обрати шрифт', |
| 967 | + 'webfonts-reset' => 'Скинути', |
| 968 | + 'webfonts-menu-tooltip' => 'Виберіть шрифт для сторінки', |
| 969 | + 'webfonts-help' => 'Допомога', |
| 970 | + 'webfonts-preview-download' => 'Завантажити', |
552 | 971 | ); |
553 | 972 | |
| 973 | +/** Veps (Vepsän kel') |
| 974 | + * @author Игорь Бродский |
| 975 | + */ |
| 976 | +$messages['vep'] = array( |
| 977 | + 'webfonts' => 'WebFonts', |
| 978 | + 'webfonts-load' => 'Valiče šrift', |
| 979 | + 'webfonts-menu-tooltip' => 'Valiče šrift lehtpolen täht', |
| 980 | + 'webfonts-help' => 'Abu', |
| 981 | +); |
| 982 | + |
554 | 983 | /** Vietnamese (Tiếng Việt) |
555 | 984 | * @author Minh Nguyen |
| 985 | + * @author Vinhtantran |
556 | 986 | */ |
557 | 987 | $messages['vi'] = array( |
558 | 988 | 'webfonts' => 'Phông chữ Web', |
559 | 989 | 'webfonts-desc' => 'Nhúng phông chữ vào các trang', |
560 | 990 | 'webfonts-load' => 'Chọn phông chữ', |
561 | 991 | 'webfonts-reset' => 'Mặc định lại', |
| 992 | + 'webfonts-enable-preference' => 'Bật các phông chữ được nhúng vào (WebFonts)', |
| 993 | + 'webfonts-menu-tooltip' => 'Chọn phông chữ để sử dụng trong trang', |
| 994 | + 'webfonts-help' => 'Trợ giúp', |
562 | 995 | ); |
563 | 996 | |
| 997 | +/** Yiddish (ייִדיש) |
| 998 | + * @author Imre |
| 999 | + */ |
| 1000 | +$messages['yi'] = array( |
| 1001 | + 'webfonts-help' => 'הילף', |
| 1002 | +); |
| 1003 | + |
| 1004 | +/** Simplified Chinese (中文(简体)) |
| 1005 | + * @author Anakmalaysia |
| 1006 | + * @author Liangent |
| 1007 | + */ |
| 1008 | +$messages['zh-hans'] = array( |
| 1009 | + 'webfonts' => 'WebFonts', |
| 1010 | + 'webfonts-desc' => '在页面中嵌入字体', |
| 1011 | + 'webfonts-load' => '选择字体', |
| 1012 | + 'webfonts-reset' => '重置', |
| 1013 | + 'webfonts-enable-preference' => '启用字体嵌入(WebFonts)', |
| 1014 | + 'webfonts-menu-tooltip' => '为本页选择字体', |
| 1015 | + 'webfonts-help' => '帮助', |
| 1016 | + 'webfonts-preview-intro' => '本页面可以帮助您预览在WebFonts扩展可用的字体,并可选下载并安装字体。', |
| 1017 | + 'webfonts-preview-title' => '预览字体', |
| 1018 | + 'webfonts-preview-download' => '下载', |
| 1019 | + 'webfonts-preview-sampletext' => '平雪迎骨水直', |
| 1020 | + 'webfonts-preview-installing-fonts-title' => '安装字体', |
| 1021 | + 'webfonts-preview-installing-fonts-text' => '您可以使用上面给出的{{int:webfonts-preview-download}}链接下载字体。要安装在您的电脑上下载的字体,请参阅[//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts 此文档]。', |
| 1022 | +); |
| 1023 | + |
| 1024 | +/** Traditional Chinese (中文(繁體)) |
| 1025 | + * @author Anakmalaysia |
| 1026 | + */ |
| 1027 | +$messages['zh-hant'] = array( |
| 1028 | + 'webfonts' => 'WebFonts', |
| 1029 | + 'webfonts-desc' => '在頁面中嵌入字體', |
| 1030 | + 'webfonts-load' => '選擇字體', |
| 1031 | + 'webfonts-reset' => '重置', |
| 1032 | + 'webfonts-enable-preference' => '啟用字體嵌入(WebFonts)', |
| 1033 | + 'webfonts-menu-tooltip' => '為本頁選擇字體', |
| 1034 | + 'webfonts-help' => '幫助', |
| 1035 | + 'webfonts-preview-intro' => '本頁面可以幫助您預覽在WebFonts擴展可用的字體,並可選下載並安裝字體。', |
| 1036 | + 'webfonts-preview-title' => '預覽字體', |
| 1037 | + 'webfonts-preview-download' => '下載', |
| 1038 | + 'webfonts-preview-sampletext' => '平雪迎骨水直', |
| 1039 | + 'webfonts-preview-installing-fonts-title' => '安裝字體', |
| 1040 | + 'webfonts-preview-installing-fonts-text' => '您可以使用上面給出的{{int:webfonts-preview-download}}連結下載字體。要安裝在您的電腦上下載的字體,請參閱[//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts 此文檔]。', |
| 1041 | +); |
| 1042 | + |
Index: branches/wmf/1.18wmf1/extensions/WebFonts/WebFonts.php |
— | — | @@ -21,6 +21,7 @@ |
22 | 22 | $wgExtensionCredits['parserhook'][] = array( |
23 | 23 | 'path' => __FILE__, |
24 | 24 | 'name' => 'WebFonts', |
| 25 | + 'version' => '1.0', |
25 | 26 | 'author' => array( 'Santhosh Thottingal', 'Niklas Laxström' ), |
26 | 27 | 'url' => 'https://www.mediawiki.org/wiki/Extension:WebFonts', |
27 | 28 | 'descriptionmsg' => 'webfonts-desc', |
— | — | @@ -30,17 +31,22 @@ |
31 | 32 | |
32 | 33 | // Internationalization |
33 | 34 | $wgExtensionMessagesFiles['WebFonts'] = "$dir/WebFonts.i18n.php"; |
| 35 | +$wgExtensionMessagesFiles['WebFontsAlias'] = "$dir/WebFonts.alias.php"; |
34 | 36 | |
35 | 37 | // Register auto load for the page class |
36 | 38 | $wgAutoloadClasses['WebFontsHooks'] = "$dir/WebFonts.hooks.php"; |
| 39 | +$wgAutoloadClasses['SpecialWebFonts'] = "$dir/SpecialWebFonts.php"; |
37 | 40 | |
38 | 41 | $wgHooks['BeforePageDisplay'][] = 'WebFontsHooks::addModules'; |
39 | 42 | $wgHooks['GetPreferences'][] = 'WebFontsHooks::addPreference'; |
40 | 43 | $wgHooks['UserGetDefaultOptions'][] = 'WebFontsHooks::addDefaultOptions'; |
41 | 44 | $wgHooks['ResourceLoaderGetConfigVars'][] = 'WebFontsHooks::addConfig'; |
42 | 45 | |
43 | | -$wgWebFontsEnabledByDefault = true; |
| 46 | +$wgWebFontsEnabledByDefault = true; |
44 | 47 | |
| 48 | +$wgSpecialPages['WebFonts'] = 'SpecialWebFonts'; |
| 49 | +$wgSpecialPageGroups['WebFonts'] = 'wiki'; |
| 50 | + |
45 | 51 | $wgResourceModules['ext.webfonts.init'] = array( |
46 | 52 | 'scripts' => 'resources/ext.webfonts.init.js', |
47 | 53 | 'localBasePath' => $dir, |
— | — | @@ -60,10 +66,22 @@ |
61 | 67 | 'remoteExtPath' => 'WebFonts', |
62 | 68 | 'messages' => array( |
63 | 69 | 'webfonts-load', |
64 | | - 'webfonts-reset', |
| 70 | + 'webfonts-reset', |
65 | 71 | 'webfonts-menu-tooltip', |
66 | 72 | 'webfonts-help', |
67 | 73 | ), |
68 | | - 'dependencies' => 'jquery.cookie', |
| 74 | + 'dependencies' => array( |
| 75 | + 'jquery.cookie', |
| 76 | + 'mediawiki.util', |
| 77 | + ), |
69 | 78 | 'position' => 'top', |
70 | 79 | ); |
| 80 | + |
| 81 | +$wgResourceModules['ext.webfonts.preview'] = array( |
| 82 | + 'scripts' => 'resources/ext.webfonts.preview.js', |
| 83 | + 'styles' => 'resources/ext.webfonts.preview.css', |
| 84 | + 'localBasePath' => $dir, |
| 85 | + 'remoteExtPath' => 'WebFonts', |
| 86 | + 'dependencies' => 'ext.webfonts.core', |
| 87 | + 'position' => 'top', |
| 88 | +); |
Index: branches/wmf/1.18wmf1/extensions/WebFonts/SpecialWebFonts.php |
— | — | @@ -0,0 +1,72 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Contains logic for special page Special:WebFonts |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @author Santhosh Thottingal |
| 8 | + * @copyright Copyright © 2012 Santhosh Thottingal |
| 9 | + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
| 10 | + */ |
| 11 | + |
| 12 | +class SpecialWebFonts extends SpecialPage { |
| 13 | + public function __construct() { |
| 14 | + parent::__construct( 'WebFonts' ); |
| 15 | + } |
| 16 | + |
| 17 | + public function execute( $params ) { |
| 18 | + global $wgOut, $wgLang; |
| 19 | + $this->out = $wgOut; |
| 20 | + $this->lang = $wgLang->getCode(); |
| 21 | + if ( isset( $params ) ) { |
| 22 | + $this->lang = $params; |
| 23 | + } |
| 24 | + $wgOut->addModules( 'ext.webfonts.preview' ); |
| 25 | + $this->setHeaders(); |
| 26 | + $this->out->setPageTitle( wfMsg( 'webfonts' ) ); |
| 27 | + $this->out->addWikiMsg( 'webfonts-preview-intro' ); |
| 28 | + $this->showPreviewForm(); |
| 29 | + } |
| 30 | + |
| 31 | + protected function showPreviewForm() { |
| 32 | + $this->out->wrapWikiMsg( '==$1==', 'webfonts-preview-title' ) ; |
| 33 | + $this->out->addHtml( $this->showToolbar() ); |
| 34 | + $editArea = Html::Element( 'div', array( 'id' => 'webfonts-preview-area' , 'contenteditable' => 'true' ) , |
| 35 | + wfMsg( 'webfonts-preview-sampletext' ) ) ; |
| 36 | + $this->out->addHtml( $editArea ); |
| 37 | + $this->out->wrapWikiMsg( '==$1==', 'webfonts-preview-installing-fonts-title' ) ; |
| 38 | + $this->out->addWikiMsg( 'webfonts-preview-installing-fonts-text' ); |
| 39 | + } |
| 40 | + |
| 41 | + protected function showToolbar() { |
| 42 | + $langSelector = Xml::languageSelector( $this->lang ); |
| 43 | + |
| 44 | + $fontSelector = new XmlSelect(); |
| 45 | + $fontSelector->setAttribute( 'id', 'webfonts-font-chooser' ); |
| 46 | + |
| 47 | + $sizeSelector = new XmlSelect(); |
| 48 | + $sizeSelector->setAttribute( 'id', 'webfonts-size-chooser' ); |
| 49 | + for ( $size = 8; $size <= 28; $size += 2 ) { |
| 50 | + $sizeSelector->addOption( $size , $size ); |
| 51 | + } |
| 52 | + $sizeSelector->setDefault( 16 ); |
| 53 | + |
| 54 | + $bold = Html::Element( 'button', array( 'id' => 'webfonts-preview-bold' ) , 'B' ); |
| 55 | + |
| 56 | + $italic = Html::Element( 'button', array( 'id' => 'webfonts-preview-italic' ) , 'I' ); |
| 57 | + |
| 58 | + $underline = Html::Element( 'button', array( 'id' => 'webfonts-preview-underline' ) , 'U' ); |
| 59 | + |
| 60 | + $download = Html::Element( 'a', array( 'id' => 'webfonts-preview-download', 'href' => '#' ) , |
| 61 | + wfMsg( 'webfonts-preview-download' ) ); |
| 62 | + |
| 63 | + return Html::openElement( 'div', array( 'id' => 'webfonts-preview-toolbar' ) ) |
| 64 | + . $langSelector[1] |
| 65 | + . $fontSelector->getHtml() |
| 66 | + . $sizeSelector->getHtml() |
| 67 | + . $bold |
| 68 | + . $italic |
| 69 | + . $underline |
| 70 | + . $download |
| 71 | + . Html::closeElement( 'div' ); |
| 72 | + } |
| 73 | +} |
Property changes on: branches/wmf/1.18wmf1/extensions/WebFonts/SpecialWebFonts.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 74 | + native |
Added: svn:keywords |
2 | 75 | + Id |