#293 Fix tests and create consistency test for English help file
This commit is contained in:
@@ -18,7 +18,7 @@ import java.util.stream.Collectors;
|
||||
*/
|
||||
public class HelpMessagesService implements Reloadable {
|
||||
|
||||
private static final String COMMAND_PREFIX = "command.";
|
||||
private static final String COMMAND_PREFIX = "commands.";
|
||||
private static final String DESCRIPTION_SUFFIX = ".description";
|
||||
private static final String DETAILED_DESCRIPTION_SUFFIX = ".detailedDescription";
|
||||
private static final String DEFAULT_PERMISSIONS_PATH = "common.defaultPermissions.";
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
common:
|
||||
description.short: 'Beschreibung'
|
||||
description.detailed: 'Detaillierte Beschreibung'
|
||||
usage: 'Gebrauch'
|
||||
arguments: 'Argumente'
|
||||
permissions: 'Rechte'
|
||||
optional: 'Optional'
|
||||
hasPermission: 'Du hast Berechtigung'
|
||||
noPermission: 'Keine Berechtigung'
|
||||
default: 'Default'
|
||||
alternatives: 'Alternativen'
|
||||
result: 'Resultat'
|
||||
commands: 'Kommandos'
|
||||
defaultPermissions:
|
||||
notAllowed: 'Kein Recht'
|
||||
opOnly: 'Nur OP''s'
|
||||
allowed: 'Allen erlaubt'
|
||||
commands:
|
||||
authme.register:
|
||||
description: 'Registriert einen Benutzer'
|
||||
detailedDescription: 'Registriert den Benutzer mit dem gegebenen Passwort.'
|
||||
arg1:
|
||||
label: 'spieler'
|
||||
description: 'Name des Spielers'
|
||||
arg2:
|
||||
label: 'passwort'
|
||||
description: 'Passwort'
|
||||
@@ -4,7 +4,7 @@ common:
|
||||
usage: 'Usage'
|
||||
arguments: 'Arguments'
|
||||
permissions: 'Permissions'
|
||||
optional: '(Optional)'
|
||||
optional: 'Optional'
|
||||
hasPermission: 'You have permission'
|
||||
noPermission: 'No permission'
|
||||
default: 'Default'
|
||||
@@ -15,16 +15,13 @@ common:
|
||||
notAllowed: 'No permission'
|
||||
opOnly: 'OP''s only'
|
||||
allowed: 'Everyone allowed'
|
||||
command:
|
||||
register:
|
||||
description: 'Register with this command'
|
||||
detailedDescription: 'Use /register <pw> <pw>'
|
||||
commands:
|
||||
authme.register:
|
||||
description: 'Admin registration'
|
||||
detailedDescription: 'Used by l33t adminz'
|
||||
description: 'Register a player'
|
||||
detailedDescription: 'Register the specified player with the specified password.'
|
||||
arg1:
|
||||
label: 'n4me'
|
||||
description: 'The name to save'
|
||||
label: 'player'
|
||||
description: 'Player name'
|
||||
arg2:
|
||||
label: 'passw0rd'
|
||||
description: 'Password to use yo'
|
||||
label: 'password'
|
||||
description: 'Password'
|
||||
|
||||
Reference in New Issue
Block a user