Updates for LibreOffice 3.4 Serbian translations

Hi all,

I took a SDF file from http://ftp.fsf.hu/LibreOffice/latest-SDF/ and
prepared updated Serbian translations for LibreOffice 3.4

Translated Serbian Cyrillic PO files are available in the libo branch at
our Gitorious repository: https://gitorious.org/ooo-sr/ui

(Direct source tree link: https://gitorious.org/ooo-sr/ui/trees/libo)

Using these sources and recoding Cyrillic to Latin script I made SDF
files available for download at: http://ooo.matf.bg.ac.rs/sdf/libo/

As I can see, we should push PO files to the LibreOffice translations
repository. What is the recommended way to do this? Should I submit a
tarball with sr and sh PO files tree, or checkout a repository from Git
and prepare a (large) patch?

Thanks,
Goran Rakic

Hi Goran,
2011.04.29. 18:35 keltezéssel, Goran Rakic írta:

I took a SDF file from http://ftp.fsf.hu/LibreOffice/latest-SDF/ and
prepared updated Serbian translations for LibreOffice 3.4

Very good news, thanks! :slight_smile:

As I can see, we should push PO files to the LibreOffice translations
repository. What is the recommended way to do this? Should I submit a
tarball with sr and sh PO files tree, or checkout a repository from Git
and prepare a (large) patch?

The best would be the tarballs of sr and sh po files. I will commit and
push them. Please send them to me before Sunday evening so they can be
included in the next beta/rc release.

Best regards,
Andras

Hi Andras,

sr http://ooo.matf.bg.ac.rs/sdf/libo/2011-04-11_sr_po.tar.gz
sh http://ooo.matf.bg.ac.rs/sdf/libo/2011-04-11_sh_po.tar.gz

From a checkout, these are made with a simple shell script:

#!/bin/bash

git clone http://git.gitorious.org/ooo-sr/ui.git libo-ui-sr;
cd libo-ui-sr;
git checkout libo;
mkdir ../sr ../sh;

for i in `find . -name '*.po'`; do
  dir=`dirname $i`;
  mkdir -p ../sr/$dir ../sh/$dir;
  cp $i ../sr/$i;
  recode-sr-latin < $i > ../sh/$i;
done

cd ..;
prefix=`date '+%Y-%m-%d'`;
tar -czf ${prefix}_sr_po.tar.gz sr;
tar -czf ${prefix}_sh_po.tar.gz sh;

rm -fr sr sh libo-ui-s;

Thanks,
Goran Rakic

Hi Goran,
2011.04.29. 22:17 keltezéssel, Goran Rakic írta:

  recode-sr-latin < $i > ../sh/$i;

This breaks strings in sh\sw\source\ui\misc.po, see the STRRES_NUMTYPES
itemlist. You should not replace cyrillic characters in messages like
"А, Б, .., Аа, Аб, ... (Russian)". :slight_smile:

Best regards,
Andras

Good catch :wink:

I do not think it is so bad for usability, you are the first to detect
it in last 3 years.

I will extend the script to handle this in the future. I should rename
the Serbian numbering name in the LibreOffice locale source too.

Goran