mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 13:15:44 +01:00
Change some of the wording slightly in the translations command
This commit is contained in:
parent
b6e5b0bd47
commit
9af397c2bc
@ -85,7 +85,7 @@ public class TranslationsCommand extends SingleCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (args.size() >= 1 && args.get(0).equalsIgnoreCase("install")) {
|
if (args.size() >= 1 && args.get(0).equalsIgnoreCase("install")) {
|
||||||
Message.TRANSLATIONS_DOWNLOADING.send(sender);
|
Message.TRANSLATIONS_INSTALLING.send(sender);
|
||||||
|
|
||||||
downloadTranslations(plugin, availableTranslations, sender);
|
downloadTranslations(plugin, availableTranslations, sender);
|
||||||
plugin.getTranslationManager().reload();
|
plugin.getTranslationManager().reload();
|
||||||
@ -113,7 +113,7 @@ public class TranslationsCommand extends SingleCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (LanguageInfo language : languages) {
|
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()
|
Request request = new Request.Builder()
|
||||||
.header("User-Agent", plugin.getBytebin().getUserAgent())
|
.header("User-Agent", plugin.getBytebin().getUserAgent())
|
||||||
|
@ -2638,15 +2638,15 @@ public interface Message {
|
|||||||
.append(FULL_STOP))
|
.append(FULL_STOP))
|
||||||
);
|
);
|
||||||
|
|
||||||
Args0 TRANSLATIONS_DOWNLOADING = () -> prefixed(translatable()
|
Args0 TRANSLATIONS_INSTALLING = () -> prefixed(translatable()
|
||||||
// "&bDownloading translations, please wait..."
|
// "&bInstalling translations, please wait..."
|
||||||
.key("luckperms.command.translations.downloading")
|
.key("luckperms.command.translations.installing")
|
||||||
.color(AQUA)
|
.color(AQUA)
|
||||||
);
|
);
|
||||||
|
|
||||||
Args1<String> TRANSLATIONS_INSTALLING = name -> prefixed(translatable()
|
Args1<String> TRANSLATIONS_INSTALLING_SPECIFIC = name -> prefixed(translatable()
|
||||||
// "&aInstalling language {}..."
|
// "&aInstalling language {}..."
|
||||||
.key("luckperms.command.translations.installing")
|
.key("luckperms.command.translations.installing-specific")
|
||||||
.color(GREEN)
|
.color(GREEN)
|
||||||
.args(text((name)))
|
.args(text((name)))
|
||||||
);
|
);
|
||||||
|
@ -308,9 +308,9 @@ luckperms.command.translations.installed-translations=Installed Translations
|
|||||||
luckperms.command.translations.available-translations=Available Translations
|
luckperms.command.translations.available-translations=Available Translations
|
||||||
luckperms.command.translations.percent-translated={0}% translated
|
luckperms.command.translations.percent-translated={0}% translated
|
||||||
luckperms.command.translations.translations-by=by
|
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.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.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-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
|
luckperms.command.translations.download-override-warning=Please note that this will override any changes you''ve made for these languages
|
||||||
|
@ -8,12 +8,10 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compile project(':common')
|
||||||
|
|
||||||
compileOnly 'com.velocitypowered:velocity-api:1.1.0-SNAPSHOT'
|
compileOnly 'com.velocitypowered:velocity-api:1.1.0-SNAPSHOT'
|
||||||
annotationProcessor 'com.velocitypowered:velocity-api:1.1.0-SNAPSHOT'
|
annotationProcessor 'com.velocitypowered:velocity-api:1.1.0-SNAPSHOT'
|
||||||
|
|
||||||
compile project(':common')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
blossom {
|
blossom {
|
||||||
|
Loading…
Reference in New Issue
Block a user