[Fwd: debiandoc-sgml: Romanian (ro) support]
Salut,
În caz că aveţi obiecţii, le puteţi aduce până se închide bug-ul
#310885 :)
PS: am tradus previous/next ca înainte/înapoi, deoarece poate fi vorba
de pagini sau capitole şi atunci am căutat o formă impersonală.
-dan
-------- Forwarded Message --------
De la: Dan Damian <dand@codemonkey.ro>
La: Debian Bug Tracking System <submit@bugs.debian.org>
Subiect: debiandoc-sgml: Romanian (ro) support
Data: Thu, 26 May 2005 21:07:10 +0300
Package: debiandoc-sgml
Version: 1.1.84
Severity: important
Tags: l10n patch
Hello,
I'm working on translating the release notes into Romanian and I noticed
there's no support for "ro" locale.
The attached patch adds Romanian locale support for debiandoc-sgml, CVS
version.
Thanks,
-dan
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-5-686
Locale: LANG=ro_RO, LC_CTYPE=ro_RO (charmap=ISO-8859-2) (ignored: LC_ALL set to ro_RO)
Versions of packages debiandoc-sgml depends on:
ii libhtml-parser-perl 3.44-1 A collection of modules that parse
ii libroman-perl 1.1-19 Perl module for converting between
ii libsgmls-perl 1.03ii-31 Perl modules for processing SGML p
ii libtext-format-perl 0.52-19 Perl module for formatting (text)
ii liburi-perl 1.30-1 Manipulates and accesses URI strin
ii perl 5.8.4-6ubuntu1 Larry Wall's Practical Extraction
ii perl-modules [libi18n-lan 5.8.4-6ubuntu1 Core Perl modules
ii sgml-base 1.26 SGML infrastructure and SGML catal
ii sgml-data 2.0.2-0ubuntu2 common SGML and XML data
ii sgmlspl 1.03ii-31 SGMLS-based example Perl script fo
ii sp 1.3.4-1.2.1-43 James Clark's SGML parsing tools
-- no debconf information
diff -ruN debiandoc-sgml/tools/lib/Locale/Alias.pm debiandoc-sgml.new/tools/lib/Locale/Alias.pm
--- debiandoc-sgml/tools/lib/Locale/Alias.pm 2005-05-26 20:21:54.638392184 +0300
+++ debiandoc-sgml.new/tools/lib/Locale/Alias.pm 2005-05-26 20:14:58.000000000 +0300
@@ -141,6 +141,10 @@
'pt_PT.ISO8859-15' => 'pt_PT.ISO8859-15',
'pt_PT.ISO8859-15@euro' => 'pt_PT.ISO8859-15',
+ 'ro' => 'ro_RO.ISO8859-2',
+ 'ro_RO' => 'ro_RO.ISO8859-2',
+ 'ro_RO.ISO8859-2' => 'ro_RO.ISO8859-2',
+
'ru' => 'ru_RU.KOI8-R',
'ru_RU' => 'ru_RU.KOI8-R',
'ru_RU.KOI8-R' => 'ru_RU.KOI8-R',
diff -ruN debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/HTML debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/HTML
--- debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/HTML 1970-01-01 02:00:00.000000000 +0200
+++ debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/HTML 2005-05-26 19:36:08.000000000 +0300
@@ -0,0 +1,25 @@
+## -*- perl -*-
+## ----------------------------------------------------------------------
+## Locale/ro_RO.ISO8859-2/HTML: locale for Romanian output in HTML format
+## ----------------------------------------------------------------------
+
+## ----------------------------------------------------------------------
+%locale = (
+ 'charset' => 'iso-8859-2',
+ 'abstract' => 'Abstract',
+ 'copyright notice' => 'Not�opyright',
+ 'contents' => 'Sumar',
+ 'chapter' => sub { return "Capitolul $_[0]" },
+ 'appendix' => sub { return "Anexa $_[0]" },
+ 'section' => sub { return "Sec�iunea $_[0]" },
+ 'subsection' => sub { return "Sec�iunea $_[0]" },
+ 'subsubsection' => sub { return "Sec�iunea $_[0]" },
+ 'paragraph' => sub { return "Paragraful $_[0]" },
+ 'subparagraph' => sub { return "Paragraful $_[0]" },
+ 'footnotes' => 'Note subsol',
+ 'comments' => 'Comentarii',
+ 'next' => '�inte',
+ 'previous' => '�poi',
+ );
+
+## ----------------------------------------------------------------------
diff -ruN debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/LaTeX debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/LaTeX
--- debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/LaTeX 1970-01-01 02:00:00.000000000 +0200
+++ debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/LaTeX 2005-05-26 19:36:16.000000000 +0300
@@ -0,0 +1,14 @@
+## -*- perl -*-
+## ----------------------------------------------------------------------
+## Locale/ro_RO.ISO8859-2/LaTeX2e: locale for Romanian output in LaTeX2e format
+## ----------------------------------------------------------------------
+
+## ----------------------------------------------------------------------
+%locale = (
+ 'babel' => 'rom�',
+ 'inputenc' => 'latin2',
+ 'abstract' => 'Abstract',
+ 'copyright notice' => 'Not�opyright',
+ );
+
+## ----------------------------------------------------------------------
diff -ruN debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/Texinfo debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/Texinfo
--- debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/Texinfo 1970-01-01 02:00:00.000000000 +0200
+++ debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/Texinfo 2005-05-26 19:36:31.000000000 +0300
@@ -0,0 +1,18 @@
+## -*- perl -*-
+## ----------------------------------------------------------------------
+## Locale/ro_RO.ISO8859-2/Texinfo: locale for Romanian output in Texinfo format
+## ----------------------------------------------------------------------
+
+## ----------------------------------------------------------------------
+%locale = (
+ 'detailed' => 'Con�inut detaliat',
+ 'chapter' => sub { return "Capitolul $_[0]" },
+ 'appendix' => sub { return "Anexa $_[0]" },
+ 'section' => sub { return "Sec�iunea $_[0]" },
+ 'subsection' => sub { return "Sec�iunea $_[0]" },
+ 'subsubsection' => sub { return "Sec�iunea $_[0]" },
+ 'paragraph' => sub { return "Paragraful $_[0]" },
+ 'subparagraph' => sub { return "Paragraful $_[0]" },
+ );
+
+## ----------------------------------------------------------------------
diff -ruN debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/Text debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/Text
--- debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/Text 1970-01-01 02:00:00.000000000 +0200
+++ debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/Text 2005-05-26 19:35:37.000000000 +0300
@@ -0,0 +1,20 @@
+## -*- perl -*-
+## ----------------------------------------------------------------------
+## Locale/ro_RO.ISO8859-2/Text: locale for Romanian output in plain text format
+## ----------------------------------------------------------------------
+
+## ----------------------------------------------------------------------
+%locale = (
+ 'abstract' => 'Abstract',
+ 'copyright notice' => 'Not�opyright',
+ 'contents' => 'Sumar',
+ 'chapter' => sub { return "Capitolul $_[0]" },
+ 'appendix' => sub { return "Anexa $_[0]" },
+ 'section' => sub { return "Sec�iunea $_[0]" },
+ 'subsection' => sub { return "Sec�iunea $_[0]" },
+ 'subsubsection' => sub { return "Sec�iunea $_[0]" },
+ 'paragraph' => sub { return "Paragraful $_[0]" },
+ 'subparagraph' => sub { return "Paragraful $_[0]" },
+ );
+
+## ----------------------------------------------------------------------
diff -ruN debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/TextOV debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/TextOV
--- debiandoc-sgml/tools/lib/Locale/ro_RO.ISO8859-2/TextOV 1970-01-01 02:00:00.000000000 +0200
+++ debiandoc-sgml.new/tools/lib/Locale/ro_RO.ISO8859-2/TextOV 2005-05-26 19:35:58.000000000 +0300
@@ -0,0 +1,20 @@
+## -*- perl -*-
+## ----------------------------------------------------------------------
+## Locale/ro_RO.ISO8859-2/Text: locale for Romanian output in overstrike text format
+## ----------------------------------------------------------------------
+
+## ----------------------------------------------------------------------
+%locale = (
+ 'abstract' => 'Abstract',
+ 'copyright notice' => 'Not�opyright',
+ 'contents' => 'Sumar',
+ 'chapter' => sub { return "Capitolul $_[0]" },
+ 'appendix' => sub { return "Anexa $_[0]" },
+ 'section' => sub { return "Sec�iunea $_[0]" },
+ 'subsection' => sub { return "Sec�iunea $_[0]" },
+ 'subsubsection' => sub { return "Sec�iunea $_[0]" },
+ 'paragraph' => sub { return "Paragraful $_[0]" },
+ 'subparagraph' => sub { return "Paragraful $_[0]" },
+ );
+
+## ----------------------------------------------------------------------
Reply to: