[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problem with importing .pot file to poEdit

From: Petr Klíma <qaxi_at_seznam.cz>
Date: Wed, 20 Feb 2008 21:46:46 +0100

Hello

If I use poEdit to import Tortoise.pot (File > New catalog from POT file
... ) it writes message "internationalized messages should not contain
\r escape sequence".
When I remove all \r from the file, it works OK.

Where is the problem? (just in case I am attaching patch)

Petr Klíma

Index: C:/Documents and Settings/Petr Klíma/Dokumenty/prg/TortoiseSVN/Languages/Tortoise.pot
===================================================================
--- C:/Documents and Settings/Petr Klíma/Dokumenty/prg/TortoiseSVN/Languages/Tortoise.pot (revision 12175)
+++ C:/Documents and Settings/Petr Klíma/Dokumenty/prg/TortoiseSVN/Languages/Tortoise.pot (working copy)
@@ -1723,7 +1723,7 @@
 
 #. Resource IDs: (127)
 #, c-format
-msgid "Copy %ld items to\r\n%s"
+msgid "Copy %ld items to\n%s"
 msgstr ""
 
 #. Resource IDs: (103)
@@ -1738,7 +1738,7 @@
 
 #. Resource IDs: (126)
 #, c-format
-msgid "Copy %s\r\nto %s"
+msgid "Copy %s\nto %s"
 msgstr ""
 
 #. Resource IDs: (142)
@@ -1949,7 +1949,7 @@
 
 #. Resource IDs: (126)
 #, c-format
-msgid "Create new directory:\r\n%s"
+msgid "Create new directory:\n%s"
 msgstr ""
 
 #. Resource IDs: (8)
@@ -2225,7 +2225,7 @@
 
 #. Resource IDs: (127)
 #, c-format
-msgid "Edit property \"%s\" on\r\n%s"
+msgid "Edit property \"%s\" on\n%s"
 msgstr ""
 
 #. Resource IDs: (1331)
@@ -3067,17 +3067,17 @@
 
 #. Resource IDs: (127)
 #, c-format
-msgid "Import file %s\r\nto %s"
+msgid "Import file %s\nto %s"
 msgstr ""
 
 #. Resource IDs: (126)
 #, c-format
-msgid "Import file to\r\n%s"
+msgid "Import file to\n%s"
 msgstr ""
 
 #. Resource IDs: (126)
 #, c-format
-msgid "Import folder %s\r\nto %s"
+msgid "Import folder %s\nto %s"
 msgstr ""
 
 #. Resource IDs: (120)
@@ -3543,12 +3543,12 @@
 
 #. Resource IDs: (127)
 #, c-format
-msgid "Move %ld items to\r\n%s"
+msgid "Move %ld items to\n%s"
 msgstr ""
 
 #. Resource IDs: (127)
 #, c-format
-msgid "Move %s\r\nto %s"
+msgid "Move %s\nto %s"
 msgstr ""
 
 #. Resource IDs: (104)
@@ -4243,7 +4243,7 @@
 
 #. Resource IDs: (127)
 #, c-format
-msgid "Remove property \"%s\" from\r\n%s"
+msgid "Remove property \"%s\" from\n%s"
 msgstr ""
 
 #. Resource IDs: (1332)
@@ -4290,7 +4290,7 @@
 
 #. Resource IDs: (127)
 #, c-format
-msgid "Rename item from %s\r\nto %s"
+msgid "Rename item from %s\nto %s"
 msgstr ""
 
 #. Resource IDs: (221)
@@ -4495,12 +4495,12 @@
 
 #. Resource IDs: (272)
 #, c-format
-msgid "Revision: %ld\nURL: %s\r\nAuthor: %s\r\nDate: %s\r\n\r\nLogmessage:\r\n%s"
+msgid "Revision: %ld\nURL: %s\nAuthor: %s\nDate: %s\n\nLogmessage:\n%s"
 msgstr ""
 
 #. Resource IDs: (272)
 #, c-format
-msgid "Revision: %ld\nURL: %s\r\nAuthor: %s\r\nDate: %s\r\n\r\nTags:%s\r\n\r\nLogmessage:\r\n%s"
+msgid "Revision: %ld\nURL: %s\nAuthor: %s\nDate: %s\n\nTags:%s\n\nLogmessage:\n%s"
 msgstr ""
 
 #. Resource IDs: (116, 65535)
@@ -4808,7 +4808,7 @@
 
 #. Resource IDs: (127)
 #, c-format
-msgid "Set property \"%s\" on\r\n%s"
+msgid "Set property \"%s\" on\n%s"
 msgstr ""
 
 #. Resource IDs: (13)
@@ -5552,7 +5552,7 @@
 
 #. Resource IDs: (107)
 #, c-format
-msgid "TortoiseMerge %d.%d.%d, Build %d - %s, %s\r\nlibsvn_diff %d.%d.%d, %s\r\napr %d.%d.%d\r\napr-utils %d.%d.%d"
+msgid "TortoiseMerge %d.%d.%d, Build %d - %s, %s\nlibsvn_diff %d.%d.%d, %s\napr %d.%d.%d\napr-utils %d.%d.%d"
 msgstr ""
 
 #. Resource IDs: (80, 65535)
@@ -5566,7 +5566,7 @@
 
 #. Resource IDs: (107)
 #, c-format
-msgid "TortoiseSVN %d.%d.%d, Build %d - %s, %s\r\nSubversion %d.%d.%d, %s\r\napr %d.%d.%d\r\napr-utils %d.%d.%d\r\nberkeley db %d.%d.%d\r\nneon %s\r\n%s\r\nzlib %s"
+msgid "TortoiseSVN %d.%d.%d, Build %d - %s, %s\nSubversion %d.%d.%d, %s\napr %d.%d.%d\napr-utils %d.%d.%d\nberkeley db %d.%d.%d\nneon %s\n%s\nzlib %s"
 msgstr ""
 
 #. Resource IDs: (98)
@@ -5871,7 +5871,7 @@
 msgstr ""
 
 #. Resource IDs: (594)
-msgid "Use the log dialog to select the revisions you want to merge, or enter the revisions to merge, separated by commas. A revision range can be specified by a dash.\r\n\r\nExample: 4-7,9,11,15-HEAD\r\n\r\nTo merge all revisions, leave the box empty."
+msgid "Use the log dialog to select the revisions you want to merge, or enter the revisions to merge, separated by commas. A revision range can be specified by a dash.\n\nExample: 4-7,9,11,15-HEAD\n\nTo merge all revisions, leave the box empty."
 msgstr ""
 
 #. Resource IDs: (251)
@@ -6189,7 +6189,7 @@
 
 #. Resource IDs: (208)
 #, c-format
-msgid "copied from\r\n%s - revision %ld"
+msgid "copied from\n%s - revision %ld"
 msgstr ""
 
 #. Resource IDs: (65535)
@@ -6429,7 +6429,7 @@
 
 #. Resource IDs: (208)
 #, c-format
-msgid "switched to\r\n%s"
+msgid "switched to\n%s"
 msgstr ""
 
 #. Resource IDs: (65535)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-02-20 21:48:13 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.