Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
i18n TWN corrections
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.wikia-code.com/svn/wikia/trunk@55630 e846bd91-c042-42a7-a218-4b65e2c1904d
  • Loading branch information
michal committed Jun 29, 2012
1 parent 81eae20 commit f60e494
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

class VideoHandlerController extends WikiaController {

//@todo wlee 2012/02/28 - this is not used at the moment. safe to delete?
public function getEmbedCode() {
$articleId = $this->getVal('articleId', '');
$title = $this->getVal('title', '');
Expand All @@ -11,11 +10,11 @@ public function getEmbedCode() {

$error = '';
if (empty($title)) {
$error = $this->wf->msgForContent('videohandler-error-missing-title');
$error = $this->wf->msgForContent('videohandler-error-missing-parameter', 'title');
}
else {
if (empty($width)) {
$error = $this->wf->msgForContent('videohandler-error-missing-width');
$error = $this->wf->msgForContent('videohandler-error-missing-parameter', 'width');
}
else {
$file = wfFindFile($title);
Expand Down Expand Up @@ -59,4 +58,4 @@ public function getSanitizedOldVideoTitleString(){
);
}

}
}
32 changes: 12 additions & 20 deletions extensions/wikia/VideoHandlers/VideoHandlers.i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
'movieclips-videohandler-extension-desc' => 'MovieClips video handler',
'screenplay-videohandler-extension-desc' => 'Screenplay video handler',
'youtube-videohandler-extension-desc' => 'YouTube video handler',
'videohandler-error-missing-title' => 'Required parameter "title" is missing',
'videohandler-error-missing-width' => 'Required parameter "width" is missing',
'videohandler-error-missing-parameter' => 'Required parameter "$1" is missing',
'videohandler-error-video-no-exist' => 'Video specified by title does not exist',
'videohandler-unknown-title' => 'Unknown title',
'videohandler-video-details' => '$1 (provider: $2)',
Expand All @@ -24,6 +23,8 @@
'videohandler-video-details' => "Parameters:
* $1 is a link to the video on its source page, with the label being the original title of the video
* $2 is a link to the provider's homepage (e.g. [http://youtube.com/ youtube.com])",
'videohandler-error-missing-parameter' => 'Says, that a certain parameter is missing in the input data.
* $1 is the exact name of the missing parameter, as the computer would expect.'
);

/** Afrikaans (Afrikaans)
Expand Down Expand Up @@ -105,8 +106,7 @@
'movieclips-videohandler-extension-desc' => 'MovieClips-Video-Steuerungsprogramm',
'screenplay-videohandler-extension-desc' => 'Screenplay-Video-Steuerungsprogramm',
'youtube-videohandler-extension-desc' => 'YouTube-Video-Steuerungsprogramm',
'videohandler-error-missing-title' => 'Erforderlicher Parameter "Titel" fehlt',
'videohandler-error-missing-width' => 'Erforderlicher Parameter "Breite" fehlt',
'videohandler-error-missing-parameter' => 'Erforderlicher Parameter "$1" fehlt',
'videohandler-error-video-no-exist' => 'Video existiert nicht mit dem Titel',
'videohandler-unknown-title' => 'Unbekannter Titel',
'videohandler-video-details' => '$1 (Provider: $2)',
Expand Down Expand Up @@ -134,8 +134,7 @@
'movieclips-videohandler-extension-desc' => 'Controlador de clips de película',
'screenplay-videohandler-extension-desc' => 'Controlador de vídeo Screnplay',
'youtube-videohandler-extension-desc' => 'Controlador de vídeo de YouTube',
'videohandler-error-missing-title' => 'Falta el parámetro "título"',
'videohandler-error-missing-width' => 'Falta el parámetro "ancho"',
'videohandler-error-missing-parameter' => 'Falta el parámetro "$1"',
'videohandler-error-video-no-exist' => 'El vídeo especificado por título no existe',
'videohandler-unknown-title' => 'Título desconocido',
'videohandler-video-details' => '$1 (proveedor: $2)',
Expand Down Expand Up @@ -173,8 +172,7 @@
'movieclips-videohandler-extension-desc' => 'Gestionnaire de vidéos de MovieClips',
'screenplay-videohandler-extension-desc' => 'Gestionnaire de vidéos de ScreenPlay',
'youtube-videohandler-extension-desc' => 'Gestionnaire de vidéos de YouTube',
'videohandler-error-missing-title' => 'Le paramètre « titre » obligatoire est manquant',
'videohandler-error-missing-width' => 'Le paramètre « largeur » obligatoire est manquant',
'videohandler-error-missing-parameter' => 'Le paramètre « $1 » obligatoire est manquant',
'videohandler-error-video-no-exist' => 'Aucune vidéo n’existe avec ce titre',
'videohandler-unknown-title' => 'Titre inconnu',
'videohandler-video-details' => '$1 (hébergeur : $2)',
Expand All @@ -191,8 +189,7 @@
'movieclips-videohandler-extension-desc' => 'Manipulador de vídeos de MovieClips',
'screenplay-videohandler-extension-desc' => 'Manipulador de vídeos de Screnplay',
'youtube-videohandler-extension-desc' => 'Manipulador de vídeos de YouTube',
'videohandler-error-missing-title' => 'Falta o parámetro obrigatorio "título"',
'videohandler-error-missing-width' => 'Falta o parámetro obrigatorio "largo"',
'videohandler-error-missing-parameter' => 'Falta o parámetro obrigatorio "$1"',
'videohandler-error-video-no-exist' => 'Non existe ningún vídeo con ese título',
'videohandler-unknown-title' => 'Título descoñecido',
'videohandler-video-details' => '$1 (provedor: $2)',
Expand Down Expand Up @@ -281,8 +278,7 @@
'movieclips-videohandler-extension-desc' => 'Поставувач на видеа од MovieClips',
'screenplay-videohandler-extension-desc' => 'Поставувач на видеа од Screnplay',
'youtube-videohandler-extension-desc' => 'Поставувач на видеа од YouTube',
'videohandler-error-missing-title' => 'Недостасува задолжителниот параметар „title“',
'videohandler-error-missing-width' => 'Недостасува задолжителниот параметар „width“',
'videohandler-error-missing-parameter' => 'Недостасува задолжителниот параметар „$1“',
'videohandler-error-video-no-exist' => 'Не постои видео со таков наслов',
'videohandler-unknown-title' => 'Непознат наслов',
'videohandler-video-details' => '$1 (добавувач: $2)',
Expand All @@ -299,8 +295,7 @@
'movieclips-videohandler-extension-desc' => 'Pengelola video MovieClips',
'screenplay-videohandler-extension-desc' => 'Pengelola video ScreenPlay',
'youtube-videohandler-extension-desc' => 'Pengelola video YouTube',
'videohandler-error-missing-title' => 'Parameter wajib "title" tertinggal',
'videohandler-error-missing-width' => 'Parameter wajib "width" tertinggal',
'videohandler-error-missing-parameter' => 'Parameter wajib "$1" tertinggal',
'videohandler-error-video-no-exist' => 'Tiada video dengan tajuk yang dinyatakan',
'videohandler-unknown-title' => 'Tajuk tidak diketahui',
'videohandler-video-details' => '$1 (penyedia: $2)',
Expand All @@ -324,8 +319,7 @@
$messages['nl'] = array(
'videohandler' => 'Videoverwerking',
'prototype-videohandler-extension-desc' => 'Prototype videoverwerking',
'videohandler-error-missing-title' => 'Vereiste parameter "titel" ontbreekt',
'videohandler-error-missing-width' => 'Vereiste parameter "breedte" ontbreekt',
'videohandler-error-missing-parameter' => 'Vereiste parameter "$1" ontbreekt',
'videohandler-unknown-title' => 'Onbekende titel',
'videohandler-video-details' => '$1 (provider: $2)',
'videohandler-category' => "Video's",
Expand All @@ -351,8 +345,7 @@
'movieclips-videohandler-extension-desc' => 'Odtwarzacz filmów MovieClips',
'screenplay-videohandler-extension-desc' => 'Odtwarzacz filmów Screnplay',
'youtube-videohandler-extension-desc' => 'Odtwarzacz filmów YouTube',
'videohandler-error-missing-title' => 'Brak wymaganego parametru "tytuł"',
'videohandler-error-missing-width' => 'Brak wymaganego parametru "szerokość"',
'videohandler-error-missing-parameter' => 'Brak wymaganego parametru "$1"',
'videohandler-error-video-no-exist' => 'Film o tym tytule nie istnieje',
'videohandler-unknown-title' => 'Nieznany tytuł',
'videohandler-video-details' => '$1 (z $2)',
Expand Down Expand Up @@ -409,8 +402,7 @@
'movieclips-videohandler-extension-desc' => 'Видео обработчик клипов',
'screenplay-videohandler-extension-desc' => 'Видео обработчик сценария',
'youtube-videohandler-extension-desc' => 'YouTube видео обработчик',
'videohandler-error-missing-title' => 'Отсутствует обязательный параметр «название»',
'videohandler-error-missing-width' => 'Отсутствует обязательный параметр «ширина»',
'videohandler-error-missing-parameter' => 'Отсутствует обязательный параметр «$1»',
'videohandler-error-video-no-exist' => 'Видео с данным названием не существует',
'videohandler-unknown-title' => 'Неизвестное название',
'videohandler-video-details' => '$1 (источник: $2)',
Expand Down

0 comments on commit f60e494

Please sign in to comment.