Skip to content

Commit

Permalink
imp - Changed language list function
Browse files Browse the repository at this point in the history
---

In the settings entry file, we've changed the language list function in
the Language settings key to "ListAllLanguages." However, the current code
doesn't support functions with parameters, and we need to find a way to
support those functions (albeit those arguments can only be expressed with
strings), so we need to change the codebase so that we can actually call
those functions with arguments.

---

Type: imp
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Dec 17, 2024
1 parent 53741af commit 151f655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/Nitrocid/Resources/Settings/SettingsEntries.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"Type": "SSelection",
"Variable": "CurrentLanguage",
"IsEnumeration": false,
"SelectionFunctionName": "ListAllLanguagesWithCountry",
"SelectionFunctionName": "ListAllLanguages",
"SelectionFunctionType": "LanguageManager",
"IsSelectionFunctionDict": true,
"SelectionFallback": [ "en-US" ],
Expand Down

0 comments on commit 151f655

Please sign in to comment.