mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Fixing language structure
This commit is contained in:
parent
9c0126738e
commit
ef079eb033
@ -102,7 +102,7 @@ module.exports = (bot) => {
|
||||
|
||||
const trackName = track.name;
|
||||
const artistName = track.artist['#text'];
|
||||
const nowPlaying = track['@attr'] && track['@attr'].nowplaying ? Strings.lastFmListeningNow : Strings.lastFmLastPlayed;
|
||||
const nowPlaying = track['@attr'] && track['@attr'].nowplaying ? Strings.varIs : Strings.varWas;
|
||||
|
||||
|
||||
const imageExtralarge = track.image.find(img => img.size === 'extralarge');
|
||||
|
@ -7,7 +7,9 @@
|
||||
"unKnown": "Unknown",
|
||||
"varYes": "Yes",
|
||||
"varNo": "No",
|
||||
"varTo": " to",
|
||||
"varTo": "to",
|
||||
"varIs": "is",
|
||||
"varWas": "was",
|
||||
"varNone": "None",
|
||||
"invalidOption": "Whoops! Invalid option!",
|
||||
"kickingMyself": "*Since you don't need me, I'll leave.*",
|
||||
@ -38,10 +40,8 @@
|
||||
"lastFmNoUser": "*Please provide a Last.fm username.*\nExample: `/setuser <username>`",
|
||||
"lastFmNoSet": "*You haven't set your Last.fm username yet.*\nUse the command /setuser to set.\n\nExample: `/setuser <username>`",
|
||||
"lastFmNoRecent": "*No recent tracks found for Last.fm user* `{lastfmUser}`*.*",
|
||||
"lastFmListeningNow": "is",
|
||||
"lastFmUserSet": "*Your Last.fm username has been set to:* `{lastUser}`.",
|
||||
"lastFmLastPlayed": "was",
|
||||
"lastFmStatusFor": "{lastfmUser} *{nowPlaying} listening{playCount}*:\n\n{trackName} by {artistName}",
|
||||
"lastFmStatusFor": "{lastfmUser} *{nowPlaying} listening {playCount}*:\n\n{trackName} by {artistName}",
|
||||
"lastFmPlayCount": " by the {plays}th time",
|
||||
"lastFmErr": "*Error retrieving data for Last.fm user* {lastfmUser}.\n\n`{err}`",
|
||||
"currentCommit": "*Current commit:* `{commitHash}`",
|
||||
|
@ -8,6 +8,8 @@
|
||||
"varYes": "Sim",
|
||||
"varNo": "Não",
|
||||
"varTo": "",
|
||||
"varIs": "está",
|
||||
"varWas": "estava",
|
||||
"varNone": "Nenhum",
|
||||
"invalidOption": "Ops! Opção inválida!",
|
||||
"kickingMyself": "*Já que você não precisa de mim, vou sair daqui.*",
|
||||
@ -38,9 +40,7 @@
|
||||
"lastFmNoUser": "*Por favor, forneça um nome de usuário do Last.fm.*\nExemplo: `/setuser <username>`",
|
||||
"lastFmNoSet": "*Você ainda não definiu seu nome de usuário do Last.fm.*\nUse o comando /setuser para definir.\n\nExemplo: `/setuser <username>`",
|
||||
"lastFmNoRecent": "*Nenhuma faixa recente encontrada para o usuário do Last.fm* `{lastfmUser}`*.*",
|
||||
"lastFmListeningNow": "está",
|
||||
"lastFmUserSet": "*Seu nome de usuário do Last.fm foi definido como:* `{lastUser}`.",
|
||||
"lastFmLastPlayed": "estava",
|
||||
"lastFmStatusFor": "{lastfmUser} *{nowPlaying} ouvindo{playCount}*:\n\n{trackName} por {artistName}",
|
||||
"lastFmPlayCount": " pela {plays}ª vez",
|
||||
"lastFmErr": "*Erro ao recuperar dados para o usuário do Last.fm* {lastfmUser}.\n\n`{err}`",
|
||||
|
Loading…
x
Reference in New Issue
Block a user