From 7775beeb147f1fe851ed993ef835b501c94e5fde Mon Sep 17 00:00:00 2001 From: Adam Sitnik Date: Mon, 30 Jun 2025 19:48:49 +0200 Subject: [PATCH 1/2] add Finnish translations, fixes #2587 --- .../Properties/xlf/Resources.fi.xlf | 187 ++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 src/System.CommandLine/Properties/xlf/Resources.fi.xlf diff --git a/src/System.CommandLine/Properties/xlf/Resources.fi.xlf b/src/System.CommandLine/Properties/xlf/Resources.fi.xlf new file mode 100644 index 0000000000..cf0cc7b666 --- /dev/null +++ b/src/System.CommandLine/Properties/xlf/Resources.fi.xlf @@ -0,0 +1,187 @@ + + + + + + Cannot parse argument '{0}' as expected type '{1}'. + Argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{1}'. + + + + Cannot parse argument '{0}' for command '{1}' as expected type '{2}'. + Komennon '{1}' argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{2}'. + + + + Cannot parse argument '{0}' for command '{1}' as expected type '{2}'. Did you mean one of the following?{3} + Komennon '{1}' argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{2}'. Tarkoititko jotakin seuraavista?{3} + + + + Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. + Valinnan '{1}' argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{2}'. + + + + Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} + Valinnan '{1}' argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{2}'. Tarkoititko jotakin seuraavista?{3} + + + + Required argument missing for command: '{0}'. + Pakollinen argumentti puuttuu komennolta: '{0}'. + + + + Directory does not exist: '{0}'. + Hakemistoa ei ole olemassa: '{0}'. + + + + Error reading response file '{0}': {1} + Virhe lukiessa vastaustiedostoa '{0}': {1} + + + + Unhandled exception: + Käsittelemätön poikkeus: + + + + File does not exist: '{0}'. + Tiedostoa ei ole olemassa: '{0}'. + + + + File or directory does not exist: '{0}'. + Tiedostoa tai hakemistoa ei ole olemassa: '{0}'. + + + + Arguments passed to the application that is being run. + Argumentit, jotka välitetään suoritettavalle sovellukselle. + + + + Additional Arguments: + Lisäargumentit: + + + + default + oletus + + + + Arguments: + Argumentit: + + + + Commands: + Komennot: + + + + Description: + Kuvaus: + + + + Show help and usage information + Näytä ohje- ja käyttötiedot + + + + (REQUIRED) + (PAKOLLINEN) + + + + Options: + Valinnat: + + + + [[--] <additional arguments>...]] + [[--] <lisäargumentit>...]] + + + + [command] + [komento] + + + + [options] + [valinnat] + + + + Usage: + Käyttö: + + + + Character not allowed in a file name: '{0}'. + Merkki ei ole sallittu tiedostonimessä: '{0}'. + + + + Character not allowed in a path: '{0}'. + Merkki ei ole sallittu polussa: '{0}'. + + + + Option '{0}' expects a single argument but {1} were provided. + Valinta '{0}' odottaa yhtä argumenttia, mutta {1} annettiin. + + + + Required argument missing for option: '{0}'. + Pakollinen argumentti puuttuu valinnalta: '{0}'. + + + + Required command was not provided. + Pakollista komentoa ei annettu. + + + + Option '{0}' is required. + Valinta '{0}' on pakollinen. + + + + Response file not found '{0}'. + Vastaustiedostoa ei löytynyt '{0}'. + + + + '{0}' was not matched. Did you mean one of the following? + '{0}' ei täsmännyt. Tarkoititko jotakin seuraavista? + + + + Argument '{0}' not recognized. Must be one of:{1} + Argumenttia '{0}' ei tunnistettu. Sen täytyy olla jokin seuraavista:{1} + + + + Unrecognized command or argument '{0}'. + Tunnistamaton komento tai argumentti '{0}'. + + + + {0} option cannot be combined with other arguments. + {0} valintaa ei voi yhdistää muihin argumentteihin. + + + + Show version information + Näytä versiotiedot + + + + + \ No newline at end of file From ecbd82181ce8c4f92283900bd85e93f101c5094a Mon Sep 17 00:00:00 2001 From: Adam Sitnik Date: Fri, 1 Aug 2025 11:05:28 +0200 Subject: [PATCH 2/2] Apply suggestions from code review --- .../Properties/xlf/Resources.fi.xlf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/System.CommandLine/Properties/xlf/Resources.fi.xlf b/src/System.CommandLine/Properties/xlf/Resources.fi.xlf index cf0cc7b666..1a15074f13 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.fi.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.fi.xlf @@ -19,12 +19,12 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. - Valinnan '{1}' argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{2}'. + Valitsimen '{1}' argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{2}'. Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - Valinnan '{1}' argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{2}'. Tarkoititko jotakin seuraavista?{3} + Valitsimen '{1}' argumenttia '{0}' ei voi jäsentää odotetuksi tyypiksi '{2}'. Tarkoititko jotakin seuraavista?{3} @@ -99,7 +99,7 @@ Options: - Valinnat: + Valitsimet: @@ -114,7 +114,7 @@ [options] - [valinnat] + [valitsimet] @@ -134,12 +134,12 @@ Option '{0}' expects a single argument but {1} were provided. - Valinta '{0}' odottaa yhtä argumenttia, mutta {1} annettiin. + Valitsin '{0}' odottaa yhtä argumenttia, mutta {1} annettiin. Required argument missing for option: '{0}'. - Pakollinen argumentti puuttuu valinnalta: '{0}'. + Pakollinen argumentti puuttuu valitsimelta: '{0}'. @@ -149,7 +149,7 @@ Option '{0}' is required. - Valinta '{0}' on pakollinen. + Valitsin '{0}' on pakollinen. @@ -174,7 +174,7 @@ {0} option cannot be combined with other arguments. - {0} valintaa ei voi yhdistää muihin argumentteihin. + Valitsinta {0} ei voi yhdistää muihin argumentteihin.