1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

notepad: Fix a string resource so its format placeholders can be reordered.

This commit is contained in:
Francois Gouget 2011-11-24 00:26:30 +01:00 committed by Alexandre Julliard
parent 887c1c586a
commit 5eec81b849
47 changed files with 132 additions and 101 deletions

View File

@ -8813,10 +8813,11 @@ msgid "Unicode (UTF-8)"
msgstr "يونيكود (UTF-16)" msgstr "يونيكود (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8954,9 +8954,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9286,10 +9286,11 @@ msgid "Unicode (UTF-8)"
msgstr "" msgstr ""
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9332,9 +9332,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9403,10 +9403,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-16)" msgstr "Unicode (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9273,10 +9273,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-8)" msgstr "Unicode (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8829,9 +8829,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9024,9 +9024,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9194,16 +9194,16 @@ msgstr "Unicode (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"
msgstr "" msgstr ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8972,9 +8972,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9574,10 +9574,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-16)" msgstr "Unicode (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8816,10 +8816,11 @@ msgid "Unicode (UTF-8)"
msgstr "یونی‌کد (UTF-16)" msgstr "یونی‌کد (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9059,9 +9059,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9293,10 +9293,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-8)" msgstr "Unicode (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9267,10 +9267,11 @@ msgid "Unicode (UTF-8)"
msgstr "יוניקוד (UTF-8)" msgstr "יוניקוד (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8699,9 +8699,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9281,9 +9281,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9249,10 +9249,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-8)" msgstr "Unicode (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9196,10 +9196,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-8)" msgstr "Unicode (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9163,10 +9163,11 @@ msgid "Unicode (UTF-8)"
msgstr "유니코드 (UTF-8)" msgstr "유니코드 (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9215,10 +9215,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unikodas (UTF-8)" msgstr "Unikodas (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8699,9 +8699,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9445,10 +9445,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-16)" msgstr "Unicode (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9318,10 +9318,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-16)" msgstr "Unicode (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8699,9 +8699,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8699,9 +8699,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9236,10 +9236,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-8)" msgstr "Unicode (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9508,10 +9508,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-16)" msgstr "Unicode (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9526,10 +9526,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-16)" msgstr "Unicode (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8747,9 +8747,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9755,10 +9755,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-16)" msgstr "Unicode (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9216,10 +9216,11 @@ msgid "Unicode (UTF-8)"
msgstr "Юникод (UTF-8)" msgstr "Юникод (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8837,9 +8837,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9221,10 +9221,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-8)" msgstr "Unicode (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9135,10 +9135,11 @@ msgid "Unicode (UTF-8)"
msgstr "Уникод (UTF-16)" msgstr "Уникод (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9196,10 +9196,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unikod (UTF-16)" msgstr "Unikod (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9176,10 +9176,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-8)" msgstr "Unicode (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8699,9 +8699,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8845,9 +8845,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9450,9 +9450,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9168,10 +9168,11 @@ msgid "Unicode (UTF-8)"
msgstr "Юнікод (UTF-8)" msgstr "Юнікод (UTF-8)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8791,9 +8791,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -8672,9 +8672,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9101,10 +9101,11 @@ msgid "Unicode (UTF-8)"
msgstr "Unicode (UTF-16)" msgstr "Unicode (UTF-16)"
#: notepad.rc:99 #: notepad.rc:99
#, fuzzy
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -9140,9 +9140,9 @@ msgstr ""
#: notepad.rc:99 #: notepad.rc:99
msgid "" msgid ""
"%s\n" "%1\n"
"This file contains Unicode characters which will be lost if\n" "This file contains Unicode characters which will be lost if\n"
"you save this file in the %s encoding.\n" "you save this file in the %2 encoding.\n"
"To keep these characters, click Cancel, and then select\n" "To keep these characters, click Cancel, and then select\n"
"one of the Unicode options in the Encoding drop down list.\n" "one of the Unicode options in the Encoding drop down list.\n"
"Continue?" "Continue?"

View File

@ -153,19 +153,25 @@ static int AlertFileNotSaved(LPCWSTR szFileName)
static int AlertUnicodeCharactersLost(LPCWSTR szFileName) static int AlertUnicodeCharactersLost(LPCWSTR szFileName)
{ {
WCHAR szCaption[MAX_STRING_LEN];
WCHAR szMsgFormat[MAX_STRING_LEN]; WCHAR szMsgFormat[MAX_STRING_LEN];
WCHAR szEnc[MAX_STRING_LEN]; WCHAR szEnc[MAX_STRING_LEN];
WCHAR szMsg[ARRAY_SIZE(szMsgFormat) + MAX_PATH + ARRAY_SIZE(szEnc)]; WCHAR* szMsg;
WCHAR szCaption[MAX_STRING_LEN]; DWORD_PTR args[2];
int rc;
LoadStringW(Globals.hInstance, STRING_NOTEPAD, szCaption,
ARRAY_SIZE(szCaption));
LoadStringW(Globals.hInstance, STRING_LOSS_OF_UNICODE_CHARACTERS, LoadStringW(Globals.hInstance, STRING_LOSS_OF_UNICODE_CHARACTERS,
szMsgFormat, ARRAY_SIZE(szMsgFormat)); szMsgFormat, ARRAY_SIZE(szMsgFormat));
load_encoding_name(ENCODING_ANSI, szEnc, ARRAY_SIZE(szEnc)); load_encoding_name(ENCODING_ANSI, szEnc, ARRAY_SIZE(szEnc));
wnsprintfW(szMsg, ARRAY_SIZE(szMsg), szMsgFormat, szFileName, szEnc); args[0] = (DWORD_PTR)szFileName;
LoadStringW(Globals.hInstance, STRING_NOTEPAD, szCaption, args[1] = (DWORD_PTR)szEnc;
ARRAY_SIZE(szCaption)); FormatMessageW(FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_ARGUMENT_ARRAY, szMsgFormat, 0, 0, (LPWSTR)&szMsg, 0, (__ms_va_list*)args);
return MessageBoxW(Globals.hMainWnd, szMsg, szCaption, rc = MessageBoxW(Globals.hMainWnd, szMsg, szCaption,
MB_OKCANCEL|MB_ICONEXCLAMATION); MB_OKCANCEL|MB_ICONEXCLAMATION);
LocalFree(szMsg);
return rc;
} }
/** /**

View File

@ -91,9 +91,9 @@ STRING_UNICODE_LE, "Unicode (UTF-16)"
STRING_UNICODE_BE, "Unicode (UTF-16 big-endian)" STRING_UNICODE_BE, "Unicode (UTF-16 big-endian)"
STRING_UTF8, "Unicode (UTF-8)" STRING_UTF8, "Unicode (UTF-8)"
STRING_LOSS_OF_UNICODE_CHARACTERS, "%s\n\ STRING_LOSS_OF_UNICODE_CHARACTERS, "%1\n\
This file contains Unicode characters which will be lost if\n\ This file contains Unicode characters which will be lost if\n\
you save this file in the %s encoding.\n\ you save this file in the %2 encoding.\n\
To keep these characters, click Cancel, and then select\n\ To keep these characters, click Cancel, and then select\n\
one of the Unicode options in the Encoding drop down list.\n\ one of the Unicode options in the Encoding drop down list.\n\
Continue?" Continue?"