diff --git a/locales/AR_ar.json b/locales/AR_ar.json index c642684..df0188c 100644 --- a/locales/AR_ar.json +++ b/locales/AR_ar.json @@ -222,6 +222,15 @@ "title": "البلوج", "description": "آخر التحديثات في أجزاء مكثفة. إذا كنت ترغب في رؤية المزيد من التحديثات المتكررة ، ففكر في دعمنا على Patreon . " }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "!لنترجم", "description": "الصق رابطا إلي لغة الزيسون يمكن الوصول إليها بشكل عام لاختبارها على موقع الويب", diff --git a/locales/BR_pt.json b/locales/BR_pt.json index 8ce6bfb..f9ca0cb 100644 --- a/locales/BR_pt.json +++ b/locales/BR_pt.json @@ -223,6 +223,15 @@ "title": "Blog", "description": "As atualizações mais recentes em postagens condensadas. Se você quiser ver atualizações com mais frequência, considere nos ajudar no Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Vamos traduzir", "description": "Cole um link para um arquivo JSON acessível publicamente para testá-lo no site", diff --git a/locales/CN_zh.json b/locales/CN_zh.json index 3c7b1bc..afb3932 100644 --- a/locales/CN_zh.json +++ b/locales/CN_zh.json @@ -223,6 +223,15 @@ "title": "博客", "description": "压缩块的最新更新。如果您想看到更频繁的更新,请考虑在 Patreon 上支持我们。" }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "让我们本地化", "description": "粘贴指向可公开访问的 JSON 语言环境的链接以在网站上对其进行测试", diff --git a/locales/DE_de.json b/locales/DE_de.json index 7985911..e4fb116 100644 --- a/locales/DE_de.json +++ b/locales/DE_de.json @@ -223,6 +223,15 @@ "title": "Blog", "description": "Die letzten Updates in Kurzform. Wenn du Updates häufiger einsehen möchtest, unterstütze uns doch bei Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Let's localize", "description": "Paste a link to a publicly accessible JSON locale to test it on the website", diff --git a/locales/ES_es.json b/locales/ES_es.json index c4d08b1..1f0dbb6 100644 --- a/locales/ES_es.json +++ b/locales/ES_es.json @@ -223,6 +223,15 @@ "title": "Blog", "description": "Las últimas actualizaciones en pequeñas cantidades. Si quieres ver actualizaciones más frecuentes, considera apoyarnos en Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Vamos a localizar", "description": "Pega un enlace a una localización JSON accesible pulicamente para probarla en el sitio", diff --git a/locales/FR_fr.json b/locales/FR_fr.json index 709c0de..8dfc2fb 100644 --- a/locales/FR_fr.json +++ b/locales/FR_fr.json @@ -225,6 +225,15 @@ "title": "Blog", "description": "Les dernières mises à jour en blocs condensés. Si vous souhaitez voir des mises à jour plus fréquentes, envisagez de nous soutenir sur Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Localisons", "description": "Collez un lien vers un paramètre régional JSON accessible au public pour le tester sur le site Web", diff --git a/locales/IT_it.json b/locales/IT_it.json index 311bfb3..ae43aae 100644 --- a/locales/IT_it.json +++ b/locales/IT_it.json @@ -224,6 +224,15 @@ "title": "Blog", "description": "Gli ultimi aggiornamenti, condensati. Se sei interessato a ricevere aggiornamenti più frequenti, considera l'idea di supportarci su Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderatore", + "Sviluppatore" + ], + "banned": "Bannato" + }, "localizationPage": { "title": "Localizziamo", "description": "Incolla il link di una localizzazione in formato JSON accessibile al pubblico per testarla sul sito", diff --git a/locales/JP_ja.json b/locales/JP_ja.json index 042cc3b..b5a5492 100644 --- a/locales/JP_ja.json +++ b/locales/JP_ja.json @@ -223,6 +223,15 @@ "title": "ブログ(英語)", "description": "最新のアップデートをまとめてお届けします。もっと多くのアップデートを貰いたい方は、Patreonでの寄付をご検討ください。" }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "レッツローカライズ", "description": "公開されているJSONへのリンクを貼り付けてこのサイトに試してみて下さい!", diff --git a/locales/KR_ko.json b/locales/KR_ko.json index 409ad8c..bd0949d 100644 --- a/locales/KR_ko.json +++ b/locales/KR_ko.json @@ -223,6 +223,15 @@ "title": "블로그", "description": "내용이 압축된 최신 업데이트입니다. 만약 더 많은 업데이트를 원하신다면, Patreon에 기부하는 것을 검토해 주세요." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "같이 번역해 주세요!", "description": "액세스 가능한 JSON의 링크를 붙여넣어서, 웹사이트에서 테스트해 보세요!", diff --git a/locales/NL_nl.json b/locales/NL_nl.json index 1b05a1e..b515821 100644 --- a/locales/NL_nl.json +++ b/locales/NL_nl.json @@ -223,6 +223,15 @@ "title": "Blog", "description": "De meest recente samenvattingen. Als je vaker nieuws wil, overweeg ons op Patreon te ondersteunen." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Laten we meer talen toe voegen!", "description": "Voeg hier een link in voor een openbaar JSON bestand om het op de site te testen.", diff --git a/locales/NO_nb.json b/locales/NO_nb.json index fdfd7fd..113e685 100644 --- a/locales/NO_nb.json +++ b/locales/NO_nb.json @@ -223,6 +223,15 @@ "title": "Blogg", "description": "De nyeste oppdateringen er i kondensert biter. Hvis du har lyst til å se mer hyppig oppdateringen, tenk om å støtte oss på Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "La oss lokalisere", "description": "Lim inn en lenke til en offentlig JSON lokal til å teste det på nettsiden", diff --git a/locales/PL_pl.json b/locales/PL_pl.json index 3e8a99f..c1bdb73 100644 --- a/locales/PL_pl.json +++ b/locales/PL_pl.json @@ -222,6 +222,15 @@ "title": "Blog", "description": "Najnowsze informacje w krótkich tekstach. Jeśli chcesz otrzymywać częstsze aktualizacje, pomyśl nad wsparciem nas na Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Tłumaczmy", "description": "Wklej link do publicznego pliku JSON, aby przetestować go na stronie", diff --git a/locales/RO_ro.json b/locales/RO_ro.json index cedfbb6..384c2e1 100644 --- a/locales/RO_ro.json +++ b/locales/RO_ro.json @@ -223,6 +223,15 @@ "title": "Blog", "description": "Ultimele actualizări în bucăți condensate. Dacă vrei să vezi mai multe actualizări, consideră să ne susții pe Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Hai să localizăm", "description": "Inserați un link către un JSON public pentru a testa traducerea pe site", diff --git a/locales/RU_ru.json b/locales/RU_ru.json index b42181a..bb4e695 100644 --- a/locales/RU_ru.json +++ b/locales/RU_ru.json @@ -223,6 +223,15 @@ "title": "Blog", "description": "The latest updates in condensed chunks. If you want to see more frequent updates, consider supporting us on Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Let's localize", "description": "Paste a link to a publicly accessible JSON locale to test it on the website", diff --git a/locales/TR_tr.json b/locales/TR_tr.json index 0ef0d11..8b2ab66 100644 --- a/locales/TR_tr.json +++ b/locales/TR_tr.json @@ -223,6 +223,15 @@ "title": "Blog", "description": "The latest updates in condensed chunks. If you want to see more frequent updates, consider supporting us on Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Let's localize", "description": "Paste a link to a publicly accessible JSON locale to test it on the website", diff --git a/locales/US_en.json b/locales/US_en.json index f5f3770..09d5c3f 100644 --- a/locales/US_en.json +++ b/locales/US_en.json @@ -223,6 +223,15 @@ "title": "Blog", "description": "The latest updates in condensed chunks. If you want to see more frequent updates, consider supporting us on Patreon." }, + "account": { + "accountLevel": [ + "Standard", + "Tester", + "Moderator", + "Developer" + ], + "banned": "Banned" + }, "localizationPage": { "title": "Let's localize", "description": "Paste a link to a publicly accessible JSON locale to test it on the website", diff --git a/public/assets/css/account.css b/public/assets/css/account.css index 715076d..4445339 100644 --- a/public/assets/css/account.css +++ b/public/assets/css/account.css @@ -37,7 +37,9 @@ body.modal-open { border-style: solid; padding: 4px 16px; } -.account-sidebar .user .tier-level-0 { + +.account-sidebar .user .tier-level-0, +.account-sidebar .user .access-level-0 { background: #2a2f50; color: var(--text-secondary); border-color: #383f6b; @@ -57,6 +59,26 @@ body.modal-open { color:#cab1fb; border-color: #cab1fb; } +.account-sidebar .user .access-level-banned { + background: rgba(255, 63, 0, 0.1); + color:#FF3F00; + border-color: rgba(255, 63, 0, 0.8); +} +.account-sidebar .user .access-level-1 { + background: rgba(100, 247, 239, 0.3); + color: #64F7EF; + border-color: #64F7EF; +} +.account-sidebar .user .access-level-2 { + background: rgba(255, 199, 89, 0.3); + color: #FFC759; + border-color: #FFC759; +} +.account-sidebar .user .access-level-3 { + background: rgba(90, 255, 21, 0.3); + color:#5AFF15; + border-color: #5AFF15; +} .account-sidebar .user .mii { width: 128px; diff --git a/views/account/account.handlebars b/views/account/account.handlebars index 70533a7..da2a5ef 100644 --- a/views/account/account.handlebars +++ b/views/account/account.handlebars @@ -11,9 +11,13 @@
{{account.mii.name}}
PNID: {{account.username}}
{{#if tierName}} -{{tierName}}
+{{tierName}}
{{else}} -Default
+ {{#if (neq account.access_level -1)}} +{{ localeHelper locale "account" "accountLevel" account.access_level }}
+ {{else}} +{{ localeHelper locale "account" "banned" }}
+ {{/if}} {{/if}}