aboutsummaryrefslogtreecommitdiff
path: root/scripts/parse-help-patches.pl
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-10-17 16:31:44 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-10-17 16:31:44 +0000
commita47b718b279f7fda8a5be3de08a524f40812683a (patch)
tree88f317af4aeed53f8e8d8ac0d5ffc5237a7bb964 /scripts/parse-help-patches.pl
parent78f83af2c384ef682f42e5a4052a2a4b925efa91 (diff)
script to create turkish templates for pdpedia
svn path=/trunk/; revision=8832
Diffstat (limited to 'scripts/parse-help-patches.pl')
-rwxr-xr-xscripts/parse-help-patches.pl62
1 files 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);