feat(locales): Update 'deductBalance' to 'giftAmount' across multiple languages and fix newline in announcement.json

This commit is contained in:
web@ppanel
2025-01-08 12:55:10 +07:00
parent 46ae1665be
commit 70497af0aa
76 changed files with 169 additions and 151 deletions
+22
View File
@@ -29,3 +29,25 @@ export const NEXT_PUBLIC_TWITTER_LINK =
env('NEXT_PUBLIC_TWITTER_LINK') ?? process.env.NEXT_PUBLIC_TWITTER_LINK;
export const NEXT_PUBLIC_INSTAGRAM_LINK =
env('NEXT_PUBLIC_INSTAGRAM_LINK') ?? process.env.NEXT_PUBLIC_INSTAGRAM_LINK;
export const NEXT_PUBLIC_HOME_USER_COUNT = (() => {
const value = env('NEXT_PUBLIC_HOME_USER_COUNT') ?? process.env.NEXT_PUBLIC_HOME_USER_COUNT;
const numberValue = Number(value);
if (isNaN(numberValue)) return 999;
return numberValue;
})();
export const NEXT_PUBLIC_HOME_SERVER_COUNT = (() => {
const value = env('NEXT_PUBLIC_HOME_SERVER_COUNT') ?? process.env.NEXT_PUBLIC_HOME_SERVER_COUNT;
const numberValue = Number(value);
if (isNaN(numberValue)) return 999;
return numberValue;
})();
export const NEXT_PUBLIC_HOME_LOCATION_COUNT = (() => {
const value =
env('NEXT_PUBLIC_HOME_LOCATION_COUNT') ?? process.env.NEXT_PUBLIC_HOME_LOCATION_COUNT;
const numberValue = Number(value);
if (isNaN(numberValue)) return 999;
return numberValue;
})();