http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82826
Revision: 82826
Author: kaldari
Date: 2011-02-26 02:20:41 +0000 (Sat, 26 Feb 2011)
Log Message:
-----------
new help system - Bug 24691
Modified Paths:
--------------
trunk/extensions/UploadWizard/UploadWizard.i18n.php
trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.css
trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.js
trunk/extensions/UploadWizard/resources/jquery/jquery.tipsyPlus.js
trunk/extensions/UploadWizard/resources/mw.UploadWizard.js
trunk/extensions/UploadWizard/resources/uploadWizard.css
Modified: trunk/extensions/UploadWizard/UploadWizard.i18n.php
===================================================================
--- trunk/extensions/UploadWizard/UploadWizard.i18n.php 2011-02-26 00:47:48 UTC
(rev 82825)
+++ trunk/extensions/UploadWizard/UploadWizard.i18n.php 2011-02-26 02:20:41 UTC
(rev 82826)
@@ -106,7 +106,7 @@
'mwe-upwiz-source-custom' => 'Provide copyright information for each
file individually on the next page.',
'mwe-upwiz-more-options' => 'more options...',
'mwe-upwiz-fewer-options' => 'fewer options...',
- 'mwe-upwiz-desc' => 'Description in',
+ 'mwe-upwiz-desc' => 'Description',
'mwe-upwiz-desc-add-n' => 'add a description in another language',
'mwe-upwiz-desc-add-0' => 'add a description',
'mwe-upwiz-title' => 'Title',
@@ -160,13 +160,12 @@
'mwe-upwiz-tooltip-source' => 'Where this digital file came from --
could be a URL, or a book or publication',
'mwe-upwiz-tooltip-sign' => 'You can use your wiki user name or your
real name.
In both cases, this will be linked to your wiki user page',
- 'mwe-upwiz-tooltip-title' => 'A short title for the file.
-You may use plain language with spaces, but no line breaks.
-This title must be unlike all other titles in this wiki.',
+ 'mwe-upwiz-tooltip-title' => 'A short unique title for the file. You
may use plain language with spaces. Do not include the file extension. <a
target="_blank" onclick="$titleDialog.dialog(\'open\');return false;"
href="#">Learn more</a>.',
+ 'mwe-upwiz-dialog-title' => 'Files can be uploaded with names in any
language in any script (coded as UTF-8). Titles of media files should be
meaningful and helpful in the language chosen.',
'mwe-upwiz-tooltip-description' => 'Briefly describe everything notable
about the work.
-For a photo, mention the main things that are depicted, the occasion or the
place.',
- 'mwe-upwiz-tooltip-other' => 'Any other information you want to include
about this work.
-You may use wikitext code.',
+For a photo, mention the main things that are depicted, the occasion, or the
place.',
+ 'mwe-upwiz-tooltip-categories' => 'Add <a target="_blank"
href="http://commons.wikimedia.org/wiki/Commons:Categories">categories</a> to
your file to make it easier to find.',
+ 'mwe-upwiz-tooltip-other' => 'Any other information you want to include
about this work. Place <a target="_blank"
href="http://commons.wikimedia.org/wiki/Commons:Geocoding">geocoding</a>
templates here.',
'mwe-upwiz-tooltip-more-info' => 'Learn more.',
'mwe-upwiz-file-need-file' => 'Please add an upload first.',
'mwe-upwiz-file-need-start' => 'Please press this button to start your
uploads.',
@@ -650,17 +649,17 @@
'mwe-upwiz-step-deeds' => 'Grataat gwirioù',
'mwe-upwiz-step-details' => 'Deskrivañ',
'mwe-upwiz-step-thanks' => 'Implijout',
- 'mwe-upwiz-api-error-http' => "Fazi diabarzh : dibosupl kevreañ d'ar
servijer.",
- 'mwe-upwiz-api-error-ok-but-empty' => 'Fazi diabarzh : respont ebet
a-berzh ar servijer.',
- 'mwe-upwiz-api-error-unknown-code' => 'Fazi dianav : "$1"',
+ 'mwe-upwiz-api-error-http' => "Ur gudenn a zo bet pa veze kevreet d'ar
servij.",
+ 'mwe-upwiz-api-error-ok-but-empty' => "N'eo ket bet adkaset titouroù
diwar-benn an enporzh gant ar servijer.",
+ 'mwe-upwiz-api-error-unknown-code' => 'Adkaset en deus ar servijer ur
fazi ha ne gomprenomp ket : "$1"',
'mwe-upwiz-api-error-uploaddisabled' => 'Diweredekaat eo an enporzh war
ar wiki-mañ.',
- 'mwe-upwiz-api-error-nomodule' => 'Fazi diabarzh : tamm modulenn
enporzhiañ ebet.',
+ 'mwe-upwiz-api-error-nomodule' => "N'en deus ket gouezet ar wiki penaos
krouiñ an enporzh-se.",
'mwe-upwiz-api-error-mustbeposted' => 'Un draen a zo er poellad-mañ ;
ne implij ket an hentenn HTTP ret.',
- 'mwe-upwiz-api-error-badaccess-groups' => "N'oc'h ket aotreet da
enporzhiañ restroù war ar wiki-mañ.",
- 'mwe-upwiz-api-error-stashfailed' => "Fazi diabarzh : dibosupl d'ar
servijer enrollañ ar restr padennek.",
- 'mwe-upwiz-api-error-missingresult' => 'Fazi diabarzh : dibosupl
termeniñ hag eilet eo bet an traoù ervat.',
- 'mwe-upwiz-api-error-missingparam' => 'Fazi diabarzh : Arventennoù a
vank er reked.',
- 'mwe-upwiz-api-error-invalid-session-key' => "Fazi diabarzh : n'eo ket
bet kavet ar restr er stokañ da c'hortoz.",
+ 'mwe-upwiz-api-error-badaccess-groups' => "N'oc'h ket aotreet da
enporzhiañ restroù war ar wiki-mañ. Mar plij gwiriekait e peseurt strolladoù ez
oc'h.",
+ 'mwe-upwiz-api-error-stashfailed' => "N'en deus ket gellet ar wiki
enrollañ ar restr",
+ 'mwe-upwiz-api-error-missingresult' => "N'on eus ket gellet tremeniñ ha
mat e oa bet an eilañ pe get.",
+ 'mwe-upwiz-api-error-missingparam' => "N'en doa ket an enporzh an holl
ditouroù ret (moarvat un drein er poellad-mañ).",
+ 'mwe-upwiz-api-error-invalid-session-key' => "N'en deus ket gellet ar
servijer kavout ar restr-mañ en ho restroù enporzhiet.",
'mwe-upwiz-api-error-copyuploaddisabled' => 'Diweredekaet eo an
enporzhioù dre eilañ.',
'mwe-upwiz-api-error-mustbeloggedin' => "N'oc'h ket kevreet en un doare
reizh.",
'mwe-upwiz-api-error-empty-file' => "Ar restr hoc'h eus roet a oa
goullo.",
@@ -670,7 +669,7 @@
'mwe-upwiz-api-error-filename-tooshort' => 'Re verr eo anv ar restr.',
'mwe-upwiz-api-error-illegal-filename' => "N'eo ket aotreet anv ar
restr.",
'mwe-upwiz-api-error-verification-error' => 'Pe eo brein ar restr pe eo
fall an astenn anezhi.',
- 'mwe-upwiz-api-error-hookaborted' => "Ar c'hemm hoc'h eus klasket degas
zo bet harzet gant ur c'hrog astenn.",
+ 'mwe-upwiz-api-error-hookaborted' => "Ar c'hemm hoc'h eus klasket ober
a zo bet paouezet gant ur sonnell astenn.",
'mwe-upwiz-api-error-unknown-error' => "Un dra (n'ouzomp ket petra) 'zo
aet da fall pa oac'h o klask enporzhiañ ho restr.",
'mwe-upwiz-api-error-internal-error' => 'Un dra bennak a zo aet a dreuz
pa veze tretet ho enporzh war ar wiki.',
'mwe-upwiz-api-error-overwrite' => "N'eo ket aotreet frikañ ur restr zo
anezhi c'hoazh.",
@@ -833,19 +832,19 @@
'mwe-upwiz-step-deeds' => 'Prava izdavanja',
'mwe-upwiz-step-details' => 'Opiši',
'mwe-upwiz-step-thanks' => 'Koristi',
- 'mwe-upwiz-api-error-http' => 'Unutrašnja greška: ne može se spojiti na
server.',
- 'mwe-upwiz-api-error-ok-but-empty' => 'Unutrašnja greška: nema odgovora
od servera.',
- 'mwe-upwiz-api-error-unknown-code' => 'Nepoznata greška: "$1"',
+ 'mwe-upwiz-api-error-http' => 'Nastao je problem pri spajanju na
uslugu.',
+ 'mwe-upwiz-api-error-ok-but-empty' => 'Server nije vratio nijedan
podatak o postavljanju.',
+ 'mwe-upwiz-api-error-unknown-code' => 'Server je vratio grešku koju
nismo mogli razumjeti: "$1"',
'mwe-upwiz-api-error-uploaddisabled' => 'Postavljanje je onemogućeno na
ovoj wiki.',
- 'mwe-upwiz-api-error-nomodule' => 'Unutrašnja greška: nije postavljen
modul za postavljanje.',
+ 'mwe-upwiz-api-error-nomodule' => 'Wiki nije znala kako da obradi ovo
postavljanje.',
'mwe-upwiz-api-error-mustbeposted' => 'Postoji greška u ovom softverz;
ne koristi pravilan HTTP metod.',
- 'mwe-upwiz-api-error-badaccess-groups' => 'Nemate ovlasti da
postavljate datoteke na ovoj wiki.',
- 'mwe-upwiz-api-error-stashfailed' => 'Unutrašnja greška: server nije
mogao da spremi privremenu datoteku.',
- 'mwe-upwiz-api-error-missingresult' => 'Unutrašnja greška: ne može se
otkriti da li je kopiranje uspjelo.',
- 'mwe-upwiz-api-error-missingparam' => 'Unutrašnja greška: nedostaju
parametri u zahtjevu.',
- 'mwe-upwiz-api-error-invalid-session-key' => 'Unutrašnja greška:
datoteka nije pronađena u privremenom skladištu.',
- 'mwe-upwiz-api-error-copyuploaddisabled' => 'Postavljanja putem URL-a
su onemogućena na ovom serveru.',
- 'mwe-upwiz-api-error-mustbeloggedin' => 'Morate biti prijavljeni da
biste postavljali datoteke.',
+ 'mwe-upwiz-api-error-badaccess-groups' => 'Nemate ovlasti da
postavljate datoteke na ovoj wiki. Provjerite kojoj grupi pristupa pripadate.',
+ 'mwe-upwiz-api-error-stashfailed' => 'Wiki nije mogao da spremi
datoteku.',
+ 'mwe-upwiz-api-error-missingresult' => 'Nismo mogli da otkrijemo da li
je kopiranje uspjelo.',
+ 'mwe-upwiz-api-error-missingparam' => 'Postavljanje nije imalo sve
neophodne podatke (možda je greška u ovom postavljaču.)',
+ 'mwe-upwiz-api-error-invalid-session-key' => 'Server nije mogao naći tu
datoteku u vašim postavljenim datotekama.',
+ 'mwe-upwiz-api-error-copyuploaddisabled' => 'Postavljanja putem
kopiranja su onemogućena.',
+ 'mwe-upwiz-api-error-mustbeloggedin' => 'Niste pravilno prijavljeni.',
'mwe-upwiz-api-error-empty-file' => 'Datoteka koju ste poslali je bila
prazna.',
'mwe-upwiz-api-error-file-too-large' => 'Datoteka koju ste poslali je
bila prevelika.',
'mwe-upwiz-api-error-filetype-missing' => 'Datoteci nedostaje
nastavak.',
@@ -854,11 +853,11 @@
'mwe-upwiz-api-error-illegal-filename' => 'Ime datoteke nije
dopušteno.',
'mwe-upwiz-api-error-verification-error' => 'Ova datoteka je možda
oštećenja ili ima pogrešan nastavak.',
'mwe-upwiz-api-error-hookaborted' => 'Izmjena koji ste pokušali
načiniti je obustavljena preko kuke proširenja.',
- 'mwe-upwiz-api-error-unknown-error' => 'Unutrašnja greška: desila se
neka greška pri pokušaju postavljanja vaše datoteke.',
- 'mwe-upwiz-api-error-internal-error' => 'Unutrašnja greška: pojavio se
neki problem sa obradom vašeg postavljanja na wiki.',
+ 'mwe-upwiz-api-error-unknown-error' => 'Desila se neka greška pri
pokušaju postavljanja vaše datoteke.',
+ 'mwe-upwiz-api-error-internal-error' => 'Pojavio se neki problem sa
obradom vašeg postavljanja na wiki.',
'mwe-upwiz-api-error-overwrite' => 'Pisanje preko postojeće datoteke
nije dopušteno.',
- 'mwe-upwiz-api-error-badtoken' => 'Unutrašnja greška: token nije
ispravan.',
- 'mwe-upwiz-api-error-fetchfileerror' => 'Unutrašnja greška: pojavio se
neki problem pri dobijanju podataka o datoteci.',
+ 'mwe-upwiz-api-error-badtoken' => "''Token'' koji smo koristili za vašu
identifikaciju na ovaj server nije bio ispravan.",
+ 'mwe-upwiz-api-error-fetchfileerror' => 'Pojavio se neki problem pri
dobijanju podataka o datoteci.',
'mwe-upwiz-api-warning-duplicate' => 'Već postoji jedna datoteka na
ovoj wiki sa istim sadržajem',
'mwe-upwiz-api-warning-exists' => 'Već postoji jedna datoteka na ovoj
wiki sa istim imenom',
'mwe-upwiz-tutorial-error-localized-file-missing' => 'Žao nam je, nismo
mogli naći uputstvo na vašem jeziku. Može se prikazati samo engleska verzija.',
@@ -2219,34 +2218,14 @@
'mwe-upwiz-step-deeds' => 'Dereitos de liberación',
'mwe-upwiz-step-details' => 'Describir',
'mwe-upwiz-step-thanks' => 'Usar',
- 'mwe-upwiz-api-error-http' => 'Erro interno: Non se puido conectar co
servidor.',
- 'mwe-upwiz-api-error-ok-but-empty' => 'Erro interno: Non hai resposta
do servidor.',
- 'mwe-upwiz-api-error-unknown-code' => 'Erro descoñecido: "$1"',
- 'mwe-upwiz-api-error-uploaddisabled' => 'As cargas están desactivadas
neste wiki.',
- 'mwe-upwiz-api-error-nomodule' => 'Erro interno: Non hai ningún módulo
de cargas.',
- 'mwe-upwiz-api-error-mustbeposted' => 'Erro interno: A solicitude
necesita HTTP POST.',
- 'mwe-upwiz-api-error-badaccess-groups' => 'Non ten os permisos
necesarios para cargar ficheiros neste wiki.',
- 'mwe-upwiz-api-error-stashfailed' => 'Erro interno: O servidor non
puido almacenar os ficheiros temporais.',
- 'mwe-upwiz-api-error-missingresult' => 'Erro interno: Non se puido
determinar se a copia saíu ben.',
- 'mwe-upwiz-api-error-missingparam' => 'Erro interno: Faltan parámetros
na solicitude.',
- 'mwe-upwiz-api-error-invalid-session-key' => 'Erro interno: Non se
atopou o ficheiro no depósito temporal.',
- 'mwe-upwiz-api-error-copyuploaddisabled' => 'As cargas mediante URL
están desactivadas neste servidor.',
- 'mwe-upwiz-api-error-mustbeloggedin' => 'Debe acceder ao sistema para
cargar ficheiros.',
'mwe-upwiz-api-error-empty-file' => 'O ficheiro que enviou estaba
baleiro.',
'mwe-upwiz-api-error-file-too-large' => 'O ficheiro que enviou era
grande de máis.',
'mwe-upwiz-api-error-filetype-missing' => 'Fáltalle a extensión ao
ficheiro.',
'mwe-upwiz-api-error-filetype-banned' => 'Este tipo de ficheiro está
prohibido.',
'mwe-upwiz-api-error-filename-tooshort' => 'O nome do ficheiro é curto
de máis.',
'mwe-upwiz-api-error-illegal-filename' => 'O nome do ficheiro non está
permitido.',
- 'mwe-upwiz-api-error-verification-error' => 'Este ficheiro podería
estar corrupto ou ter unha extensión incorrecta.',
'mwe-upwiz-api-error-hookaborted' => 'O asociador da extensión cancelou
a modificación que intentou realizar.',
- 'mwe-upwiz-api-error-unknown-error' => 'Erro interno: Houbo un problema
ao intentar cargar o ficheiro.',
- 'mwe-upwiz-api-error-internal-error' => 'Erro interno: Houbo un
problema ao procesar a súa carga no wiki.',
'mwe-upwiz-api-error-overwrite' => 'Non está permitido sobrescribir un
ficheiro existente.',
- 'mwe-upwiz-api-error-badtoken' => 'Erro interno: Pase incorrecto.',
- 'mwe-upwiz-api-error-fetchfileerror' => 'Erro interno: Houbo un
problema ao buscar o ficheiro.',
- 'mwe-upwiz-api-warning-duplicate' => 'Xa hai un ficheiro no wiki co
mesmo contido',
- 'mwe-upwiz-api-warning-exists' => 'Xa hai un ficheiro no wiki co mesmo
nome',
'mwe-upwiz-tutorial-error-localized-file-missing' => 'Sentímolo, non
contamos cunha guía na súa lingua. En vez diso, móstrase a guía en inglés.',
'mwe-upwiz-tutorial-error-file-missing' => 'Sentímolo, non atopamos os
ficheiros da guía que deberían ir aquí. Póñase en contacto cos administradores
do sistema.',
'mwe-upwiz-tutorial-error-cannot-transform' => 'Sentímolo, non podemos
obter unha imaxe a escala da guía que caiba nesta pantalla. Pódese tratar dun
problema temporal da Wikimedia Commons; inténteo de novo máis tarde.',
@@ -2259,7 +2238,6 @@
'mwe-upwiz-uploading' => 'subindo...',
'mwe-upwiz-transported' => 'Aceptar',
'mwe-upwiz-stashed-upload' => 'Aceptar',
- 'mwe-upwiz-getting-metadata' => 'Obtendo a información do ficheiro e as
vistas previas...',
'mwe-upwiz-failed' => 'Erro.',
'mwe-upwiz-click-here' => 'Prema aquí para escoller un ficheiro',
'mwe-upwiz-editing' => 'editando...',
@@ -2267,11 +2245,7 @@
'mwe-upwiz-remove-upload' => 'Quitar este ficheiro da lista de
ficheiros a subir',
'mwe-upwiz-remove-description' => 'Borrar esta descrición',
'mwe-upwiz-upload' => 'Subir',
- 'mwe-upwiz-file-all-ok' => 'Todas as cargas completáronse
correctamente!',
- 'mwe-upwiz-file-some-failed' => 'Algunhas cargas fallaron.',
- 'mwe-upwiz-file-retry' => 'Repetir as cargas erróneas',
'mwe-upwiz-next-file-despite-failures' => 'Continuar de calquera xeito',
- 'mwe-upwiz-file-all-failed' => 'Non se completou ningunha das cargas.',
'mwe-upwiz-upload-count' => '$1 {{PLURAL:$1|ficheiro|ficheiros}} de $2
{{PLURAL:$1|subido|subidos}}',
'mwe-upwiz-progressbar-uploading' => 'subindo',
'mwe-upwiz-finished' => 'Feito!',
@@ -2281,7 +2255,6 @@
'mwe-upwiz-deeds-macro-prompt' => '{{SITENAME}} necesita que
proporcione a información de dereitos de autor {{PLURAL:$1|desta obra|destas
obras}}, para asegurar que calquera pode {{PLURAL:$1|reusala|reusalas}}.',
'mwe-upwiz-deeds-custom-prompt' => 'Ou:',
'mwe-upwiz-source-ownwork' => '{{PLURAL:$1|Este ficheiro é|Estes
ficheiros son}} obra miña.',
- 'mwe-upwiz-source-ownwork-assert-any-license' => 'Eu, $2, como posuidor
dos dereitos de autor {{PLURAL:$1|desta obra|destas obras}}, concedo a calquera
o dereito de empregar, modificar e redistribuír {{PLURAL:$1|esta obra|estas
obras}} para o propósito que considere oportuno, e polo tanto {{PLURAL:$1|queda
publicada|quedan publicadas}} baixo os seguintes termos:',
'mwe-upwiz-source-ownwork-assert' => 'Eu, $2, en posesión dos dereitos
de autor {{PLURAL:$1|desta obra|destas obras}}, concedo de forma irrevogable a
calquera o dereito a usar {{PLURAL:$1|esta obra|estas obras}} para calquera
propósito, sempre e cando se recoñeza a súa autoría e as obras derivadas se
compartan baixo as mesmas condicións.',
'mwe-upwiz-source-ownwork-assert-custom' => 'Eu, $2, posuidor dos
dereitos de autor {{PLURAL:$1|desta obra|destas obras}},
{{PLURAL:$1|publícoa|publícoas}} baixo a seguinte licenza ou licenzas:',
'mwe-upwiz-source-ownwork-assert-note' => 'Isto significa que publica a
súa obra baixo a licenza Creative Commons recoñecemento compartir igual.',
@@ -4191,7 +4164,6 @@
'mwe-upwiz-api-error-unknown-error' => 'Interne Feeler: beim Versuch
fir Äre Fichier eropzelueden ass eppes schif gaang',
'mwe-upwiz-api-error-internal-error' => 'Interne Feeler: Et ass eppes
schif gaang beim Verschaffe vum eropgeluedene Fichier op der Wiki.',
'mwe-upwiz-api-error-overwrite' => "D'Iwwerschreiwe vun engem Fichier
ass net erlaabt.",
- 'mwe-upwiz-api-error-badtoken' => 'Interne Feeler: falschen Token.',
'mwe-upwiz-api-error-fetchfileerror' => 'Interne Feeler: beim Opruffe
vum Fichier huet eppes net fonctionnéiert.',
'mwe-upwiz-api-warning-duplicate' => 'Et gëtt schonn en anere Fichier
op dem selwechten Inhalt op der Wiki',
'mwe-upwiz-api-warning-exists' => 'Et gëtt op der Wiki schonn e Fichier
mat dem selwechten Numm',
@@ -5640,15 +5612,15 @@
'mwe-upwiz-api-error-ok-but-empty' => 'Erro interno: não há resposta do
servidor.',
'mwe-upwiz-api-error-unknown-code' => 'Erro desconhecido: "$1"',
'mwe-upwiz-api-error-uploaddisabled' => 'Não são permitidos
carregamentos nesta wiki.',
- 'mwe-upwiz-api-error-nomodule' => 'Erro interno: módulo de upload não
está definido.',
+ 'mwe-upwiz-api-error-nomodule' => 'A wiki não sabe como lidar com este
carregamento.',
'mwe-upwiz-api-error-mustbeposted' => 'Este software tem um problema;
não está usando o método HTTP correto.',
- 'mwe-upwiz-api-error-badaccess-groups' => 'Você não tem permissão para
enviar arquivos para esta wiki.',
- 'mwe-upwiz-api-error-stashfailed' => 'Erro interno: o servidor não
conseguiu armazenar o arquivo temporário.',
- 'mwe-upwiz-api-error-missingresult' => 'Erro interno: não foi possível
determinar se a cópia foi feita.',
- 'mwe-upwiz-api-error-missingparam' => 'Erro interno: parâmetros em
falta no pedido.',
- 'mwe-upwiz-api-error-invalid-session-key' => 'Erro interno: o arquivo
não foi encontrado no armazenamento temporário.',
- 'mwe-upwiz-api-error-copyuploaddisabled' => 'O upload por URL está
desativado neste servidor.',
- 'mwe-upwiz-api-error-mustbeloggedin' => 'Você precisa estar autenticado
para enviar arquivos.',
+ 'mwe-upwiz-api-error-badaccess-groups' => 'Você não tem permissão para
carregar arquivos nesta wiki. Verifique a que grupos de acesso você pertence.',
+ 'mwe-upwiz-api-error-stashfailed' => 'A wiki não conseguiu armazenar o
arquivo.',
+ 'mwe-upwiz-api-error-missingresult' => 'Não foi possível determinar se
a cópia ocorreu com sucesso.',
+ 'mwe-upwiz-api-error-missingparam' => 'O carregamento não continha toda
a informação necessária (provavelmente devido a um problema neste assistente).',
+ 'mwe-upwiz-api-error-invalid-session-key' => 'O servidor não conseguiu
encontrar esse arquivo entre seus arquivos carregados.',
+ 'mwe-upwiz-api-error-copyuploaddisabled' => 'Os carregamentos por cópia
estão desativados.',
+ 'mwe-upwiz-api-error-mustbeloggedin' => 'Você não está devidamente
autenticado.',
'mwe-upwiz-api-error-empty-file' => 'O arquivo que você enviou está
vazio.',
'mwe-upwiz-api-error-file-too-large' => 'O arquivo que você enviou era
demasiado grande.',
'mwe-upwiz-api-error-filetype-missing' => 'Falta a extensão do
arquivo.',
@@ -5657,11 +5629,11 @@
'mwe-upwiz-api-error-illegal-filename' => 'O nome do arquivo não é
permitido.',
'mwe-upwiz-api-error-verification-error' => 'Este arquivo pode estar
corrompido ou ter a extensão errada.',
'mwe-upwiz-api-error-hookaborted' => 'A modificação que você tentou
realizar foi abortada pelo hook de uma extensão.',
- 'mwe-upwiz-api-error-unknown-error' => 'Erro interno: ocorreu um erro
indeterminado ao tentar enviar o arquivo.',
- 'mwe-upwiz-api-error-internal-error' => 'Erro interno: ocorreu um erro
indeterminado na wiki ao processar o arquivo que você enviou.',
+ 'mwe-upwiz-api-error-unknown-error' => 'Ocorreu um erro (indeterminado)
ao tentar carregar seu arquivo.',
+ 'mwe-upwiz-api-error-internal-error' => 'Ocorreu um erro de
processamento do seu carregamento na wiki.',
'mwe-upwiz-api-error-overwrite' => 'Não é permitido sobrescrever um
arquivo já existente.',
- 'mwe-upwiz-api-error-badtoken' => 'Erro interno: token inválido.',
- 'mwe-upwiz-api-error-fetchfileerror' => 'Erro interno: Ocorreu um
problema indeterminado ao aceder ao arquivo.',
+ 'mwe-upwiz-api-error-badtoken' => 'A "chave" usada para identificá-lo
no servidor era incorreta.',
+ 'mwe-upwiz-api-error-fetchfileerror' => 'Ocorreu um problema
indeterminado ao aceder ao arquivo.',
'mwe-upwiz-api-warning-duplicate' => 'Já existe outro arquivo na wiki
com o mesmo conteúdo',
'mwe-upwiz-api-warning-exists' => 'Já existe outro arquivo na wiki com
o mesmo nome',
'mwe-upwiz-tutorial-error-localized-file-missing' => 'Não foi
encontrado um tutorial em sua língua. Ao invés disso, será usado tutorial em
língua inglesa.',
Modified: trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.css
===================================================================
--- trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.css
2011-02-26 00:47:48 UTC (rev 82825)
+++ trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.css
2011-02-26 02:20:41 UTC (rev 82826)
@@ -1,7 +1,7 @@
.tipsy { padding: 5px; font-size: small; position: absolute; z-index: 100000; }
- .tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color:
white; max-width: 200px; text-align: center; }
+ .tipsy-inner { padding: 5px 8px 4px 8px; background-color:#96d8d9; color:
black; max-width: 200px; text-align: center; }
.tipsy-inner { border-radius: 3px; -moz-border-radius:3px;
-webkit-border-radius:3px; }
- .tipsy-arrow { position: absolute; background: url('jquery.tipsy.gif')
no-repeat top left; width: 9px; height: 5px; }
+ .tipsy-arrow { position: absolute; background: url('jquery.tipsy.help.gif')
no-repeat top left; width: 9px; height: 5px; }
.tipsy-n .tipsy-arrow { top: 0; left: 50%; margin-left: -4px; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; }
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; }
@@ -10,21 +10,3 @@
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; background-position:
bottom left; }
.tipsy-e .tipsy-arrow { top: 50%; margin-top: -4px; right: 0; width: 5px;
height: 9px; background-position: top right; }
.tipsy-w .tipsy-arrow { top: 50%; margin-top: -4px; left: 0; width: 5px;
height: 9px; }
-
-
-.tipsy-help .tipsy-inner { background-color: #96d8d9; color: black; }
-.tipsy-help .tipsy-arrow { background: url('jquery.tipsy.help.gif') }
-
-.tipsy-error .tipsy-inner { background-color: #f89c90; color: black; }
-.tipsy-error .tipsy-arrow { background: url('jquery.tipsy.error.gif') }
-
-.shadow {
- /* offset left, top, thickness, color with alpha */
- -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
- -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
- box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
- /* IE */
- filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5,
Color='gray');
- /* slightly different syntax for IE8 */
- -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5,
Color='gray')";
-}
Modified: trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.js
===================================================================
--- trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.js
2011-02-26 00:47:48 UTC (rev 82825)
+++ trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.js
2011-02-26 02:20:41 UTC (rev 82826)
@@ -1,21 +1,16 @@
// tipsy, facebook style tooltips for jquery
-// version 1.0.0a
+// version 1.0.0a+
// (c) 2008-2010 jason frame [[email protected]]
-// releated under the MIT license
+// released under the MIT license
(function($) {
- function fixTitle($ele) {
- if ($ele.attr('title') || typeof($ele.attr('original-title')) !=
'string') {
- $ele.attr('original-title', $ele.attr('title') ||
'').removeAttr('title');
- }
- }
-
function Tipsy(element, options) {
this.$element = $(element);
this.options = options;
this.enabled = true;
- fixTitle(this.$element);
+ this.displayed = false;
+ this.fixTitle();
}
Tipsy.prototype = {
@@ -23,11 +18,10 @@
var title = this.getTitle();
if (title && this.enabled) {
var $tip = this.tip();
+
$tip.find('.tipsy-inner')[this.options.html ? 'html' :
'text'](title);
- // $tip[0].className = 'tipsy'; // reset classname in case of
dynamic gravity
- // the remove strips events
- //$tip.remove().css({top: 0, left: 0, visibility: 'hidden',
display: 'block'}).appendTo(document.body);
- $tip.css({top: 0, left: 0, visibility: 'hidden', display:
'block'}).appendTo(document.body);
+ $tip[0].className = 'tipsy'; // reset classname in case of
dynamic gravity
+ $tip.remove().css({top: 0, left: 0, visibility: 'hidden',
display: 'block'}).appendTo(document.body);
var pos = $.extend({}, this.$element.offset(), {
width: this.$element[0].offsetWidth,
@@ -70,44 +64,61 @@
} else {
$tip.css({visibility: 'visible', opacity:
this.options.opacity});
}
+
+ this.displayed = true;
}
},
-
+
hide: function() {
- if (!this.sticky) {
- if (this.options.fade) {
- this.tip().stop().fadeOut(function() { $(this).hide(); });
- } else {
- this.tip().hide();
- }
+ if (this.options.fade) {
+ this.tip().stop().fadeOut(function() { $(this).remove(); });
+ } else {
+ this.tip().remove();
}
+ this.displayed = false;
},
+ toggle: function() {
+ if ( this.displayed ) {
+ this.hide();
+ } else {
+ this.show();
+ }
+ },
+
+ fixTitle: function() {
+ var $e = this.$element;
+ if ($e.attr('title') || typeof($e.attr('original-title')) !=
'string') {
+ $e.attr('original-title', $e.attr('title') ||
'').removeAttr('title');
+ }
+ },
+
getTitle: function() {
var title, $e = this.$element, o = this.options;
- fixTitle($e);
+ this.fixTitle();
var title, o = this.options;
if (typeof o.title == 'string') {
title = $e.attr(o.title == 'title' ? 'original-title' :
o.title);
- title = ('' + title).replace(/(^\s*|\s*$)/, "");
} else if (typeof o.title == 'function') {
title = o.title.call($e[0]);
}
+ title = ('' + title).replace(/(^\s*|\s*$)/, "");
return title || o.fallback;
},
tip: function() {
- var type = 'tipsy-' + this.options.type;
- var shadow = this.options.shadow ? 'shadow' : '';
if (!this.$tip) {
- this.$tip = $('<div class="tipsy ' + type + '"></div>')
- .html('<div class="tipsy-arrow"></div><div
class="tipsy-inner ' + shadow + '"/></div>');
+ this.$tip = $('<div class="tipsy"></div>').html('<div
class="tipsy-arrow"></div><div class="tipsy-inner"></div>');
}
return this.$tip;
},
validate: function() {
- if (!this.$element[0].parentNode) this.hide();
+ if (!this.$element[0].parentNode) {
+ this.hide();
+ this.$element = null;
+ this.options = null;
+ }
},
enable: function() { this.enabled = true; },
@@ -120,7 +131,9 @@
if (options === true) {
return this.data('tipsy');
} else if (typeof options == 'string') {
- return this.data('tipsy')[options]();
+ var tipsy = this.data('tipsy');
+ if (tipsy) tipsy[options]();
+ return this;
}
options = $.extend({}, $.fn.tipsy.defaults, options);
@@ -140,10 +153,11 @@
if (options.delayIn == 0) {
tipsy.show();
} else {
+ tipsy.fixTitle();
setTimeout(function() { if (tipsy.hoverState == 'in')
tipsy.show(); }, options.delayIn);
}
};
-
+
function leave() {
var tipsy = get(this);
tipsy.hoverState = 'out';
@@ -176,10 +190,9 @@
html: false,
live: false,
offset: 0,
- opacity: 1.0,
+ opacity: 0.8,
title: 'title',
- trigger: 'hover',
- type: 'help'
+ trigger: 'hover'
};
// Overwrite this method to provide options on a per-element basis.
Modified: trunk/extensions/UploadWizard/resources/jquery/jquery.tipsyPlus.js
===================================================================
--- trunk/extensions/UploadWizard/resources/jquery/jquery.tipsyPlus.js
2011-02-26 00:47:48 UTC (rev 82825)
+++ trunk/extensions/UploadWizard/resources/jquery/jquery.tipsyPlus.js
2011-02-26 02:20:41 UTC (rev 82826)
@@ -18,7 +18,7 @@
$j( this ).attr( 'original-title' ),
$j( '<a
class="mwe-upwiz-tooltip-link"/>' )
.attr( 'href', '#' )
- .append( gM(
'mwe-upwiz-tooltip-more-info' ) )
+ .append( ' ' + gM(
'mwe-upwiz-tooltip-more-info' ) )
.mouseenter( function() {
el.data('tipsy').sticky
= true;
} )
Modified: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js
===================================================================
--- trunk/extensions/UploadWizard/resources/mw.UploadWizard.js 2011-02-26
00:47:48 UTC (rev 82825)
+++ trunk/extensions/UploadWizard/resources/mw.UploadWizard.js 2011-02-26
02:20:41 UTC (rev 82826)
@@ -650,7 +650,7 @@
var fieldnameDiv = $j( '<div class="mwe-upwiz-details-fieldname" />' );
if ( required ) {
- fieldnameDiv.append( gM( 'mwe-upwiz-desc' )
).requiredFieldLabel();
+ fieldnameDiv.requiredFieldLabel().append( gM( 'mwe-upwiz-desc'
) ).addHint( 'description' );
}
@@ -668,8 +668,7 @@
_this.input = $j( '<textarea name="' + _this.id + '" rows="2"
cols="36" class="mwe-upwiz-desc-lang-text"></textarea>' )
.attr( 'title', gM(
'mwe-upwiz-tooltip-description' ) )
- .growTextArea()
- .tipsyPlus( { plus: 'even more stuff' } );
+ .growTextArea();
// descriptions
_this.div = $j('<div class="mwe-upwiz-details-descriptions-container
ui-helper-clearfix"></div>' )
@@ -768,13 +767,10 @@
// XXX make sure they can't use ctrl characters or returns or any
other bad stuff.
_this.titleId = "title" + _this.upload.index;
_this.titleInput = $j( '<textarea type="text" id="' + _this.titleId +
'" name="' + _this.titleId + '" rows="1" class="mwe-title
mwe-long-textarea"></textarea>' )
- .attr( 'title', gM( 'mwe-upwiz-tooltip-title' ) )
- .tipsyPlus()
.keyup( function() {
_this.upload.title.setNameText( _this.titleInput.value
);
// TODO update a display of filename
} )
- .growTextArea()
.destinationChecked( {
api: _this.upload.api,
spinner: function(bool) {
_this.toggleDestinationBusy(bool); },
@@ -792,7 +788,9 @@
_this.titleErrorDiv,
$j( '<div class="mwe-upwiz-details-fieldname"></div>' )
.requiredFieldLabel()
- .append( gM( 'mwe-upwiz-title' ) ),
+ .append( gM( 'mwe-upwiz-title' ) )
+ .addHint( 'title' ),
+
$j( '<div class="mwe-upwiz-details-input"></div>'
).append( _this.titleInput )
);
@@ -809,7 +807,7 @@
+ '<div
class="mwe-upwiz-details-fieldname"></div>'
+ '<div class="mwe-upwiz-details-input"></div>'
+ '</div>' );
- $categoriesDiv.find( '.mwe-upwiz-details-fieldname' ).append( gM(
'mwe-upwiz-categories' ) );
+ $categoriesDiv.find( '.mwe-upwiz-details-fieldname' ).append( gM(
'mwe-upwiz-categories' ) ).addHint( 'categories' );
var categoriesId = 'categories' + _this.upload.index;
$categoriesDiv.find( '.mwe-upwiz-details-input' )
.append( $j( '<input/>' ).attr( { id: categoriesId,
@@ -843,21 +841,31 @@
var otherInformationId = "otherInformation" + _this.upload.index;
_this.otherInformationInput = $j( '<textarea id="' + otherInformationId
+ '" name="' + otherInformationId + '"
class="mwe-upwiz-other-textarea"></textarea>' )
- .growTextArea()
- .attr( 'title', gM( 'mwe-upwiz-tooltip-other' ) )
- .tipsyPlus();
+ .growTextArea();
var otherInformationDiv = $j('<div></div>')
- .append( $j( '<div class="mwe-upwiz-details-more-label">'
).append( gM( 'mwe-upwiz-other' ) ) )
+ .append( $j( '<div class="mwe-upwiz-details-more-label">'
).append( gM( 'mwe-upwiz-other' ) ).addHint( 'other' ) )
.append( _this.otherInformationInput );
-
$j( moreDetailsDiv ).append(
dateInputDiv,
// location goes here
otherInformationDiv
);
-
+
+ $titleDialog = $('<div>')
+ .html( gM( 'mwe-upwiz-dialog-title' ) )
+ .dialog({
+ width: 500,
+ zIndex: 200000,
+ autoOpen: false,
+ title: 'Help: Title',
+ modal: true
+ })
+ .bind( "dialogclose", function(event, ui) {
+ $("#mwe-upwiz-title-hint").tipsy("hide");
+ });
+
/* Build the form for the file upload */
_this.$form = $j( '<form></form>' );
_this.$form.append(
@@ -1611,7 +1619,7 @@
}, 300 );
} );
} );
-
+
$j( '#mwe-upwiz-add-file' ).button();
$j( '#mwe-upwiz-upload-ctrl' )
@@ -2340,8 +2348,17 @@
this.addClass( 'mwe-upwiz-required-field' );
return this.prepend( $j( '<span/>' ).append( '*' ).addClass(
'mwe-upwiz-required-marker' ) );
};
+
+ /**
+ * Adds a tipsy pop-up icon to the field.
+ * @param name The short name of the field, for example, 'title'.
This should correspond with a
+ * message key of the form 'mwe-upwiz-tooltip-<name>'.
+ */
+ $j.fn.addHint = function( name ) {
+ return this.append( $j( '<span class="mwe-upwiz-hint"
id="mwe-upwiz-'+name+'-hint" onclick=\"$(this).tipsy(\'toggle\');return
false;\">' )
+ .attr( 'title', gM( 'mwe-upwiz-tooltip-'+name )
).tipsy( {html: true, opacity: 0.9, gravity: 'sw', trigger: 'manual'} ) );
+ };
-
/**
* jQuery extension. Makes a textarea automatically grow if you enter
overflow
* (This feature was in the old Commons interface with a confusing
arrow icon; it's nicer to make it automatic.)
Modified: trunk/extensions/UploadWizard/resources/uploadWizard.css
===================================================================
--- trunk/extensions/UploadWizard/resources/uploadWizard.css 2011-02-26
00:47:48 UTC (rev 82825)
+++ trunk/extensions/UploadWizard/resources/uploadWizard.css 2011-02-26
02:20:41 UTC (rev 82826)
@@ -415,15 +415,8 @@
margin-bottom: 1em;
}
-.mwe-upwiz-details-input {
- width: 33em;
- float: left;
-}
-
.mwe-upwiz-details-fieldname {
- width: 10em;
padding-top: 0.3em;
- float: left;
}
.mwe-upwiz-details-input-error {
@@ -444,13 +437,13 @@
.mwe-upwiz-desc-lang-select {
- width: 11em;
+ width: 11.5em;
font-family: sans-serif;
font-size: small;
}
.mwe-upwiz-desc-lang-text {
- width: 20em;
+ width: 33em;
overflow: hidden;
font-family: sans-serif; /* XXX is this right? */
font-size: small;
@@ -470,10 +463,6 @@
font-size: small;
}
-.mwe-long-textarea {
- width: 31em;
-}
-
fieldset .mwe-long-textarea {
width: 17em;
}
@@ -605,7 +594,7 @@
}
.mwe-upwiz-required-marker {
- color: #0099cc;
+ color: #ff0000;
}
.mwe-readonly {
@@ -621,6 +610,17 @@
background: #ffff99;
}
+.mwe-upwiz-hint {
+ background: url('question.png') no-repeat;
+ display: inline-block;
+ height: 11px;
+ width: 11px;
+ margin-left: 4px;
+}
+.mwe-upwiz-hint:hover {
+ background: url('question-hover.png') no-repeat;
+}
+
#upload-wizard .ui-corner-tl { -moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px; }
#upload-wizard .ui-corner-tr { -moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px; }
#upload-wizard .ui-corner-bl { -moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-left-radius: 4px; }
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs