El Viernes, 30 de mayo de 2014 20:34:39 Malcolm escribió:
On Sat 31 May 2014 12:06:48 AM CDT, jcsl wrote:
Hi.
The Solaar package is in several repositories, but none of them install the translations files. I've branched the package to try to build it with the translations but if I do what I have done with other packages, use the %lang_package macro and add %files lang -f %{name}.lang in the spec file, it doesn't work. I get this:
find: '/home/abuild/rpmbuild/BUILDROOT/solaar-0.9.2-22.1.x86_64/usr/share/locale/ ': No such file or directory find: '/home/abuild/rpmbuild/BUILDROOT/solaar-0.9.2-22.1.x86_64/usr/share/help/': No such file or directory No translations found for solaar in /home/abuild/rpmbuild/BUILDROOT/solaar-0.9.2-22.1.x86_64
error: Bad exit status from /var/tmp/rpm-tmp.GyVbWN (%install)
I have no clue on how to fix this. Any hints? I've tried copying the .po files to the locale dir and it doesn't work. I'm making the translation for my languaje and I'd like it to be included in the package.
Greetings.
Hi Did you read the docs/i18n.md file?
Hi. I did read that file, but isn't it the process to "create" new .po files for translation? If it is not, then I haven't understood a thing. By the way, when I run ./tools/po-update.sh <language> the .po file for my language is built, but there are errors: /usr/bin/msgunfmt: error al abrir el fichero "/usr/share/locale- langpack/es_ES/LC_MESSAGES/gtk30.mo" para lectura: No existe el fichero o el directorio /usr/bin/msgunfmt: error al abrir el fichero "/usr/share/locale- langpack/es_ES/LC_MESSAGES/gtk30-properties.mo" para lectura: No existe el fichero o el directorio /usr/bin/msgmerge: error al abrir el fichero "" para lectura: No existe el fichero o el directorio "No existe el fichero o el directorio" means "No such file or directory". The package that provides those files is "bundle-lang-common-es", that it is installed. Greetings. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org