Skip to content

Commit

Permalink
changes i made on the laptop, don't push to live
Browse files Browse the repository at this point in the history
  • Loading branch information
MattheousDT committed Nov 11, 2018
1 parent 19e9ed1 commit 97f3dba
Show file tree
Hide file tree
Showing 19 changed files with 1,004 additions and 317 deletions.
38 changes: 19 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ app.use(express.json());
app.use(cookieParser(config.rawrxd));

app.use(i18n({
defaultLang: "en",
defaultLang: "en-gb",
translationsPath: path.join(__dirname, 'translations'),
siteLangs: ["en","de","pt"],
siteLangs: ["en-gb","de","pt", "pl", "en-ni", "en-us"],
paramLangName: "hl",
textsVarName: 'trans'
}));
Expand Down
2 changes: 1 addition & 1 deletion src/web/routes/json/credits.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
"translators": [{
"id": "215982178046181376",
"name": "Tweeno",
"role": "PORTUGESE_TRANSLATION",
"role": "PORTUGUESE_TRANSLATION",
"image": "https://cdn.discordapp.com/attachments/379432139856412682/462950191595782154/unknown.png",
"caption": "Eletrónica e Jogos são a minha vida. Não hesites em mandar uma mensagem!",
"socials": [{
Expand Down
Binary file modified src/web/static/img/headerphone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/web/templates/credits.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
$("#MARKETPLACE_ART").text("<%= trans.MARKETPLACE_ART %>");
$("#BOT_ART").text("<%= trans.BOT_ART %>");
$("#PORTUGESE_TRANSLATION").text("<%= trans.PORTUGESE_TRANSLATION %>");
$("#PORTUGUESE_TRANSLATION").text("<%= trans.PORTUGUESE_TRANSLATION %>");
$("#CHINESE_TRANSLATION").text("<%= trans.CHINESE_TRANSLATION %>");
$("#ROMANIAN_TRANSLATION").text("<%= trans.ROMANIAN_TRANSLATION %>");
$("#POLISH_TRANSLATION").text("<%= trans.POLISH_TRANSLATION %>");
Expand Down
2 changes: 1 addition & 1 deletion src/web/templates/dashboard/main.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
<!-- Fourth column -->
<div class="col-xl-3 col-md-6 mb-4">
<!-- Card -->
<a href="/help/dashboard/">
<a href="https://github.com/feinwarusoftware/awesomobot/wiki/help">
<div class="card card-image mb-4 top-shits" style="background-image: url(/img/mackey.png);">
<div class="text-white text-center top-shits d-flex align-items-center rgba-brown-strong waves-effect py-5 px-4">
<div class="mx-auto mt-1">
Expand Down
2 changes: 1 addition & 1 deletion src/web/templates/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@

<div id="feature3" class="row">
<div class="col-2">
<i class="fa fa-line-chart feinwaru-text fa-2x"></i>
<i class="fa fa-chart-line feinwaru-text fa-2x"></i>
</div>
<div class="col-10 mb-2">
<h5 class="font-weight-bold title">
Expand Down
10 changes: 5 additions & 5 deletions src/web/templates/partials/d-navbar.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<i class="fa fa-chart-bar"></i>
<%= trans.LEADERBOARDS %>
</a>
<div class="ml-4 pl-3">
<div class="ml-3">
<ul>
<li>
<a href="/dashboard/leaderboards<%= trans.LANG %>" class="waves-effect">
Expand All @@ -76,7 +76,7 @@
<!-- future update
<li><a class=" waves-effect"><i class="fa fa-share-alt"></i> Integrations</a>
<div class="ml-4 pl-3">
<div class="ml-3">
<ul>
<li><a href="#" class="waves-effect"><i class="fa fa-lastfm"></i> last.fm</a>
</li>
Expand All @@ -91,7 +91,7 @@
<i class="fa fa-gavel"></i>
<%= trans.MODERATION %>
</a>
<div class="ml-4 pl-3">
<div class="ml-3">
<ul>
<li>
<a href="#" class="waves-effect pl-4">
Expand All @@ -112,7 +112,7 @@
<li>
<a class=" waves-effect">
<i class="fa fa-code"></i><%= trans.SCRIPTS %></a>
<div class="ml-4 pl-2">
<div class="ml-3">
<ul>
<li>
<a class="waves-effect" href="/dashboard/commands<%= trans.LANG %>">
Expand Down Expand Up @@ -159,7 +159,7 @@
<i class="fa fa-database"></i>
<%= trans.AWESOMO_LEGACY_FEATURES %>
</a>
<div class="ml-4 pl-3">
<div class="ml-3 pl-4">
<ul>

<li>
Expand Down
2 changes: 1 addition & 1 deletion src/web/templates/partials/headers.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="shortcut icon" type="image/png" href="/img/favicon.png" />

<!-- Font Awesome -->
<link href="/css/fa-all.css" rel="stylesheet">
<link href="https://pro.fontawesome.com/releases/v5.1.0/css/all.css" rel="stylesheet">
<!-- Bootstrap core CSS -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
Expand Down
4 changes: 2 additions & 2 deletions src/web/templates/partials/langpicker.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
</a>
<a href="?hl=ni" class="list-group-item list-group-item-action waves-effect" style="display: none;">
<img src="https://upload.wikimedia.org/wikipedia/commons/f/f6/Flag_of_Northern_Ireland.svg" width="10%"> Norn Irish
</a>
</a>-->
<a href="?hl=pl" class="list-group-item list-group-item-action waves-effect">
<img src="https://upload.wikimedia.org/wikipedia/en/1/12/Flag_of_Poland.svg" width="10%"> Polski
</a>-->
</a>
<a href="?hl=pt" class="list-group-item list-group-item-action waves-effect">
<img src="https://upload.wikimedia.org/wikipedia/commons/5/5c/Flag_of_Portugal.svg" width="10%"> Português
</a><!--
Expand Down
2 changes: 1 addition & 1 deletion src/web/templates/partials/navbar.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<% } %>-->
<li class="nav-item">
<a class="nav-link waves-effect waves-light" data-toggle="modal" data-target="#LangModal">
<i class="fas fa-globe-africa"></i> <b>
<i class="far fa-globe"></i> <b>
<%= trans.INITIALS %></b>
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/web/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"BOT_ART": "Bot Kunst Credits Kunst",

"TRANSLATORS": "Übersetzer",
"PORTUGESE_TRANSLATION": "Portugiesische Übersetzung",
"PORTUGUESE_TRANSLATION": "Portugiesische Übersetzung",
"CHINESE_TRANSLATION": "Chinesische Übersetzung",
"ROMANIAN_TRANSLATION": "Rumänische Übersetzung",
"POLISH_TRANSLATION": "Polnische Übersetzung",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"BOT_ART": "Bot Art and Credits Art",

"TRANSLATORS": "Translators",
"PORTUGESE_TRANSLATION": "Portugese Translation",
"PORTUGUESE_TRANSLATION": "Portuguese Translation",
"CHINESE_TRANSLATION": "Chinese Translation",
"ROMANIAN_TRANSLATION": "Romanian Translation",
"POLISH_TRANSLATION": "Polish Translation",
Expand Down

0 comments on commit 97f3dba

Please sign in to comment.