From a0f68e88d8f18c41221a1bba05005afe8288e853 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jun 02 2011 02:41:43 +0000 Subject: Update `repository-init.pl' texinfo templates used by the help functionality of centos-art.sh script. - Add `return 1;' at the end of initialization file. This let us have an empty file as initialization file. That is required for en_US/repository-init.pl. At this moment there is no English specific initialization and the file must be there for consistency with other language specific manuals. - Providing a condition inside centos-art.sh script to treat English documentation manual different from other documentation manuals looks not so good. Using a consistent template file/directory structure to handle all documentation manuals equally seems to be better (just a personal feeling). --- diff --git a/Scripts/Functions/Help/Backends/Texinfo/Templates/en_US/repository-init.pl b/Scripts/Functions/Help/Backends/Texinfo/Templates/en_US/repository-init.pl index 4829e1a..dc8c35f 100755 --- a/Scripts/Functions/Help/Backends/Texinfo/Templates/en_US/repository-init.pl +++ b/Scripts/Functions/Help/Backends/Texinfo/Templates/en_US/repository-init.pl @@ -4,3 +4,5 @@ # ---------------------------------------------------------------------- # $Id$ # ---------------------------------------------------------------------- + +return 1; diff --git a/Scripts/Functions/Help/Backends/Texinfo/Templates/es_ES/repository-init.pl b/Scripts/Functions/Help/Backends/Texinfo/Templates/es_ES/repository-init.pl index ae562ff..236bbee 100755 --- a/Scripts/Functions/Help/Backends/Texinfo/Templates/es_ES/repository-init.pl +++ b/Scripts/Functions/Help/Backends/Texinfo/Templates/es_ES/repository-init.pl @@ -98,13 +98,13 @@ $LANGUAGES->{'es'} = { 'previous section in reading order' => 'Sección anterior en orden de lectura', 'previous section on same level' => 'Sección anterior en el mismo nivel', 'section `%{section}\' in @cite{%{book}}' => 'sección `%{section}\' en @cite{%{book}}', - 'see %{node_file_href}' => 'vea %{node_file_href}', - 'see %{node_file_href} @cite{%{book}}' => 'vea %{node_file_href} @cite{%{book}}', - 'see %{node_file_href} section `%{section}\' in @cite{%{book}}' => 'vea %{node_file_href} sección `%{section}\' en @cite{%{book}}', - 'see %{reference_name}' => 'vea %{reference_name}', - 'see @cite{%{book}}' => 'vea @cite{%{book}}', - 'see section %{reference_name}' => 'vea sección %{reference_name}', - 'see section `%{section}\' in @cite{%{book}}' => 'vea sección `%{section}\' en @cite{%{book}}', + 'see %{node_file_href}' => 'Vea %{node_file_href}', + 'see %{node_file_href} @cite{%{book}}' => 'Vea %{node_file_href} @cite{%{book}}', + 'see %{node_file_href} section `%{section}\' in @cite{%{book}}' => 'Vea %{node_file_href} sección `%{section}\' en @cite{%{book}}', + 'see %{reference_name}' => 'Vea %{reference_name}', + 'see @cite{%{book}}' => 'Vea @cite{%{book}}', + 'see section %{reference_name}' => 'Vea sección %{reference_name}', + 'see section `%{section}\' in @cite{%{book}}' => 'Vea sección `%{section}\' en @cite{%{book}}', 'short table of contents' => 'resumen del contenido', 'table of contents' => 'Tabla de contenidos', 'unknown' => 'desconocido', @@ -113,7 +113,9 @@ $LANGUAGES->{'es'} = { }; $T2H_OBSOLETE_STRINGS->{'es'} = { - 'See' => 'V@\'ease', - 'section' => 'secci@\'on', - 'see' => 'v@\'ase' + 'See' => 'Vea', + 'section' => 'sección', + 'see' => 'vea' }; + +return 1;