refactor (languages): change dir structure, meta structure

This commit is contained in:
Slincnik 2024-12-09 13:40:16 +03:00
parent db7f9693fe
commit c0f14df726
No known key found for this signature in database
257 changed files with 7 additions and 7 deletions

View file

@ -270,7 +270,7 @@ async function updateEmbed(interaction, queue) {
{ name: "\u200B", value: "\u200B", inline: true },
{
name: interaction.translate("common:VIEWS"),
value: track.raw.live ? "Live" : new Intl.NumberFormat(interaction.client.defaultLanguage.moment, { notation: "standard" }).format(track.raw.views),
value: track.raw.live ? "Live" : new Intl.NumberFormat(interaction.client.defaultLanguage.locale, { notation: "standard" }).format(track.raw.views),
inline: true,
},
{

View file

@ -2,22 +2,22 @@ export default [
{
name: "en-US",
nativeName: "English",
moment: "en",
defaultMomentFormat: "HH:mm:ss, MMMM Do YYYY",
locale: "en-US",
format: "HH:mm:ss, MMMM Do YYYY",
default: true,
},
{
name: "ru-RU",
nativeName: "Русский",
moment: "ru",
defaultMomentFormat: "HH:mm:ss, Do MMMM YYYY",
locale: "ru-RU",
format: "HH:mm:ss, Do MMMM YYYY",
default: false,
},
{
name: "uk-UA",
nativeName: "Українська",
moment: "uk",
defaultMomentFormat: "HH:mm:ss, Do MMMM YYYY",
locale: "uk-UA",
format: "HH:mm:ss, Do MMMM YYYY",
default: false,
},
];

Some files were not shown because too many files have changed in this diff Show more