Skip to content

Commit 28bb9f7

Browse files
authored
Update localized strings that render \r\n as text (#1285)
1 parent d2b6973 commit 28bb9f7

14 files changed

+175
-94
lines changed

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/Strings.resx

+6-3
Original file line numberDiff line numberDiff line change
@@ -1027,10 +1027,12 @@
10271027
<value>Too many files selected. Select fewer files and try again.</value>
10281028
</data>
10291029
<data name="FileDialogCreatePrompt" xml:space="preserve">
1030-
<value>'{0}' does not exist.\r\nDo you want to create it?</value>
1030+
<value>'{0}' does not exist.
1031+
Do you want to create it?</value>
10311032
</data>
10321033
<data name="FileDialogFileNotFound" xml:space="preserve">
1033-
<value>'{0}' does not exist.\r\nVerify that the file name is correct.</value>
1034+
<value>'{0}' does not exist.
1035+
Verify that the file name is correct.</value>
10341036
</data>
10351037
<data name="FileDialogInvalidFileName" xml:space="preserve">
10361038
<value>'{0}' is not a valid file name.</value>
@@ -1042,7 +1044,8 @@
10421044
<value>Filter index is not valid.</value>
10431045
</data>
10441046
<data name="FileDialogOverwritePrompt" xml:space="preserve">
1045-
<value>'{0}' already exists.\r\nDo you want to replace it?</value>
1047+
<value>'{0}' already exists.
1048+
Do you want to replace it?</value>
10461049
</data>
10471050
<data name="FileDialogSubClassFailure" xml:space="preserve">
10481051
<value>Cannot subclass a file dialog because sufficient memory is not available.</value>

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.cs.xlf

+13-7
Original file line numberDiff line numberDiff line change
@@ -1613,13 +1613,17 @@
16131613
<note />
16141614
</trans-unit>
16151615
<trans-unit id="FileDialogCreatePrompt">
1616-
<source>'{0}' does not exist.\r\nDo you want to create it?</source>
1617-
<target state="translated">Prvek {0} neexistuje.\r\nChcete ho vytvořit?</target>
1616+
<source>'{0}' does not exist.
1617+
Do you want to create it?</source>
1618+
<target state="translated">Prvek {0} neexistuje.
1619+
Chcete ho vytvořit?</target>
16181620
<note />
16191621
</trans-unit>
16201622
<trans-unit id="FileDialogFileNotFound">
1621-
<source>'{0}' does not exist.\r\nVerify that the file name is correct.</source>
1622-
<target state="translated">Prvek {0} neexistuje.\r\nOvěřte, zda je správný název souboru.</target>
1623+
<source>'{0}' does not exist.
1624+
Verify that the file name is correct.</source>
1625+
<target state="translated">Prvek {0} neexistuje.
1626+
Ověřte, zda je správný název souboru.</target>
16231627
<note />
16241628
</trans-unit>
16251629
<trans-unit id="FileDialogInvalidFileName">
@@ -1638,8 +1642,10 @@
16381642
<note />
16391643
</trans-unit>
16401644
<trans-unit id="FileDialogOverwritePrompt">
1641-
<source>'{0}' already exists.\r\nDo you want to replace it?</source>
1642-
<target state="translated">Prvek {0} již existuje.\r\nChcete ho nahradit?</target>
1645+
<source>'{0}' already exists.
1646+
Do you want to replace it?</source>
1647+
<target state="translated">Prvek {0} již existuje.
1648+
Chcete ho nahradit?</target>
16431649
<note />
16441650
</trans-unit>
16451651
<trans-unit id="FileDialogSubClassFailure">
@@ -6469,4 +6475,4 @@
64696475
</trans-unit>
64706476
</body>
64716477
</file>
6472-
</xliff>
6478+
</xliff>

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.de.xlf

+13-7
Original file line numberDiff line numberDiff line change
@@ -1613,13 +1613,17 @@
16131613
<note />
16141614
</trans-unit>
16151615
<trans-unit id="FileDialogCreatePrompt">
1616-
<source>'{0}' does not exist.\r\nDo you want to create it?</source>
1617-
<target state="translated">"{0}" ist nicht vorhanden.\r\nMöchten Sie das Element erstellen?</target>
1616+
<source>'{0}' does not exist.
1617+
Do you want to create it?</source>
1618+
<target state="translated">"{0}" ist nicht vorhanden.
1619+
Möchten Sie das Element erstellen?</target>
16181620
<note />
16191621
</trans-unit>
16201622
<trans-unit id="FileDialogFileNotFound">
1621-
<source>'{0}' does not exist.\r\nVerify that the file name is correct.</source>
1622-
<target state="translated">"{0}" ist nicht vorhanden.\r\nÜberprüfen Sie den Dateinamen.</target>
1623+
<source>'{0}' does not exist.
1624+
Verify that the file name is correct.</source>
1625+
<target state="translated">"{0}" ist nicht vorhanden.
1626+
Überprüfen Sie den Dateinamen.</target>
16231627
<note />
16241628
</trans-unit>
16251629
<trans-unit id="FileDialogInvalidFileName">
@@ -1638,8 +1642,10 @@
16381642
<note />
16391643
</trans-unit>
16401644
<trans-unit id="FileDialogOverwritePrompt">
1641-
<source>'{0}' already exists.\r\nDo you want to replace it?</source>
1642-
<target state="translated">"{0}" ist bereits vorhanden.\r\nMöchten Sie das Element ersetzen?</target>
1645+
<source>'{0}' already exists.
1646+
Do you want to replace it?</source>
1647+
<target state="translated">"{0}" ist bereits vorhanden.
1648+
Möchten Sie das Element ersetzen?</target>
16431649
<note />
16441650
</trans-unit>
16451651
<trans-unit id="FileDialogSubClassFailure">
@@ -6469,4 +6475,4 @@
64696475
</trans-unit>
64706476
</body>
64716477
</file>
6472-
</xliff>
6478+
</xliff>

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.es.xlf

+13-7
Original file line numberDiff line numberDiff line change
@@ -1613,13 +1613,17 @@
16131613
<note />
16141614
</trans-unit>
16151615
<trans-unit id="FileDialogCreatePrompt">
1616-
<source>'{0}' does not exist.\r\nDo you want to create it?</source>
1617-
<target state="translated">"{0}" no existe.\r\n¿Desea crearlo?</target>
1616+
<source>'{0}' does not exist.
1617+
Do you want to create it?</source>
1618+
<target state="translated">"{0}" no existe.
1619+
¿Desea crearlo?</target>
16181620
<note />
16191621
</trans-unit>
16201622
<trans-unit id="FileDialogFileNotFound">
1621-
<source>'{0}' does not exist.\r\nVerify that the file name is correct.</source>
1622-
<target state="translated">"{0}" no existe.\r\nCompruebe que el nombre de archivo sea correcto.</target>
1623+
<source>'{0}' does not exist.
1624+
Verify that the file name is correct.</source>
1625+
<target state="translated">"{0}" no existe.
1626+
Compruebe que el nombre de archivo sea correcto.</target>
16231627
<note />
16241628
</trans-unit>
16251629
<trans-unit id="FileDialogInvalidFileName">
@@ -1638,8 +1642,10 @@
16381642
<note />
16391643
</trans-unit>
16401644
<trans-unit id="FileDialogOverwritePrompt">
1641-
<source>'{0}' already exists.\r\nDo you want to replace it?</source>
1642-
<target state="translated">{0} ya existe.\r\n¿Desea reemplazarlo?</target>
1645+
<source>'{0}' already exists.
1646+
Do you want to replace it?</source>
1647+
<target state="translated">{0} ya existe.
1648+
¿Desea reemplazarlo?</target>
16431649
<note />
16441650
</trans-unit>
16451651
<trans-unit id="FileDialogSubClassFailure">
@@ -6469,4 +6475,4 @@
64696475
</trans-unit>
64706476
</body>
64716477
</file>
6472-
</xliff>
6478+
</xliff>

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.fr.xlf

+13-7
Original file line numberDiff line numberDiff line change
@@ -1613,13 +1613,17 @@
16131613
<note />
16141614
</trans-unit>
16151615
<trans-unit id="FileDialogCreatePrompt">
1616-
<source>'{0}' does not exist.\r\nDo you want to create it?</source>
1617-
<target state="translated">'{0}' n'existe pas.\r\nVoulez-vous le créer ?</target>
1616+
<source>'{0}' does not exist.
1617+
Do you want to create it?</source>
1618+
<target state="translated">'{0}' n'existe pas.
1619+
Voulez-vous le créer ?</target>
16181620
<note />
16191621
</trans-unit>
16201622
<trans-unit id="FileDialogFileNotFound">
1621-
<source>'{0}' does not exist.\r\nVerify that the file name is correct.</source>
1622-
<target state="translated">'{0}' n'existe pas.\r\nVérifiez que le nom de fichier est correct.</target>
1623+
<source>'{0}' does not exist.
1624+
Verify that the file name is correct.</source>
1625+
<target state="translated">'{0}' n'existe pas.
1626+
Vérifiez que le nom de fichier est correct.</target>
16231627
<note />
16241628
</trans-unit>
16251629
<trans-unit id="FileDialogInvalidFileName">
@@ -1638,8 +1642,10 @@
16381642
<note />
16391643
</trans-unit>
16401644
<trans-unit id="FileDialogOverwritePrompt">
1641-
<source>'{0}' already exists.\r\nDo you want to replace it?</source>
1642-
<target state="translated">'{0}' existe déjà.\r\nVoulez-vous le remplacer ?</target>
1645+
<source>'{0}' already exists.
1646+
Do you want to replace it?</source>
1647+
<target state="translated">'{0}' existe déjà.
1648+
Voulez-vous le remplacer ?</target>
16431649
<note />
16441650
</trans-unit>
16451651
<trans-unit id="FileDialogSubClassFailure">
@@ -6469,4 +6475,4 @@
64696475
</trans-unit>
64706476
</body>
64716477
</file>
6472-
</xliff>
6478+
</xliff>

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.it.xlf

+13-7
Original file line numberDiff line numberDiff line change
@@ -1613,13 +1613,17 @@
16131613
<note />
16141614
</trans-unit>
16151615
<trans-unit id="FileDialogCreatePrompt">
1616-
<source>'{0}' does not exist.\r\nDo you want to create it?</source>
1617-
<target state="translated">'{0}' non esiste.\r\nCrearlo?</target>
1616+
<source>'{0}' does not exist.
1617+
Do you want to create it?</source>
1618+
<target state="translated">'{0}' non esiste.
1619+
Crearlo?</target>
16181620
<note />
16191621
</trans-unit>
16201622
<trans-unit id="FileDialogFileNotFound">
1621-
<source>'{0}' does not exist.\r\nVerify that the file name is correct.</source>
1622-
<target state="translated">'{0}' non esiste.\r\nVerificare che il nome file sia corretto.</target>
1623+
<source>'{0}' does not exist.
1624+
Verify that the file name is correct.</source>
1625+
<target state="translated">'{0}' non esiste.
1626+
Verificare che il nome file sia corretto.</target>
16231627
<note />
16241628
</trans-unit>
16251629
<trans-unit id="FileDialogInvalidFileName">
@@ -1638,8 +1642,10 @@
16381642
<note />
16391643
</trans-unit>
16401644
<trans-unit id="FileDialogOverwritePrompt">
1641-
<source>'{0}' already exists.\r\nDo you want to replace it?</source>
1642-
<target state="translated">'{0}' già esistente.\r\nSostituirlo?</target>
1645+
<source>'{0}' already exists.
1646+
Do you want to replace it?</source>
1647+
<target state="translated">'{0}' già esistente.
1648+
Sostituirlo?</target>
16431649
<note />
16441650
</trans-unit>
16451651
<trans-unit id="FileDialogSubClassFailure">
@@ -6469,4 +6475,4 @@
64696475
</trans-unit>
64706476
</body>
64716477
</file>
6472-
</xliff>
6478+
</xliff>

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.ja.xlf

+13-7
Original file line numberDiff line numberDiff line change
@@ -1613,13 +1613,17 @@
16131613
<note />
16141614
</trans-unit>
16151615
<trans-unit id="FileDialogCreatePrompt">
1616-
<source>'{0}' does not exist.\r\nDo you want to create it?</source>
1617-
<target state="translated">'{0}' が存在しません。\r\n作成しますか?</target>
1616+
<source>'{0}' does not exist.
1617+
Do you want to create it?</source>
1618+
<target state="translated">'{0}' が存在しません。
1619+
作成しますか?</target>
16181620
<note />
16191621
</trans-unit>
16201622
<trans-unit id="FileDialogFileNotFound">
1621-
<source>'{0}' does not exist.\r\nVerify that the file name is correct.</source>
1622-
<target state="translated">'{0}' は存在しません。\r\nファイル名が正しいことをご確認ください。</target>
1623+
<source>'{0}' does not exist.
1624+
Verify that the file name is correct.</source>
1625+
<target state="translated">'{0}' は存在しません。
1626+
ファイル名が正しいことをご確認ください。</target>
16231627
<note />
16241628
</trans-unit>
16251629
<trans-unit id="FileDialogInvalidFileName">
@@ -1638,8 +1642,10 @@
16381642
<note />
16391643
</trans-unit>
16401644
<trans-unit id="FileDialogOverwritePrompt">
1641-
<source>'{0}' already exists.\r\nDo you want to replace it?</source>
1642-
<target state="translated">'{0}' は既に存在します。\r\n置き換えますか?</target>
1645+
<source>'{0}' already exists.
1646+
Do you want to replace it?</source>
1647+
<target state="translated">'{0}' は既に存在します。
1648+
置き換えますか?</target>
16431649
<note />
16441650
</trans-unit>
16451651
<trans-unit id="FileDialogSubClassFailure">
@@ -6469,4 +6475,4 @@
64696475
</trans-unit>
64706476
</body>
64716477
</file>
6472-
</xliff>
6478+
</xliff>

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.ko.xlf

+13-7
Original file line numberDiff line numberDiff line change
@@ -1613,13 +1613,17 @@
16131613
<note />
16141614
</trans-unit>
16151615
<trans-unit id="FileDialogCreatePrompt">
1616-
<source>'{0}' does not exist.\r\nDo you want to create it?</source>
1617-
<target state="translated">'{0}'이(가) 없습니다.\r\n만드시겠습니까?</target>
1616+
<source>'{0}' does not exist.
1617+
Do you want to create it?</source>
1618+
<target state="translated">'{0}'이(가) 없습니다.
1619+
만드시겠습니까?</target>
16181620
<note />
16191621
</trans-unit>
16201622
<trans-unit id="FileDialogFileNotFound">
1621-
<source>'{0}' does not exist.\r\nVerify that the file name is correct.</source>
1622-
<target state="translated">'{0}'이(가) 없습니다.\r\n파일 이름이 올바른지 확인하세요.</target>
1623+
<source>'{0}' does not exist.
1624+
Verify that the file name is correct.</source>
1625+
<target state="translated">'{0}'이(가) 없습니다.
1626+
파일 이름이 올바른지 확인하세요.</target>
16231627
<note />
16241628
</trans-unit>
16251629
<trans-unit id="FileDialogInvalidFileName">
@@ -1638,8 +1642,10 @@
16381642
<note />
16391643
</trans-unit>
16401644
<trans-unit id="FileDialogOverwritePrompt">
1641-
<source>'{0}' already exists.\r\nDo you want to replace it?</source>
1642-
<target state="translated">’{0}'이(가) 이미 있습니다.\r\n바꾸시겠습니까?</target>
1645+
<source>'{0}' already exists.
1646+
Do you want to replace it?</source>
1647+
<target state="translated">’{0}'이(가) 이미 있습니다.
1648+
바꾸시겠습니까?</target>
16431649
<note />
16441650
</trans-unit>
16451651
<trans-unit id="FileDialogSubClassFailure">
@@ -6469,4 +6475,4 @@
64696475
</trans-unit>
64706476
</body>
64716477
</file>
6472-
</xliff>
6478+
</xliff>

Diff for: src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.pl.xlf

+13-7
Original file line numberDiff line numberDiff line change
@@ -1613,13 +1613,17 @@
16131613
<note />
16141614
</trans-unit>
16151615
<trans-unit id="FileDialogCreatePrompt">
1616-
<source>'{0}' does not exist.\r\nDo you want to create it?</source>
1617-
<target state="translated">Element „{0}” nie istnieje.\r\nCzy chcesz go utworzyć?</target>
1616+
<source>'{0}' does not exist.
1617+
Do you want to create it?</source>
1618+
<target state="translated">Element „{0}” nie istnieje.
1619+
Czy chcesz go utworzyć?</target>
16181620
<note />
16191621
</trans-unit>
16201622
<trans-unit id="FileDialogFileNotFound">
1621-
<source>'{0}' does not exist.\r\nVerify that the file name is correct.</source>
1622-
<target state="translated">Element „{0}” nie istnieje.\r\nSprawdź, czy nazwa pliku jest prawidłowa.</target>
1623+
<source>'{0}' does not exist.
1624+
Verify that the file name is correct.</source>
1625+
<target state="translated">Element „{0}” nie istnieje.
1626+
Sprawdź, czy nazwa pliku jest prawidłowa.</target>
16231627
<note />
16241628
</trans-unit>
16251629
<trans-unit id="FileDialogInvalidFileName">
@@ -1638,8 +1642,10 @@
16381642
<note />
16391643
</trans-unit>
16401644
<trans-unit id="FileDialogOverwritePrompt">
1641-
<source>'{0}' already exists.\r\nDo you want to replace it?</source>
1642-
<target state="translated">Element „{0}” już istnieje.\r\nCzy chcesz go zastąpić?</target>
1645+
<source>'{0}' already exists.
1646+
Do you want to replace it?</source>
1647+
<target state="translated">Element „{0}” już istnieje.
1648+
Czy chcesz go zastąpić?</target>
16431649
<note />
16441650
</trans-unit>
16451651
<trans-unit id="FileDialogSubClassFailure">
@@ -6469,4 +6475,4 @@
64696475
</trans-unit>
64706476
</body>
64716477
</file>
6472-
</xliff>
6478+
</xliff>

0 commit comments

Comments
 (0)