From 2a7ef0ab46ea673a29a9e09244d15e072daa0dfb Mon Sep 17 00:00:00 2001 From: Fuzzlemann Date: Wed, 26 Jul 2017 15:21:43 +0200 Subject: [PATCH] Fixed some typos --- Plan/localization/locale_EN.txt | 94 +++++++++---------- .../main/java/com/djrapitops/plan/Phrase.java | 9 +- 2 files changed, 52 insertions(+), 51 deletions(-) diff --git a/Plan/localization/locale_EN.txt b/Plan/localization/locale_EN.txt index 780d4f491..9c759ad4e 100644 --- a/Plan/localization/locale_EN.txt +++ b/Plan/localization/locale_EN.txt @@ -1,6 +1,6 @@ ENABLED <> Player Analytics Enabled. DISABLED <> Player Analytics Disabled. -RELOAD_COMPLETE <> §a[Plan] Reload complete. +RELOAD_COMPLETE <> �a[Plan] Reload complete. CACHE_SAVE <> Saving cached data.. CACHE_ADD <> Added REPLACE0 to Cache. CACHE_REMOVE <> Cleared REPLACE0 from Cache. @@ -13,19 +13,19 @@ DB_CONNECTION_FAIL <> REPLACE0-Database Connection failed: REPLACE1 DB_ESTABLISHED <> REPLACE0-database connection established. DB_TYPE_DOES_NOT_EXIST <> That database type doesn't exist. DB_FAILURE_DISABLE <> Database initialization has failed, disabling Plan. -NOTIFY_EMPTY_IP <> §e[Plan] IP in server.properties is empty & AlternativeServerIP is not used, incorrect links will be given! -VERSION_NEW_AVAILABLE <> New Version (REPLACE0) is availible at https://www.spigotmc.org/resources/plan-player-analytics.32536/ +NOTIFY_EMPTY_IP <> �e[Plan] IP in server.properties is empty & AlternativeServerIP is not used, incorrect links will be given! +VERSION_NEW_AVAILABLE <> New Version (REPLACE0) is available at https://www.spigotmc.org/resources/plan-player-analytics.32536/ VERSION_LATEST <> You're running the latest version VERSION_CHECK_ERROR <> Failed to compare versions. VERSION_FAIL <> Failed to get newest version number. -USERNAME_NOT_VALID <> §c[Plan] This Player doesn't exist. -USERNAME_NOT_SEEN <> §c[Plan] This Player has not played on this server. -USERNAME_NOT_KNOWN <> §c[Plan] Player not found from the database. -GRABBING_DATA_MESSAGE <> »§2 Fetching data to cache.. +USERNAME_NOT_VALID <> �c[Plan] This Player doesn't exist. +USERNAME_NOT_SEEN <> �c[Plan] This Player has not played on this server. +USERNAME_NOT_KNOWN <> �c[Plan] Player not found from the database. +GRABBING_DATA_MESSAGE <> ��2 Fetching data to cache.. DEM_UNKNOWN <> Not Known NOT_IN_TOWN <> Not in a town NOT_IN_FAC <> Not in a faction -COMMAND_TIMEOUT <> §c[Plan] REPLACE0 Command timed out! Error most likely on console. +COMMAND_TIMEOUT <> �c[Plan] REPLACE0 Command timed out! Error most likely on console. ANALYSIS_START <> Analysis | Beginning analysis of user data.. ANALYSIS_BOOT_NOTIFY <> Analysis | Boot analysis in 30 seconds.. ANALYSIS_BOOT <> Analysis | Starting Boot Analysis.. @@ -36,44 +36,44 @@ ANALYSIS_FAIL_NO_DATA <> Analysis | Analysis failed, no data in the database. ANALYSIS_BEGIN_ANALYSIS <> Analysis | Data Fetched, beginning Analysis of data.. ANALYSIS_COMPLETE <> Analysis | Analysis Complete. DATA_CORRUPTION_WARN <> Some data might be corrupted: REPLACE0 -ERROR_NO_DATA_VIEW <> §eWebserver disabled but Alternative IP/PlanLite not used, no way to view data! -ERROR_WEBSERVER_OFF_ANALYSIS <> §e[Plan] This command can be only used if the webserver is running on this server. -ERROR_WEBSERVER_OFF_INSPECT <> §e[Plan] This command can be only used if webserver/planlite is enabled on this server. -MANAGE_ERROR_INCORRECT_PLUGIN <> §c[Plan] Plugin not supported: -MANAGE_PROCESS_START <> »§7 Processing data.. -MANAGE_ERROR_PLUGIN_NOT_ENABLED <> §c[Plan] Plugin is not enabled: -MANAGE_ERROR_INCORRECT_DB <> §c[Plan] Incorrect database! (sqlite/mysql accepted): -MANAGE_ERROR_SAME_DB <> §c[Plan] Can't move to the same database! -MANAGE_DATABASE_FAILURE <> §c[Plan] One of the databases was not initialized properly. -MANAGE_DB_CONFIG_REMINDER <> §e[Plan] Remember to swap to the new database and reload plugin -MANAGE_ERROR_NO_PLAYERS <> §c[Plan] Database has no player data! -MANAGE_ERROR_BACKUP_FILE_NOT_FOUND <> §c[Plan] Backup file doesn't exist! -MANAGE_MOVE_SUCCESS <> §a[Plan] All data moved successfully! -MANAGE_COPY_SUCCESS <> §a[Plan] All data copied successfully! -MANAGE_PROCESS_FAIL <> §c[Plan] Something went wrong while processing the data! -MANAGE_CLEAR_SUCCESS <> §a[Plan] All data cleared successfully! -MANAGE_REMOVE_SUCCESS <> §f» §2Data of §fREPLACE0§2 was removed from Database §fREPLACE1§2. -MANAGE_IMPORTING <> §f» §2 Importing Data.. -MANAGE_SUCCESS <> §f» §2 Success! -CMD_ANALYZE_HEADER <> §f»§2 Player Analytics - Analysis results -CMD_INSPECT_HEADER <> §f»§2 Player Analytics - Inspect results: -CMD_INFO_HEADER <> §f»§2 Player Analytics - Info -CMD_INFO_VERSION <> §7 •§2§2 Version: §7REPLACE0 -CMD_SEARCH_HEADER <> §f»§2 Player Analytics - Search results for: -CMD_HELP_HEADER <> §f»§2 Player Analytics - Help -CMD_MANAGE_HELP_HEADER <> §f»§2 Player Analytics - Managment Help -CMD_MANAGE_STATUS_HEADER <> §f»§2 Player Analytics - Database status -CMD_MANAGE_STATUS_ACTIVE_DB <> §7 •§2§2 Active Database: §7REPLACE0 +ERROR_NO_DATA_VIEW <> �eWebserver disabled but Alternative IP/PlanLite not used, no way to view data! +ERROR_WEBSERVER_OFF_ANALYSIS <> �e[Plan] This command can be only used if the webserver is running on this server. +ERROR_WEBSERVER_OFF_INSPECT <> �e[Plan] This command can be only used if webserver/planlite is enabled on this server. +MANAGE_ERROR_INCORRECT_PLUGIN <> �c[Plan] Plugin not supported: +MANAGE_PROCESS_START <> ��7 Processing data.. +MANAGE_ERROR_PLUGIN_NOT_ENABLED <> �c[Plan] Plugin is not enabled: +MANAGE_ERROR_INCORRECT_DB <> �c[Plan] Incorrect database! (sqlite/mysql accepted): +MANAGE_ERROR_SAME_DB <> �c[Plan] Can't move to the same database! +MANAGE_DATABASE_FAILURE <> �c[Plan] One of the databases was not initialized properly. +MANAGE_DB_CONFIG_REMINDER <> �e[Plan] Remember to swap to the new database and reload plugin +MANAGE_ERROR_NO_PLAYERS <> �c[Plan] Database has no player data! +MANAGE_ERROR_BACKUP_FILE_NOT_FOUND <> �c[Plan] Backup file doesn't exist! +MANAGE_MOVE_SUCCESS <> �a[Plan] All data moved successfully! +MANAGE_COPY_SUCCESS <> �a[Plan] All data copied successfully! +MANAGE_PROCESS_FAIL <> �c[Plan] Something went wrong while processing the data! +MANAGE_CLEAR_SUCCESS <> �a[Plan] All data cleared successfully! +MANAGE_REMOVE_SUCCESS <> �f� �2Data of �fREPLACE0�2 was removed from Database �fREPLACE1�2. +MANAGE_IMPORTING <> �f� �2 Importing Data.. +MANAGE_SUCCESS <> �f� �2 Success! +CMD_ANALYZE_HEADER <> �f��2 Player Analytics - Analysis results +CMD_INSPECT_HEADER <> �f��2 Player Analytics - Inspect results: +CMD_INFO_HEADER <> �f��2 Player Analytics - Info +CMD_INFO_VERSION <> �7 ��2�2 Version: �7REPLACE0 +CMD_SEARCH_HEADER <> �f��2 Player Analytics - Search results for: +CMD_HELP_HEADER <> �f��2 Player Analytics - Help +CMD_MANAGE_HELP_HEADER <> �f��2 Player Analytics - Managment Help +CMD_MANAGE_STATUS_HEADER <> �f��2 Player Analytics - Database status +CMD_MANAGE_STATUS_ACTIVE_DB <> �7 ��2�2 Active Database: �7REPLACE0 CMD_CLICK_ME <> Click Me -CMD_LINK <> §7 •§2 Link: §f -CMD_RESULTS_AVAILABLE <> §7 Results will be available for §fREPLACE0§7 minutes. -CMD_NO_RESULTS <> §7 •§2 No results for §7REPLACE0§2. -CMD_MATCH <> §7 Matching player: §f +CMD_LINK <> �7 ��2 Link: �f +CMD_RESULTS_AVAILABLE <> �7 Results will be available for �fREPLACE0�7 minutes. +CMD_NO_RESULTS <> �7 ��2 No results for �7REPLACE0�2. +CMD_MATCH <> �7 Matching player: �f CMD_USG_ANALYZE <> View the Server Analysis CMD_USG_HELP <> Show command list. CMD_USG_INFO <> View Version of Plan CMD_USG_INSPECT <> Inspect Player's Data -CMD_USG_MANAGE <> Database managment command +CMD_USG_MANAGE <> Database management command CMD_USG_MANAGE_BACKUP <> Backup a database to .db file CMD_USG_MANAGE_RESTORE <> Restore a database from a backup file CMD_USG_MANAGE_MOVE <> Copy data from one database to another & overwrite values @@ -82,7 +82,7 @@ CMD_USG_MANAGE_IMPORT <> Import Data from supported plugins to Active Database. CMD_USG_MANAGE_CLEAR <> Clear data from one database CMD_USG_MANAGE_REMOVE <> Remove players's data from the Active Database. CMD_USG_MANAGE_STATUS <> Check the status of the Active Database. -CMD_USG_MANAGE_HELP <> Show managment help. +CMD_USG_MANAGE_HELP <> Show management help. CMD_USG_MANAGE_HOTSWAP <> Hotswap to another database & restart the plugin CMD_USG_RELOAD <> Reload plugin config & save cached data CMD_USG_SEARCH <> Search for player @@ -101,11 +101,11 @@ WARN_REWRITE <> Data in REPLACE0-database will be rewritten! WARN_OVERWRITE <> Data in REPLACE0-database will be overwritten! WARN_OVERWRITE_SOME <> Some data in REPLACE0-database will be overwritten! WARN_REMOVE <> Data in REPLACE0-database will be removed! -COMMAND_SENDER_NOT_PLAYER <> §c[Plan] This command can be only used as a player. -COMMAND_REQUIRES_ARGUMENTS <> §c[Plan] Command requires arguments. REPLACE0 -COMMAND_ADD_CONFIRMATION_ARGUMENT <> §c[Plan] Add -a to confirm execution! REPLACE0 -COMMAND_REQUIRES_ARGUMENTS_ONE <> §c[Plan] Command requires one argument. -COMMAND_NO_PERMISSION <> §c[Plan] You do not have the required permmission. +COMMAND_SENDER_NOT_PLAYER <> �c[Plan] This command can be only used as a player. +COMMAND_REQUIRES_ARGUMENTS <> �c[Plan] Command requires arguments. REPLACE0 +COMMAND_ADD_CONFIRMATION_ARGUMENT <> �c[Plan] Add -a to confirm execution! REPLACE0 +COMMAND_REQUIRES_ARGUMENTS_ONE <> �c[Plan] Command requires one argument. +COMMAND_NO_PERMISSION <> �c[Plan] You do not have the required permission. <<<<<>>>>> WARN_INACCURATE <>
Data might be inaccurate, player has just registered.
BANNED <> | Banned diff --git a/Plan/src/main/java/com/djrapitops/plan/Phrase.java b/Plan/src/main/java/com/djrapitops/plan/Phrase.java index 8c3b24d93..036667561 100644 --- a/Plan/src/main/java/com/djrapitops/plan/Phrase.java +++ b/Plan/src/main/java/com/djrapitops/plan/Phrase.java @@ -1,12 +1,13 @@ package main.java.com.djrapitops.plan; +import org.bukkit.ChatColor; + import java.io.File; import java.io.IOException; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Scanner; -import org.bukkit.ChatColor; /** * Phrase contains every message that is used in placeholders or commands. The @@ -134,7 +135,7 @@ public enum Phrase { CMD_USG_INFO("View Version of Plan"), CMD_USG_INSPECT("Inspect Player's Data"), CMD_USG_QINSPECT("QuickInspect Player's Data"), - CMD_USG_MANAGE("Database managment command"), + CMD_USG_MANAGE("Database management command"), CMD_USG_MANAGE_BACKUP("Backup a database to .db file"), CMD_USG_MANAGE_RESTORE("Restore a database from a backup file"), CMD_USG_MANAGE_MOVE("Copy data from one database to another & overwrite values"), @@ -144,7 +145,7 @@ public enum Phrase { CMD_USG_MANAGE_CLEAN("Clear incorrect data from the database"), CMD_USG_MANAGE_REMOVE("Remove players's data from the Active Database."), CMD_USG_MANAGE_STATUS("Check the status of the Active Database."), - CMD_USG_MANAGE_HELP("Show managment help."), + CMD_USG_MANAGE_HELP("Show management help."), CMD_USG_MANAGE_HOTSWAP("Hotswap to another database & restart the plugin"), CMD_USG_RELOAD("Reload plugin config & save cached data"), CMD_USG_SEARCH("Search for player"), @@ -171,7 +172,7 @@ public enum Phrase { COMMAND_REQUIRES_ARGUMENTS(ChatColor.RED + "" + PREFIX + "Command requires arguments. REPLACE0"), COMMAND_ADD_CONFIRMATION_ARGUMENT(ChatColor.RED + "" + PREFIX + "Add -a to confirm execution! REPLACE0"), COMMAND_REQUIRES_ARGUMENTS_ONE(ChatColor.RED + "" + PREFIX + "Command requires one argument."), - COMMAND_NO_PERMISSION(ChatColor.RED + "" + PREFIX + "You do not have the required permmission."), + COMMAND_NO_PERMISSION(ChatColor.RED + "" + PREFIX + "You do not have the required permission."), ERROR_TOO_SMALL_QUEUE("Queue size is too small! (REPLACE0), change the setting to a higher number! (Currently REPLACE1)"); private String text;