From a47b718b279f7fda8a5be3de08a524f40812683a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 17 Oct 2007 16:31:44 +0000 Subject: script to create turkish templates for pdpedia svn path=/trunk/; revision=8832 --- scripts/parse-help-patches.pl | 62 +++++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/scripts/parse-help-patches.pl b/scripts/parse-help-patches.pl index 4d4d577e..f35a6bce 100755 --- a/scripts/parse-help-patches.pl +++ b/scripts/parse-help-patches.pl @@ -35,7 +35,6 @@ my $stub = ""; my $template = ""; my $category = ""; my $infobox = ""; -my $topLevel = ""; # # pdpedia terms my $objectclass = ""; @@ -68,42 +67,42 @@ my $status = ""; #------------------------------------------------------------------------------# -# Portuguese +# Turkish # wikipedia terms -$stub = "Esboço"; -$template = "Template"; -$category = "Categoria"; -$infobox = "Infobox"; +$stub = "Taslak"; +$template = "Şablon"; +$category = "Kategori"; +$infobox = "Bilgi Kutusu"; # pdpedia terms -$objectclass = "Classe do objecto"; +$objectclass = "Nesne Sınıfı"; # page headers -$inlets = "Entradas"; -$outlets = "Saídas"; -$arguments = "Argumentos"; -$messages = "Mensagens"; +$inlets = "Girişler"; +$outlets = "Çıkışlar"; +$arguments = "Argümanlar"; +$messages = "Mesajlar"; # infobox -$name = "Nome"; -$description = "Descrição"; -$abbreviation = "Abreviatura"; -$library = "Biblioteca"; -$author = "Autor"; -$developer = "Programador"; -$releaseVersion = "Versão actual"; -$releaseDate = "Data de lançamento"; -$dependencies = "Dependências"; -$license = "Licença"; -$website = "Website"; -$programmingLanguage = "Linguagem de programação"; -$platform = "Plataforma"; -$operatingSystem = "Sistema operativo"; -$language = "Linguagem"; -$dataType = "Tipo de dado"; -$distributions = "Distribuições"; -$status = "Estado"; +$name = "İsim"; +$description = "Açıklama"; +$abbreviation = "Kısaltma"; +$library = "Kütüphane"; +$author = "Yazar"; +$developer = "Geliştirici"; +$releaseVersion = "Versiyon"; +$releaseDate = "Yayım Tarihi"; +$dependencies = "Bağımlılıklar"; +$license = "Lisans"; +$website = "Web Sitesi"; +$programmingLanguage = "Programlama Dili"; +$platform = "Platform"; +$operatingSystem = "İşletim Sistemi"; +$language = "Lisan"; +$dataType = "Veri Tipi"; +$distributions = "Dağıtımlar"; +$status = "Durum"; #------------------------------------------------------------------------------# # PARSE CSV @@ -223,6 +222,11 @@ foreach (`/sw/bin/find /Users/hans/Desktop/TODO/wiki_files_hacked/5.reference/ - # } print(OBJECTCLASS "\n\n"); print(OBJECTCLASS "[[en:$pageName]]\n"); + print(OBJECTCLASS "[[es:$pageName]]\n"); + print(OBJECTCLASS "[[fr:$pageName]]\n"); + print(OBJECTCLASS "[[nl:$pageName]]\n"); + print(OBJECTCLASS "[[pt:$pageName]]\n"); + print(OBJECTCLASS "[[tr:$pageName]]\n"); print(OBJECTCLASS "\n\n"); close(OBJECTCLASS); -- cgit v1.2.1