mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-28 06:27:32 +02:00
Added missing language (needs testing later)
This commit is contained in:
parent
e00de54879
commit
88e2b936f5
@ -212,7 +212,16 @@ public enum HtmlLang implements Lang {
|
||||
WITH("<th>With"),
|
||||
NO_KILLS("No Kills"),
|
||||
LABEL_MAX_FREE_DISK("Max Free Disk"),
|
||||
LABEL_MIN_FREE_DISK("Min Free Disk")
|
||||
LABEL_MIN_FREE_DISK("Min Free Disk"),
|
||||
|
||||
QUERY_PERFORM_QUERY("Perform Query!"),
|
||||
QUERY_LOADING_FILTERS("Loading filters.."),
|
||||
QUERY_ADD_FILTER("Add a filter.."),
|
||||
QUERY_TIME_TO(">to</label>"),
|
||||
QUERY_TIME_FROM(">from</label>"),
|
||||
QUERY_SHOW_VIEW("Show a view"),
|
||||
QUERY("Query"),
|
||||
QUERY_MAKE_ANOTHER("Make another query"),
|
||||
;
|
||||
|
||||
private final String defaultValue;
|
||||
|
@ -38,7 +38,21 @@ public enum JSLang implements Lang {
|
||||
UNIT_CHUNKS("Chunks"),
|
||||
LABEL_RELATIVE_JOIN_ACTIVITY("Relative Join Activity"),
|
||||
LABEL_DAY_OF_WEEK("Day of the Week"),
|
||||
LABEL_WEEK_DAYS("'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'");
|
||||
LABEL_WEEK_DAYS("'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'"),
|
||||
|
||||
QUERY_ARE_ACTIVITY_GROUP("are in Activity Groups"),
|
||||
QUERY_ARE_PLUGIN_GROUP("are in ${plugin}'s ${group} Groups"),
|
||||
QUERY_OF_PLAYERS("of Players who "),
|
||||
QUERY_AND("and "),
|
||||
QUERY_PLAYED_BETWEEN("Played between"),
|
||||
QUERY_REGISTERED_BETWEEN("Registered between"),
|
||||
QUERY_ZERO_RESULTS("Query produced 0 results"),
|
||||
QUERY_RESULTS("Query Results"),
|
||||
QUERY_RESULTS_MATCH("matched ${resultCount} players"),
|
||||
QUERY_VIEW(" View:"),
|
||||
QUERY_ACTIVITY_OF_MATCHED_PLAYERS("Activity of matched players"),
|
||||
QUERY_ACTIVITY_ON("Activity on <span id=\"activity-date\"></span>"),
|
||||
;
|
||||
|
||||
private final String defaultValue;
|
||||
|
||||
|
@ -337,7 +337,7 @@ function runQuery() {
|
||||
jsonRequest(getQueryAddress(), function (json, error) {
|
||||
if (!json.data) {
|
||||
// TODO write proper error messages
|
||||
window.history.replaceState({}, '', `${location.pathname}?error=${error ? error : 'Query produced 0 results'}`);
|
||||
window.history.replaceState({}, '', `${location.pathname}?error=${encodeURIComponent(error ? error : 'Query produced 0 results')}`);
|
||||
location.reload();
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,6 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<div id="content" style="display: flex;">
|
||||
<!-- Begin Player Overview Tab -->
|
||||
<div class="tab" style="width: 100%;">
|
||||
<div class="container-fluid mt-4">
|
||||
<!-- Page Heading -->
|
||||
|
Loading…
Reference in New Issue
Block a user