mirror of
https://github.com/JonnyBro/JaBa.git
synced 2025-02-08 02:24:10 +05:00
refactor (languages): change dir structure, meta structure
This commit is contained in:
parent
db7f9693fe
commit
c0f14df726
257 changed files with 7 additions and 7 deletions
|
@ -270,7 +270,7 @@ async function updateEmbed(interaction, queue) {
|
||||||
{ name: "\u200B", value: "\u200B", inline: true },
|
{ name: "\u200B", value: "\u200B", inline: true },
|
||||||
{
|
{
|
||||||
name: interaction.translate("common:VIEWS"),
|
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,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,22 +2,22 @@ export default [
|
||||||
{
|
{
|
||||||
name: "en-US",
|
name: "en-US",
|
||||||
nativeName: "English",
|
nativeName: "English",
|
||||||
moment: "en",
|
locale: "en-US",
|
||||||
defaultMomentFormat: "HH:mm:ss, MMMM Do YYYY",
|
format: "HH:mm:ss, MMMM Do YYYY",
|
||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "ru-RU",
|
name: "ru-RU",
|
||||||
nativeName: "Русский",
|
nativeName: "Русский",
|
||||||
moment: "ru",
|
locale: "ru-RU",
|
||||||
defaultMomentFormat: "HH:mm:ss, Do MMMM YYYY",
|
format: "HH:mm:ss, Do MMMM YYYY",
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "uk-UA",
|
name: "uk-UA",
|
||||||
nativeName: "Українська",
|
nativeName: "Українська",
|
||||||
moment: "uk",
|
locale: "uk-UA",
|
||||||
defaultMomentFormat: "HH:mm:ss, Do MMMM YYYY",
|
format: "HH:mm:ss, Do MMMM YYYY",
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
];
|
];
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue