Change some of the wording slightly in the translations command

This commit is contained in:
Luck 2020-10-15 23:47:51 +01:00
parent b6e5b0bd47
commit 9af397c2bc
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
4 changed files with 10 additions and 12 deletions

View File

@ -85,7 +85,7 @@ public class TranslationsCommand extends SingleCommand {
}
if (args.size() >= 1 && args.get(0).equalsIgnoreCase("install")) {
Message.TRANSLATIONS_DOWNLOADING.send(sender);
Message.TRANSLATIONS_INSTALLING.send(sender);
downloadTranslations(plugin, availableTranslations, sender);
plugin.getTranslationManager().reload();
@ -113,7 +113,7 @@ public class TranslationsCommand extends SingleCommand {
}
for (LanguageInfo language : languages) {
Message.TRANSLATIONS_INSTALLING.send(sender, language.locale.toString());
Message.TRANSLATIONS_INSTALLING_SPECIFIC.send(sender, language.locale.toString());
Request request = new Request.Builder()
.header("User-Agent", plugin.getBytebin().getUserAgent())

View File

@ -2638,15 +2638,15 @@ public interface Message {
.append(FULL_STOP))
);
Args0 TRANSLATIONS_DOWNLOADING = () -> prefixed(translatable()
// "&bDownloading translations, please wait..."
.key("luckperms.command.translations.downloading")
Args0 TRANSLATIONS_INSTALLING = () -> prefixed(translatable()
// "&bInstalling translations, please wait..."
.key("luckperms.command.translations.installing")
.color(AQUA)
);
Args1<String> TRANSLATIONS_INSTALLING = name -> prefixed(translatable()
Args1<String> TRANSLATIONS_INSTALLING_SPECIFIC = name -> prefixed(translatable()
// "&aInstalling language {}..."
.key("luckperms.command.translations.installing")
.key("luckperms.command.translations.installing-specific")
.color(GREEN)
.args(text((name)))
);

View File

@ -308,9 +308,9 @@ luckperms.command.translations.installed-translations=Installed Translations
luckperms.command.translations.available-translations=Available Translations
luckperms.command.translations.percent-translated={0}% translated
luckperms.command.translations.translations-by=by
luckperms.command.translations.downloading=Downloading translations, please wait...
luckperms.command.translations.installing=Installing translations, please wait...
luckperms.command.translations.download-error=Unable download translation for {0}
luckperms.command.translations.installing=Installing language {0}...
luckperms.command.translations.installing-specific=Installing language {0}...
luckperms.command.translations.install-complete=Installation complete
luckperms.command.translations.download-prompt=Use {0} to download and install up-to-date versions of these translations provided by the community
luckperms.command.translations.download-override-warning=Please note that this will override any changes you''ve made for these languages

View File

@ -8,12 +8,10 @@ repositories {
}
dependencies {
compile project(':common')
compileOnly 'com.velocitypowered:velocity-api:1.1.0-SNAPSHOT'
annotationProcessor 'com.velocitypowered:velocity-api:1.1.0-SNAPSHOT'
compile project(':common')
}
blossom {