[PD-cvs] scripts parse-help-patches.pl,1.6,1.7

Hans-Christoph Steiner eighthave at users.sourceforge.net
Wed Nov 14 17:55:07 CET 2007


Update of /cvsroot/pure-data/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31948

Modified Files:
	parse-help-patches.pl 
Log Message:
Spanish/Espanol import script

Index: parse-help-patches.pl
===================================================================
RCS file: /cvsroot/pure-data/scripts/parse-help-patches.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** parse-help-patches.pl	12 Nov 2007 20:54:18 -0000	1.6
--- parse-help-patches.pl	14 Nov 2007 16:55:05 -0000	1.7
***************
*** 3,6 ****
--- 3,14 ----
  # WARNING!  This script is really ugly!
  
+ # to use:
+ #   1) make a folder, like en-import
+ #   2) run ../parse-help-patches.pl in it
+ #   3) voila!
+ #
+ # on the server, run:
+ #   find en-import/ -type f -name \*.txt | ./wiki_import.sh -s 'Top level'
+ 
  use strict;
  use warnings;
***************
*** 69,109 ****
  
  #------------------------------------------------------------------------------#
! # wikipedia terms
! $stub = "Ébauche";
! $template = "Modèle";
! $category = "Catégorie";
! $infobox = "Infobox";
  
! # pdpedia terms
! $objectclass = "Classe d'objets";
  
! # page headers
! $inlets = "Entrées";
! $outlets = "Sorties";
! $arguments = "Arguments";
! $messages = "Messages";
  
! # infobox
! $name = "Nom";
! $description = "Description";
! $abbreviation = "Abréviation";
! $library = "Bibliothèque";
! $author = "Auteur";
! $developer = "Développeur";
! $releaseVersion = "Version";
! $releaseDate = "Date";
! $dependencies = "Dépendances";
! $license = "Licence";
! $website = "Site Web";
! $programmingLanguage = "Langage de programmation";
! $platform = "Plateforme";
! $operatingSystem = "Système d'exploitation";
! $language = "Langue";
! $dataType = "Type de données";
! $distribution = "Distribution";
  
- $status = "État";
- $caption = "Légende";
- $language = "Langue";
  
  #------------------------------------------------------------------------------#
--- 77,115 ----
  
  #------------------------------------------------------------------------------#
! # wikipedia terms - Spanish
! $stub = "esbozo";
! $template = "plantilla";
! $category = "categoría";
! $infobox = "infobox";
  
!  # pdpedia terms
! $objectclass = "Clase de objeto";
  
!  # page headers
! $inlets = "entradas";
! $outlets = "salidas";
! $arguments = "argumentos";
! $messages = "mensajes";
  
!  # infobox
! $name = "nombre";
! $description = "descripción";
! $abbreviation = "abreviación";
! $library = "librería";
! $author = "autor";
! $developer = "desarrollador";
! $releaseVersion = "versión";
! $releaseDate = "fecha de la versión";
! $dependencies = "dependencias";
! $license = "licencia";
! $website = "sitio web";
! $programmingLanguage = "lenguaje de programación";
! $platform = "plataforma";
! $operatingSystem = "sistema operativo";
! $language = "idioma";
! $dataType = "tipo de dato";
! $distribution = "distribuciones";
! $status = "estado";
  
  
  #------------------------------------------------------------------------------#
***************
*** 216,220 ****
  	 print(OBJECTCLASS "==$outlets==\n\n\n");
  	 print(OBJECTCLASS "==$arguments==\n\n\n");
! 	 print(OBJECTCLASS "==$messages==\n\n\n");
  	 print(OBJECTCLASS "{{${objectclass}-${stub}}} \n\n");
  	 print(OBJECTCLASS "[[$category:$objectclass]]\n");
--- 222,226 ----
  	 print(OBJECTCLASS "==$outlets==\n\n\n");
  	 print(OBJECTCLASS "==$arguments==\n\n\n");
! #	 print(OBJECTCLASS "==$messages==\n\n\n");
  	 print(OBJECTCLASS "{{${objectclass}-${stub}}} \n\n");
  	 print(OBJECTCLASS "[[$category:$objectclass]]\n");
***************
*** 226,231 ****
  	 print(OBJECTCLASS "[[de:$pageName]]\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");
--- 232,237 ----
  	 print(OBJECTCLASS "[[de:$pageName]]\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");





More information about the Pd-cvs mailing list