On 6 Feb., 23:19, prokoudine <[email protected]> wrote:
> But what worries me quite a bit more is that not all of projections
> names are really translatable, because they (partly) are taken from
> libpano (namely, just one file) which is not localizable. So the list
> of projections a mix of languages. Is anybody brave enough to
> introduce i18n to libpano13? :-)

The projections names are translated by hugin itself during runtime.
But the names can't be extracted automatic from source code. When
adding the projections names to the pot file, then the name become
translatable. You have to import the modified pot file to your
language file and then you can translate the projection names.

Thomas

Following patch is for hugin.pot

Index: src/translations/hugin.pot
===================================================================
--- src/translations/hugin.pot  (Revision 3630)
+++ src/translations/hugin.pot  (Arbeitskopie)
@@ -751,6 +751,70 @@
 msgid "Equirectangular"
 msgstr ""

+#: projection from Libpano
+msgid "Fisheye"
+msgstr ""
+
+#: projection from Libpano
+msgid "Stereographic"
+msgstr ""
+
+#: projection from Libpano
+msgid "Mercator"
+msgstr ""
+
+#: projection from Libpano
+msgid "Trans Mercator"
+msgstr ""
+
+#: projection from Libpano
+msgid "Sinusoidal"
+msgstr ""
+
+#: projection from Libpano
+msgid "Lambert Cylindrical Equal Area"
+msgstr ""
+
+#: projection from Libpano
+msgid "Lambert Equal Area Azimuthal"
+msgstr ""
+
+#: projection from Libpano
+msgid "Albers Equal Area Conic"
+msgstr ""
+
+#: projection from Libpano
+msgid "Miller Cylindrical"
+msgstr ""
+
+#: projection from Libpano
+msgid "Panini"
+msgstr ""
+
+#: projection from Libpano
+msgid "Architectural"
+msgstr ""
+
+#: projection from Libpano
+msgid "Orthographic"
+msgstr ""
+
+#: projection from Libpano
+msgid "Equisolid"
+msgstr ""
+
+#: projection from Libpano
+msgid "Equirectangular Panini"
+msgstr ""
+
+#: projection from Libpano
+msgid "Biplane"
+msgstr ""
+
+#: projection from Libpano
+msgid "Triplane"
+msgstr ""
+
 #: hugin1/hugin/GLPreviewFrame.cpp:727 hugin1/hugin/PreviewFrame.cpp:
737
 msgid "Yaw value must be numeric."
 msgstr ""

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to