This used to be a "on/off" boolean and I had to either add a new value for language or change this to enum
So I changed it from boolean to enum with following values
"none (default)", "en", "fa"
2. Separates big clock's hard codes from its logic
"bigclock.zig" file was already too big to have another language added to it so I separated the clock chars from the functions
This also makes adding new regional or custom numbers sets as easy as filling the "bigclock.Lang.LocaleChars" struct
3. Adds Farsi (fa) to big clock langs
This commit creates "fa.zig" file and registers it in codes
Hi I'll open up what each commit does
1. Change config type for bigclock
This used to be a "on/off" boolean and I had to either add a new value for language or change this to enum So I changed it from boolean to enum with following values "none (default)", "en", "fa"
2. Separates big clock's hard codes from its logic
"bigclock.zig" file was already too big to have another language added to it so I separated the clock chars from the functions This also makes adding new regional or custom numbers sets as easy as filling the "bigclock.Lang.LocaleChars" struct
3. Adds Farsi (fa) to big clock langs
This commit creates "fa.zig" file and registers it in codes
Screenshot
Time was : 01:35 -> ۰۱:۳۵