Skip to content

Commit

Permalink
imp - doc - Consolidated locale tools to one tool
Browse files Browse the repository at this point in the history
---

We've consolidated several locale tools into one tool to make it easier to
use and more comprehensive. Some of those tools are meant to be only run
within the Nitrocid repository.

---

Type: imp
Breaking: False
Doc Required: True
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jan 4, 2025
1 parent 06d44b6 commit 0a927e7
Show file tree
Hide file tree
Showing 77 changed files with 810 additions and 1,039 deletions.
43 changes: 8 additions & 35 deletions Nitrocid.sln
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.Tests", "private\N
{FD43CAC8-4770-4C63-ABBF-C382D378C02E} = {FD43CAC8-4770-4C63-ABBF-C382D378C02E}
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.LocaleGen", "public\Nitrocid.LocaleGen\Nitrocid.LocaleGen.csproj", "{8EDAE674-CC21-0D06-0641-064C500DE0CC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Public", "Public", "{A32F9CED-BCDB-48A7-A42D-E98E33BD6E65}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Private", "Private", "{61916ED1-66D6-4938-9F1A-D0DF38D16E20}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.LocaleClean", "private\Nitrocid.LocaleClean\Nitrocid.LocaleClean.csproj", "{22744969-682D-4974-895E-53079DA9EA3C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.Analyzers", "public\Nitrocid.Analyzers\Nitrocid.Analyzers\Nitrocid.Analyzers.csproj", "{511E3B93-C6BF-4DFF-88D1-165FD3BCF428}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.Analyzers.CodeFixes", "public\Nitrocid.Analyzers\Nitrocid.Analyzers.CodeFixes\Nitrocid.Analyzers.CodeFixes.csproj", "{92EFB380-0B78-4B92-A227-F0B6BF982F19}"
Expand Down Expand Up @@ -156,8 +152,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.Extras.Diagnostics
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.Extras.Crc32", "public\Nitrocid.Addons\Nitrocid.Extras.Crc32\Nitrocid.Extras.Crc32.csproj", "{4CDBC217-C639-4D93-9F9A-FFD5956C0395}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.LocaleTrim", "private\Nitrocid.LocaleTrim\Nitrocid.LocaleTrim.csproj", "{6524403F-F55E-4E8D-8A63-8A7D2FA518D3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.Extras.Md5", "public\Nitrocid.Addons\Nitrocid.Extras.Md5\Nitrocid.Extras.Md5.csproj", "{CE5F80A9-B27E-4D16-AEBB-A09677E63012}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.Extras.Sha1", "public\Nitrocid.Addons\Nitrocid.Extras.Sha1\Nitrocid.Extras.Sha1.csproj", "{BB2BCBE2-1F15-4B5F-927F-172B4B7FE9D4}"
Expand Down Expand Up @@ -203,10 +197,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.Generators.KnownAd
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.LocaleChecker", "private\Nitrocid.LocaleChecker\Nitrocid.LocaleChecker.csproj", "{A9DBA465-7F73-449F-B5BD-E143767513E4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitrocid.LocaleCheckerStandalone", "private\Nitrocid.LocaleCheckerStandalone\Nitrocid.LocaleCheckerStandalone.csproj", "{73E76BBD-BCFD-4E43-9F17-F937A87A2D1B}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Nitrocid.LocaleCommon", "private\Nitrocid.LocaleCommon\Nitrocid.LocaleCommon.shproj", "{709AC61B-B746-46A7-A5A0-390B9091BE99}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nitrocid.Extras.Chemistry", "public\Nitrocid.Addons\Nitrocid.Extras.Chemistry\Nitrocid.Extras.Chemistry.csproj", "{D7BC8CF1-C12C-435F-BB53-9F0EA4B8EF20}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Nitrocid.Analyzers.Common", "public\Nitrocid.Analyzers\Nitrocid.Analyzers.Common\Nitrocid.Analyzers.Common.shproj", "{47D3DE1A-07AB-42A1-BE6E-7F5256B82DD3}"
Expand All @@ -219,6 +209,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nitrocid.Core", "public\Nit
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Reserved", "Reserved", "{DA50500B-3F8A-4817-842B-40C957416C2C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nitrocid.Locales", "public\Nitrocid.Locales\Nitrocid.Locales.csproj", "{38B58904-50C4-4E0D-A8E7-FD8766D7923C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -233,14 +225,6 @@ Global
{2698CB71-9EF6-06A7-2A14-1AFF675F88CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2698CB71-9EF6-06A7-2A14-1AFF675F88CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2698CB71-9EF6-06A7-2A14-1AFF675F88CB}.Release|Any CPU.Build.0 = Release|Any CPU
{8EDAE674-CC21-0D06-0641-064C500DE0CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8EDAE674-CC21-0D06-0641-064C500DE0CC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8EDAE674-CC21-0D06-0641-064C500DE0CC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8EDAE674-CC21-0D06-0641-064C500DE0CC}.Release|Any CPU.Build.0 = Release|Any CPU
{22744969-682D-4974-895E-53079DA9EA3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{22744969-682D-4974-895E-53079DA9EA3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{22744969-682D-4974-895E-53079DA9EA3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{22744969-682D-4974-895E-53079DA9EA3C}.Release|Any CPU.Build.0 = Release|Any CPU
{511E3B93-C6BF-4DFF-88D1-165FD3BCF428}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{511E3B93-C6BF-4DFF-88D1-165FD3BCF428}.Debug|Any CPU.Build.0 = Debug|Any CPU
{511E3B93-C6BF-4DFF-88D1-165FD3BCF428}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -397,10 +381,6 @@ Global
{4CDBC217-C639-4D93-9F9A-FFD5956C0395}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4CDBC217-C639-4D93-9F9A-FFD5956C0395}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4CDBC217-C639-4D93-9F9A-FFD5956C0395}.Release|Any CPU.Build.0 = Release|Any CPU
{6524403F-F55E-4E8D-8A63-8A7D2FA518D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6524403F-F55E-4E8D-8A63-8A7D2FA518D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6524403F-F55E-4E8D-8A63-8A7D2FA518D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6524403F-F55E-4E8D-8A63-8A7D2FA518D3}.Release|Any CPU.Build.0 = Release|Any CPU
{CE5F80A9-B27E-4D16-AEBB-A09677E63012}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CE5F80A9-B27E-4D16-AEBB-A09677E63012}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CE5F80A9-B27E-4D16-AEBB-A09677E63012}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -465,10 +445,6 @@ Global
{A9DBA465-7F73-449F-B5BD-E143767513E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A9DBA465-7F73-449F-B5BD-E143767513E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A9DBA465-7F73-449F-B5BD-E143767513E4}.Release|Any CPU.Build.0 = Release|Any CPU
{73E76BBD-BCFD-4E43-9F17-F937A87A2D1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{73E76BBD-BCFD-4E43-9F17-F937A87A2D1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{73E76BBD-BCFD-4E43-9F17-F937A87A2D1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{73E76BBD-BCFD-4E43-9F17-F937A87A2D1B}.Release|Any CPU.Build.0 = Release|Any CPU
{D7BC8CF1-C12C-435F-BB53-9F0EA4B8EF20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7BC8CF1-C12C-435F-BB53-9F0EA4B8EF20}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7BC8CF1-C12C-435F-BB53-9F0EA4B8EF20}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -485,15 +461,17 @@ Global
{2617CFBB-4AF9-48DB-B2A7-7BEAF8575011}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2617CFBB-4AF9-48DB-B2A7-7BEAF8575011}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2617CFBB-4AF9-48DB-B2A7-7BEAF8575011}.Release|Any CPU.Build.0 = Release|Any CPU
{38B58904-50C4-4E0D-A8E7-FD8766D7923C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{38B58904-50C4-4E0D-A8E7-FD8766D7923C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{38B58904-50C4-4E0D-A8E7-FD8766D7923C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{38B58904-50C4-4E0D-A8E7-FD8766D7923C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{C7B37899-C361-423D-9512-FE0A87A46866} = {A32F9CED-BCDB-48A7-A42D-E98E33BD6E65}
{2698CB71-9EF6-06A7-2A14-1AFF675F88CB} = {D5693E90-DBB5-4C20-B83B-A200CEB8A639}
{8EDAE674-CC21-0D06-0641-064C500DE0CC} = {804E124D-5B66-4F40-BB98-776CD386E618}
{22744969-682D-4974-895E-53079DA9EA3C} = {5427F963-3094-4111-AB05-DAE364A8DF67}
{511E3B93-C6BF-4DFF-88D1-165FD3BCF428} = {60986DC6-07C5-40D1-A305-741E8ABE39FC}
{92EFB380-0B78-4B92-A227-F0B6BF982F19} = {60986DC6-07C5-40D1-A305-741E8ABE39FC}
{A9D16C17-745F-467E-854F-A5C40A28D7A9} = {60986DC6-07C5-40D1-A305-741E8ABE39FC}
Expand Down Expand Up @@ -538,7 +516,6 @@ Global
{C83EB703-1DE7-48C9-9406-1CFA5140235F} = {B60F276A-FE12-4001-916E-080344ED1FD9}
{47BECAD8-5DB2-4DE1-B0F0-3225E3396AF7} = {B60F276A-FE12-4001-916E-080344ED1FD9}
{4CDBC217-C639-4D93-9F9A-FFD5956C0395} = {B60F276A-FE12-4001-916E-080344ED1FD9}
{6524403F-F55E-4E8D-8A63-8A7D2FA518D3} = {5427F963-3094-4111-AB05-DAE364A8DF67}
{CE5F80A9-B27E-4D16-AEBB-A09677E63012} = {B60F276A-FE12-4001-916E-080344ED1FD9}
{BB2BCBE2-1F15-4B5F-927F-172B4B7FE9D4} = {B60F276A-FE12-4001-916E-080344ED1FD9}
{600337A5-0D56-476A-9428-52B1EF665950} = {B60F276A-FE12-4001-916E-080344ED1FD9}
Expand All @@ -558,24 +535,20 @@ Global
{E403EE05-8642-4496-8897-CBD762D7670B} = {61916ED1-66D6-4938-9F1A-D0DF38D16E20}
{E1B8ED9D-541A-4D9E-AAF5-2671114E179B} = {E403EE05-8642-4496-8897-CBD762D7670B}
{A9DBA465-7F73-449F-B5BD-E143767513E4} = {5427F963-3094-4111-AB05-DAE364A8DF67}
{73E76BBD-BCFD-4E43-9F17-F937A87A2D1B} = {5427F963-3094-4111-AB05-DAE364A8DF67}
{709AC61B-B746-46A7-A5A0-390B9091BE99} = {5427F963-3094-4111-AB05-DAE364A8DF67}
{D7BC8CF1-C12C-435F-BB53-9F0EA4B8EF20} = {B60F276A-FE12-4001-916E-080344ED1FD9}
{47D3DE1A-07AB-42A1-BE6E-7F5256B82DD3} = {60986DC6-07C5-40D1-A305-741E8ABE39FC}
{0F9E07AB-70DC-4305-9406-34465BB0B0D8} = {B60F276A-FE12-4001-916E-080344ED1FD9}
{E47A4664-21AD-4D05-85A5-9E3D86A9AC45} = {DA50500B-3F8A-4817-842B-40C957416C2C}
{2617CFBB-4AF9-48DB-B2A7-7BEAF8575011} = {DA50500B-3F8A-4817-842B-40C957416C2C}
{DA50500B-3F8A-4817-842B-40C957416C2C} = {A32F9CED-BCDB-48A7-A42D-E98E33BD6E65}
{38B58904-50C4-4E0D-A8E7-FD8766D7923C} = {804E124D-5B66-4F40-BB98-776CD386E618}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {424D8E7A-CFEB-40AE-A79C-437D603177FD}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
private\Nitrocid.LocaleCommon\Nitrocid.LocaleCommon.projitems*{22744969-682d-4974-895e-53079da9ea3c}*SharedItemsImports = 5
public\Nitrocid.Analyzers\Nitrocid.Analyzers.Common\Nitrocid.Analyzers.Common.projitems*{38b58904-50c4-4e0d-a8e7-fd8766d7923c}*SharedItemsImports = 5
public\Nitrocid.Analyzers\Nitrocid.Analyzers.Common\Nitrocid.Analyzers.Common.projitems*{47d3de1a-07ab-42a1-be6e-7f5256b82dd3}*SharedItemsImports = 13
private\Nitrocid.LocaleCommon\Nitrocid.LocaleCommon.projitems*{6524403f-f55e-4e8d-8a63-8a7d2fa518d3}*SharedItemsImports = 5
private\Nitrocid.LocaleCommon\Nitrocid.LocaleCommon.projitems*{709ac61b-b746-46a7-a5a0-390b9091be99}*SharedItemsImports = 13
public\Nitrocid.Analyzers\Nitrocid.Analyzers.Common\Nitrocid.Analyzers.Common.projitems*{73e76bbd-bcfd-4e43-9f17-f937a87a2d1b}*SharedItemsImports = 5
public\Nitrocid.Analyzers\Nitrocid.Analyzers.Common\Nitrocid.Analyzers.Common.projitems*{df07f4e1-47b2-452d-a200-f15f558c4977}*SharedItemsImports = 5
EndGlobalSection
EndGlobal
8 changes: 4 additions & 4 deletions assets/ks-jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

if [ -e "/usr/lib/ks/Nitrocid.LocaleGen.dll" ]; then
dotnet "/usr/lib/ks/Nitrocid.LocaleGen.dll" $@
elif [ -e "./Nitrocid.LocaleGen.dll" ]; then
dotnet "./Nitrocid.LocaleGen.dll" $@
if [ -e "/usr/lib/ks/Nitrocid.Locales.dll" ]; then
dotnet "/usr/lib/ks/Nitrocid.Locales.dll" $@
elif [ -e "./Nitrocid.Locales.dll" ]; then
dotnet "./Nitrocid.Locales.dll" $@
else
echo "Unable to find the entry point."
fi
6 changes: 3 additions & 3 deletions assets/ks-jl.1
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
.\" along with this program. If not, see <https://www.gnu.org/licenses/>.
.\"

.TH ks\-jl 1 "23 Feb 2024" "0.1.0" "Nitrocid KS - Nitrocid.LocaleGen"
.TH ks\-jl 1 "4 Jan 2025" "0.1.0" "Nitrocid KS - Nitrocid.Locales"
.SH NAME
ks\-jl \- Locale Generator for Nitrocid KS
ks\-jl \- Locale Tools for Nitrocid KS
.SH SYNOPSIS
ks\-jl [args]
.SH DESCRIPTION
ks\-jl is the Nitrocid KS locale jsonifier that converts the language text files (whether default or custom) to the JSON format that Nitrocid KS can read.
ks\-jl is the Nitrocid KS locale manager that allows you to manage various operations for the localization system.
.SH DOCUMENTATION
The whole documentation can be found in https://aptivi.gitbook.io/nitrocid-ks-manual.
.SH AUTHOR
Expand Down
2 changes: 1 addition & 1 deletion assets/ks-jl.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ REM along with this program. If not, see <https://www.gnu.org/licenses/>.
REM This script runs Nitrocid KS JL. This is a shortcut for running
REM KS-JL so that you don't have to write the full name of the executable.
set ROOTPATH=%~dp0
dotnet "%ROOTPATH%Nitrocid.LocaleGen.dll" %*
dotnet "%ROOTPATH%Nitrocid.Locales.dll" %*

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0a927e7

Please sign in to comment.