mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
* Fix toLocalString language key * We use underscore, they use dash * Strip beyond @ symbol to allow custom languages * Catch null (hinted in #13255) * Use empty array instead of empty string Documentation says to pass `undefined` or an array. An empty string is not supported upon closer inspection. Recommended not to pass `undefined` as it might cause weird quirks. People recommend using empty array. * Add number l10n to another area _Originally posted by @citrusella in https://github.com/HabitRPG/habitica/issues/9470#issuecomment-842279146_