From c0efba3dc8504c35dd476136958713a123083d33 Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Wed, 24 Sep 2008 21:51:52 +0000 Subject: Added es locale files, ready for testing --- diff --git a/MANIFEST b/MANIFEST index b87d3f8..5e62b1c 100644 --- a/MANIFEST +++ b/MANIFEST @@ -4,10 +4,12 @@ AUTHORS setup.py COPYING moon.py +po/es.po po/moon.pot po/POTFILES.in -locale/es/activity.linfo icons/grid-icon.svg icons/hemi-icon.svg +locale/es/activity.linfo +locale/es/LC_MESSAGES/com.garycmartin.Moon.mo activity/activity.info activity/moon-icon.svg diff --git a/locale/es/LC_MESSAGES/com.garycmartin.Moon.mo b/locale/es/LC_MESSAGES/com.garycmartin.Moon.mo new file mode 100644 index 0000000..d0fe902 --- /dev/null +++ b/locale/es/LC_MESSAGES/com.garycmartin.Moon.mo Binary files differ diff --git a/locale/es/activity.linfo b/locale/es/activity.linfo index b971f3d..4a94d03 100644 --- a/locale/es/activity.linfo +++ b/locale/es/activity.linfo @@ -1,2 +1,2 @@ [Activity] -name=Luna +name = Luna diff --git a/po/POTFILES.in b/po/POTFILES.in index a7347ef..4f54e9b 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,3 +1,3 @@ encoding: UTF-8 +activity/activity.info moon.py - diff --git a/po/es.po b/po/es.po new file mode 100644 index 0000000..999bcab --- /dev/null +++ b/po/es.po @@ -0,0 +1,215 @@ +# Moon XO's Activity translation +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Gabriel Menini , 2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-03-14 16:02+0000\n" +"PO-Revision-Date: 2008-09-19 HO:MI-0300\n" +"Last-Translator: Gabriel Menini \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../activity/activity.info:2 ../moon.py:71 +msgid "Moon" +msgstr "Luna" + +#: ../moon.py:83 +msgid "Toggle Grid View" +msgstr "Cambiar a Vista Grilla" + +#: ../moon.py:88 +msgid "Toggle Hemisphere View" +msgstr "Cambiar a Vista Hemisferio" + +#: ../moon.py:93 +msgid "View" +msgstr "Ver" + +#: ../moon.py:190 +msgid "" +"Today's Moon Information\n" +"\n" +msgstr "" +"Información de la Luna para Hoy\n" +"\n" + +#: ../moon.py:191 +#, python-format +msgid "" +"Phase:\n" +"%s\n" +"\n" +msgstr "" +"Fase:\n" +"%s\n" +"\n" + +#: ../moon.py:192 +#, python-format +msgid "" +"Julian Date:\n" +"%.2f (astronomical)\n" +"\n" +msgstr "" +"Fecha Juliana" +"%.2f (astronomical)\n" +"\n" + +#: ../moon.py:193 +#, python-format +msgid "" +"Age:\n" +"%(days).0f days, %(hours).0f hours, %(minutes).0f minutes\n" +"\n" +msgstr "" +"Edad:\n" +"%(days).0f días, %(hours).0f horas, %(minutes).0f minutes\n" +"\n" + +#: ../moon.py:194 +#, python-format +msgid "" +"Lunation:\n" +"%(phase).2f%% through lunation %(lunation)d\n" +"\n" +msgstr "" +"Revolución:\n" +"%(phase).2f%% hasta la revolución %(lunation)d\n" +"\n" + +#: ../moon.py:195 +#, python-format +msgid "" +"Surface Visibility:\n" +"%.0f%% (estimated)\n" +"\n" +msgstr "" +"Visibilidad de la Superficie:\n" +"%.0f%% (estimated)\n" +"\n" + +#: ../moon.py:196 +#, python-format +msgid "" +"Selenographic Terminator Longitude:\n" +"%(deg).1f˚%(westOrEast)s (%(riseOrSet)s)\n" +"\n" +msgstr "" +"Longitud del Terminador Selenográfico:\n" +"%(deg).1f˚%(westOrEast)s (%(riseOrSet)s)\n" +"\n" + +#: ../moon.py:197 +#, python-format +msgid "" +"Next Full Moon:\n" +"%(date)s in %(days).0f days\n" +"\n" +msgstr "" +"Próxima Luna Llena:\n" +"%(date)s en %(days).0f días\n" +"\n" + +#: ../moon.py:198 +#, python-format +msgid "" +"Next New Moon:\n" +"%(date)s in %(days).0f days\n" +"\n" +msgstr "" +"Próxima Luna Nueva:\n" +"%(date)s en %(days).0f días\n" +"\n" + +#: ../moon.py:199 +#, python-format +msgid "" +"Next Lunar eclipse:\n" +"%(date)s in %(days).0f days\n" +"\n" +msgstr "" +"Próximo Eclipse Lunar:\n" +"%(date)s en %(days).0f días\n" +"\n" + +#: ../moon.py:200 +#, python-format +msgid "" +"Next Solar eclipse:\n" +"%(date)s in %(days).0f days\n" +"\n" +msgstr "" +"Próximo Eclipse Solar:\n" +"%(date)s en %(days).0f días\n" +"\n" + +#: ../moon.py:282 +msgid "SNWE" +msgstr "SNWE" + +#: ../moon.py:285 +msgid "NSEW" +msgstr "NSEW" + +#: ../moon.py:338 +msgid "Latitude" +msgstr "Latitud" + +#: ../moon.py:340 +msgid "Longitude" +msgstr "Longitud" + +#: ../moon.py:437 +msgid "west" +msgstr "oeste" + +#: ../moon.py:439 +msgid "east" +msgstr "este" + +#: ../moon.py:442 +msgid "Sunset" +msgstr "Ocaso" + +#: ../moon.py:444 +msgid "Sunrise" +msgstr "Alba" + +#: ../moon.py:458 ../moon.py:474 +msgid "New Moon" +msgstr "Luna Nueva" + +#: ../moon.py:460 +msgid "Waxing Crescent" +msgstr "Luna Nueva Visible" + +#: ../moon.py:462 +msgid "First Quarter" +msgstr "Cuarto Creciente" + +#: ../moon.py:464 +msgid "Waxing Gibbous" +msgstr "Luna Gibada Creciente" + +#: ../moon.py:466 +msgid "Full Moon" +msgstr "Luna Llena" + +#: ../moon.py:468 +msgid "Waning Gibbous" +msgstr "Luna Gibada Menguante" + +#: ../moon.py:470 +msgid "Last Quarter" +msgstr "Cuarto Menguante" + +#: ../moon.py:472 +msgid "Waning Crescent" +msgstr "Luna Menguante" diff --git a/po/moon.pot b/po/moon.pot index 3ba174d..9c8da66 100644 --- a/po/moon.pot +++ b/po/moon.pot @@ -16,6 +16,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: ../activity/activity.info:2 +msgid "Moon" +msgstr "" + #: ../moon.py:71 msgid "Moon" msgstr "" diff --git a/setup.py b/setup.py index 50404d0..ad218a3 100755 --- a/setup.py +++ b/setup.py @@ -1,12 +1,6 @@ #!/usr/bin/env python try: from sugar.activity import bundlebuilder - bundlebuilder.start("moon") + bundlebuilder.start() except ImportError: - import os - os.system("find ./ | sed 's,^./,Moon.activity/,g' | sed 's,//,/,g' | grep -v /.git | grep -v .DS_Store > MANIFEST") - os.system('rm Moon.xo') - os.chdir('..') - os.system('zip -r Moon.xo Moon.activity -x \*/.git\* \*.DS_Store') - os.system('mv Moon.xo ./Moon.activity') - os.chdir('Moon.activity') + print "Error: sugar.activity.Bundlebuilder not found." -- cgit v0.9.1