diff --git a/samples/Advanced.Localization/Resources/Program.ja-jp.resx b/samples/Advanced.Localization/Resources/Program.ja-JP.resx similarity index 100% rename from samples/Advanced.Localization/Resources/Program.ja-jp.resx rename to samples/Advanced.Localization/Resources/Program.ja-JP.resx diff --git a/samples/Advanced.Localization/Resources/Program.ko-kr.resx b/samples/Advanced.Localization/Resources/Program.ko-KR.resx similarity index 100% rename from samples/Advanced.Localization/Resources/Program.ko-kr.resx rename to samples/Advanced.Localization/Resources/Program.ko-KR.resx diff --git a/src/Cocona.Core/Cocona.Core.csproj b/src/Cocona.Core/Cocona.Core.csproj index 99c22ff..0bc4735 100644 --- a/src/Cocona.Core/Cocona.Core.csproj +++ b/src/Cocona.Core/Cocona.Core.csproj @@ -58,10 +58,10 @@ ResXFileCodeGenerator String.Designer.cs - + Strings.resx - + Strings.resx diff --git a/src/Cocona.Core/Resources/Strings.ja-jp.resx b/src/Cocona.Core/Resources/Strings.ja-JP.resx similarity index 100% rename from src/Cocona.Core/Resources/Strings.ja-jp.resx rename to src/Cocona.Core/Resources/Strings.ja-JP.resx diff --git a/src/Cocona.Core/Resources/Strings.ko-kr.resx b/src/Cocona.Core/Resources/Strings.ko-KR.resx similarity index 100% rename from src/Cocona.Core/Resources/Strings.ko-kr.resx rename to src/Cocona.Core/Resources/Strings.ko-KR.resx diff --git a/src/Cocona.Core/ShellCompletion/Generators/Resources/bash_common.sh b/src/Cocona.Core/ShellCompletion/Generators/Resources/bash_common.sh index 81ad4a8..df705f2 100644 --- a/src/Cocona.Core/ShellCompletion/Generators/Resources/bash_common.sh +++ b/src/Cocona.Core/ShellCompletion/Generators/Resources/bash_common.sh @@ -68,7 +68,7 @@ __cocona_APPNAMEPLACEHOLDER_completion_get_argument_index() { fi done - return $index + return "$index" } __cocona_APPNAMEPLACEHOLDER_completion_index_of() { @@ -77,7 +77,7 @@ __cocona_APPNAMEPLACEHOLDER_completion_index_of() { for i in "${@:2}" do if [[ "$i" == "$value" ]]; then - return $index + return "$index" fi ((index++)) done diff --git a/src/Cocona.Lite/Cocona.Lite.csproj b/src/Cocona.Lite/Cocona.Lite.csproj index 75ca7d1..2187f45 100644 --- a/src/Cocona.Lite/Cocona.Lite.csproj +++ b/src/Cocona.Lite/Cocona.Lite.csproj @@ -40,10 +40,10 @@ - + Strings.resx - + Strings.resx diff --git a/src/Cocona.Lite/Lite/Resources/Strings.ja-jp.resx b/src/Cocona.Lite/Lite/Resources/Strings.ja-JP.resx similarity index 100% rename from src/Cocona.Lite/Lite/Resources/Strings.ja-jp.resx rename to src/Cocona.Lite/Lite/Resources/Strings.ja-JP.resx diff --git a/src/Cocona.Lite/Lite/Resources/Strings.ko-kr.resx b/src/Cocona.Lite/Lite/Resources/Strings.ko-KR.resx similarity index 100% rename from src/Cocona.Lite/Lite/Resources/Strings.ko-kr.resx rename to src/Cocona.Lite/Lite/Resources/Strings.ko-KR.resx diff --git a/src/Cocona/Cocona.csproj b/src/Cocona/Cocona.csproj index 6fe7491..bbd4b2c 100644 --- a/src/Cocona/Cocona.csproj +++ b/src/Cocona/Cocona.csproj @@ -41,10 +41,10 @@ - + Strings.resx - + Strings.resx diff --git a/src/Cocona/Resources/Strings.ja-jp.resx b/src/Cocona/Resources/Strings.ja-JP.resx similarity index 100% rename from src/Cocona/Resources/Strings.ja-jp.resx rename to src/Cocona/Resources/Strings.ja-JP.resx diff --git a/src/Cocona/Resources/Strings.ko-kr.resx b/src/Cocona/Resources/Strings.ko-KR.resx similarity index 100% rename from src/Cocona/Resources/Strings.ko-kr.resx rename to src/Cocona/Resources/Strings.ko-KR.resx