Merge pull request #379 from SamR1/enable-polish

Enable Polish translation
This commit is contained in:
Sam 2023-06-24 19:53:56 +02:00 committed by GitHub
commit e100f10596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 118 additions and 111 deletions

View File

@ -66,7 +66,7 @@ class BaseConfig:
'nl',
'es',
'gl',
# 'pl', # disabled for now
'pl',
]
OAUTH2_TOKEN_EXPIRES_IN = {
'authorization_code': 864000, # 10 days

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/static/css/fork-awesome.min.css"/><link rel="stylesheet" href="/static/css/leaflet.css"/><title>FitTrackee</title><script defer="defer" src="/static/js/chunk-vendors.7fdd7d99.js"></script><script defer="defer" src="/static/js/app.0fecb360.js"></script><link href="/static/css/app.3193986e.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="fittrackee_client"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but FitTrackee doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/static/css/fork-awesome.min.css"/><link rel="stylesheet" href="/static/css/leaflet.css"/><title>FitTrackee</title><script defer="defer" src="/static/js/chunk-vendors.b9f81b7c.js"></script><script defer="defer" src="/static/js/app.bb612d16.js"></script><link href="/static/css/app.714a9339.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="fittrackee_client"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but FitTrackee doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkfittrackee_client"]=self["webpackChunkfittrackee_client"]||[]).push([[845],{4264:function(e,t,r){r.r(t),r.d(t,{default:function(){return m}});r(7658);var n=r(6252),a=r(2262),s=r(3577),u=r(2201),o=r(7167),c=r(5801),i=r(9917);const l={key:0,id:"account-confirmation",class:"center-card with-margin"},E={class:"error-message"};var _=(0,n.aZ)({__name:"AccountConfirmationView",setup(e){const t=(0,u.yj)(),r=(0,u.tv)(),_=(0,i.o)(),d=(0,n.Fl)((()=>_.getters[c.SY.GETTERS.ERROR_MESSAGES])),S=(0,n.Fl)((()=>t.query.token));function m(){S.value?_.dispatch(c.YN.ACTIONS.CONFIRM_ACCOUNT,{token:S.value}):r.push("/")}return(0,n.wF)((()=>m())),(0,n.Ah)((()=>_.commit(c.SY.MUTATIONS.EMPTY_ERROR_MESSAGES))),(e,t)=>{const r=(0,n.up)("router-link");return(0,a.SU)(d)?((0,n.wg)(),(0,n.iD)("div",l,[(0,n.Wm)(o.Z),(0,n._)("p",E,[(0,n._)("span",null,(0,s.zw)(e.$t("error.SOMETHING_WRONG"))+".",1),(0,n.Wm)(r,{class:"links",to:"/account-confirmation/resend"},{default:(0,n.w5)((()=>[(0,n.Uk)((0,s.zw)(e.$t("buttons.ACCOUNT-CONFIRMATION-RESEND"))+"? ",1)])),_:1})])])):(0,n.kq)("",!0)}}}),d=r(3744);const S=(0,d.Z)(_,[["__scopeId","data-v-785df978"]]);var m=S},8793:function(e,t,r){r.r(t),r.d(t,{default:function(){return m}});r(7658);var n=r(6252),a=r(2262),s=r(3577),u=r(2201),o=r(7167),c=r(5801),i=r(9917);const l={key:0,id:"email-update",class:"center-card with-margin"},E={class:"error-message"};var _=(0,n.aZ)({__name:"EmailUpdateView",setup(e){const t=(0,u.yj)(),r=(0,u.tv)(),_=(0,i.o)(),d=(0,n.Fl)((()=>_.getters[c.YN.GETTERS.AUTH_USER_PROFILE])),S=(0,n.Fl)((()=>_.getters[c.YN.GETTERS.IS_AUTHENTICATED])),m=(0,n.Fl)((()=>_.getters[c.SY.GETTERS.ERROR_MESSAGES])),p=(0,n.Fl)((()=>t.query.token));function R(){p.value?_.dispatch(c.YN.ACTIONS.CONFIRM_EMAIL,{token:p.value,refreshUser:S.value}):r.push("/")}return(0,n.wF)((()=>R())),(0,n.Ah)((()=>_.commit(c.SY.MUTATIONS.EMPTY_ERROR_MESSAGES))),(0,n.YP)((()=>m.value),(e=>{d.value.username&&e&&r.push("/")})),(e,t)=>{const r=(0,n.up)("router-link"),u=(0,n.up)("i18n-t");return(0,a.SU)(m)&&!(0,a.SU)(d).username?((0,n.wg)(),(0,n.iD)("div",l,[(0,n.Wm)(o.Z),(0,n._)("p",E,[(0,n._)("span",null,(0,s.zw)(e.$t("error.SOMETHING_WRONG"))+".",1),(0,n._)("span",null,[(0,n.Wm)(u,{keypath:"user.PROFILE.ERRORED_EMAIL_UPDATE"},{default:(0,n.w5)((()=>[(0,n.Wm)(r,{to:"/login"},{default:(0,n.w5)((()=>[(0,n.Uk)((0,s.zw)(e.$t("user.LOG_IN")),1)])),_:1})])),_:1})])])])):(0,n.kq)("",!0)}}}),d=r(3744);const S=(0,d.Z)(_,[["__scopeId","data-v-8c2ec9ce"]]);var m=S},3537:function(e,t,r){r.r(t),r.d(t,{default:function(){return d}});var n=r(6252),a=r(2262),s=r(5801),u=r(9917);const o=e=>((0,n.dD)("data-v-0c3c0394"),e=e(),(0,n.Cn)(),e),c={key:0,id:"profile",class:"view"},i=o((()=>(0,n._)("div",{id:"bottom"},null,-1)));var l=(0,n.aZ)({__name:"ProfileView",setup(e){const t=(0,u.o)(),r=(0,n.Fl)((()=>t.getters[s.YN.GETTERS.AUTH_USER_PROFILE]));return(e,t)=>{const s=(0,n.up)("router-view");return(0,a.SU)(r).username?((0,n.wg)(),(0,n.iD)("div",c,[(0,n.Wm)(s,{user:(0,a.SU)(r)},null,8,["user"]),i])):(0,n.kq)("",!0)}}}),E=r(3744);const _=(0,E.Z)(l,[["__scopeId","data-v-0c3c0394"]]);var d=_},9453:function(e,t,r){r.r(t),r.d(t,{default:function(){return m}});var n=r(6252),a=r(2262),s=r(2201),u=r(2179),o=r(1585),c=r(5801),i=r(9917);const l={key:0,id:"user",class:"view"},E={class:"box"};var _=(0,n.aZ)({__name:"UserView",props:{fromAdmin:{type:Boolean}},setup(e){const t=e,{fromAdmin:r}=(0,a.BK)(t),_=(0,s.yj)(),d=(0,i.o)(),S=(0,n.Fl)((()=>d.getters[c.RT.GETTERS.USER]));return(0,n.wF)((()=>{_.params.username&&"string"===typeof _.params.username&&d.dispatch(c.RT.ACTIONS.GET_USER,_.params.username)})),(0,n.Jd)((()=>{d.dispatch(c.RT.ACTIONS.EMPTY_USER)})),(e,t)=>(0,a.SU)(S).username?((0,n.wg)(),(0,n.iD)("div",l,[(0,n.Wm)(u.Z,{user:(0,a.SU)(S)},null,8,["user"]),(0,n._)("div",E,[(0,n.Wm)(o.Z,{user:(0,a.SU)(S),"from-admin":(0,a.SU)(r)},null,8,["user","from-admin"])])])):(0,n.kq)("",!0)}}),d=r(3744);const S=(0,d.Z)(_,[["__scopeId","data-v-af7007f4"]]);var m=S}}]);
//# sourceMappingURL=profile.e3100ccf.js.map
"use strict";(self["webpackChunkfittrackee_client"]=self["webpackChunkfittrackee_client"]||[]).push([[845],{4264:function(e,t,r){r.r(t),r.d(t,{default:function(){return m}});r(7658);var n=r(6252),a=r(2262),s=r(3577),u=r(2201),o=r(7167),c=r(5801),i=r(9917);const l={key:0,id:"account-confirmation",class:"center-card with-margin"},E={class:"error-message"};var _=(0,n.aZ)({__name:"AccountConfirmationView",setup(e){const t=(0,u.yj)(),r=(0,u.tv)(),_=(0,i.o)(),d=(0,n.Fl)((()=>_.getters[c.SY.GETTERS.ERROR_MESSAGES])),S=(0,n.Fl)((()=>t.query.token));function m(){S.value?_.dispatch(c.YN.ACTIONS.CONFIRM_ACCOUNT,{token:S.value}):r.push("/")}return(0,n.wF)((()=>m())),(0,n.Ah)((()=>_.commit(c.SY.MUTATIONS.EMPTY_ERROR_MESSAGES))),(e,t)=>{const r=(0,n.up)("router-link");return(0,a.SU)(d)?((0,n.wg)(),(0,n.iD)("div",l,[(0,n.Wm)(o.Z),(0,n._)("p",E,[(0,n._)("span",null,(0,s.zw)(e.$t("error.SOMETHING_WRONG"))+".",1),(0,n.Wm)(r,{class:"links",to:"/account-confirmation/resend"},{default:(0,n.w5)((()=>[(0,n.Uk)((0,s.zw)(e.$t("buttons.ACCOUNT-CONFIRMATION-RESEND"))+"? ",1)])),_:1})])])):(0,n.kq)("",!0)}}}),d=r(3744);const S=(0,d.Z)(_,[["__scopeId","data-v-785df978"]]);var m=S},8160:function(e,t,r){r.r(t),r.d(t,{default:function(){return m}});r(7658);var n=r(6252),a=r(2262),s=r(3577),u=r(2201),o=r(7167),c=r(5801),i=r(9917);const l={key:0,id:"email-update",class:"center-card with-margin"},E={class:"error-message"};var _=(0,n.aZ)({__name:"EmailUpdateView",setup(e){const t=(0,u.yj)(),r=(0,u.tv)(),_=(0,i.o)(),d=(0,n.Fl)((()=>_.getters[c.YN.GETTERS.AUTH_USER_PROFILE])),S=(0,n.Fl)((()=>_.getters[c.YN.GETTERS.IS_AUTHENTICATED])),m=(0,n.Fl)((()=>_.getters[c.SY.GETTERS.ERROR_MESSAGES])),p=(0,n.Fl)((()=>t.query.token));function R(){p.value?_.dispatch(c.YN.ACTIONS.CONFIRM_EMAIL,{token:p.value,refreshUser:S.value}):r.push("/")}return(0,n.wF)((()=>R())),(0,n.Ah)((()=>_.commit(c.SY.MUTATIONS.EMPTY_ERROR_MESSAGES))),(0,n.YP)((()=>m.value),(e=>{d.value.username&&e&&r.push("/")})),(e,t)=>{const r=(0,n.up)("router-link"),u=(0,n.up)("i18n-t");return(0,a.SU)(m)&&!(0,a.SU)(d).username?((0,n.wg)(),(0,n.iD)("div",l,[(0,n.Wm)(o.Z),(0,n._)("p",E,[(0,n._)("span",null,(0,s.zw)(e.$t("error.SOMETHING_WRONG"))+".",1),(0,n._)("span",null,[(0,n.Wm)(u,{keypath:"user.PROFILE.ERRORED_EMAIL_UPDATE"},{default:(0,n.w5)((()=>[(0,n.Wm)(r,{to:"/login"},{default:(0,n.w5)((()=>[(0,n.Uk)((0,s.zw)(e.$t("user.LOG_IN")),1)])),_:1})])),_:1})])])])):(0,n.kq)("",!0)}}}),d=r(3744);const S=(0,d.Z)(_,[["__scopeId","data-v-8c2ec9ce"]]);var m=S},3537:function(e,t,r){r.r(t),r.d(t,{default:function(){return d}});var n=r(6252),a=r(2262),s=r(5801),u=r(9917);const o=e=>((0,n.dD)("data-v-0c3c0394"),e=e(),(0,n.Cn)(),e),c={key:0,id:"profile",class:"view"},i=o((()=>(0,n._)("div",{id:"bottom"},null,-1)));var l=(0,n.aZ)({__name:"ProfileView",setup(e){const t=(0,u.o)(),r=(0,n.Fl)((()=>t.getters[s.YN.GETTERS.AUTH_USER_PROFILE]));return(e,t)=>{const s=(0,n.up)("router-view");return(0,a.SU)(r).username?((0,n.wg)(),(0,n.iD)("div",c,[(0,n.Wm)(s,{user:(0,a.SU)(r)},null,8,["user"]),i])):(0,n.kq)("",!0)}}}),E=r(3744);const _=(0,E.Z)(l,[["__scopeId","data-v-0c3c0394"]]);var d=_},9453:function(e,t,r){r.r(t),r.d(t,{default:function(){return m}});var n=r(6252),a=r(2262),s=r(2201),u=r(2179),o=r(1585),c=r(5801),i=r(9917);const l={key:0,id:"user",class:"view"},E={class:"box"};var _=(0,n.aZ)({__name:"UserView",props:{fromAdmin:{type:Boolean}},setup(e){const t=e,{fromAdmin:r}=(0,a.BK)(t),_=(0,s.yj)(),d=(0,i.o)(),S=(0,n.Fl)((()=>d.getters[c.RT.GETTERS.USER]));return(0,n.wF)((()=>{_.params.username&&"string"===typeof _.params.username&&d.dispatch(c.RT.ACTIONS.GET_USER,_.params.username)})),(0,n.Jd)((()=>{d.dispatch(c.RT.ACTIONS.EMPTY_USER)})),(e,t)=>(0,a.SU)(S).username?((0,n.wg)(),(0,n.iD)("div",l,[(0,n.Wm)(u.Z,{user:(0,a.SU)(S)},null,8,["user"]),(0,n._)("div",E,[(0,n.Wm)(o.Z,{user:(0,a.SU)(S),"from-admin":(0,a.SU)(r)},null,8,["user","from-admin"])])])):(0,n.kq)("",!0)}}),d=r(3744);const S=(0,d.Z)(_,[["__scopeId","data-v-af7007f4"]]);var m=S}}]);
//# sourceMappingURL=profile.d4857496.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -20,6 +20,7 @@
"@zxcvbn-ts/language-es-es": "^3.0.1",
"@zxcvbn-ts/language-fr": "^3.0.1",
"@zxcvbn-ts/language-it": "^3.0.1",
"@zxcvbn-ts/language-pl": "^3.0.1",
"axios": "^1.4.0",
"chart.js": "^4.3.0",
"chartjs-plugin-datalabels": "^2.2.0",

View File

@ -199,8 +199,8 @@
::v-deep(.dropdown-list) {
z-index: 1000;
margin-left: -110px !important;
width: 131px !important;
margin-left: -160px !important;
width: 180px !important;
}
}
@ -308,6 +308,10 @@
padding: 0;
}
}
.nav-items-user-menu :nth-child(1) {
order: 1;
}
}
}
</style>

View File

@ -6,18 +6,13 @@ import { createI18n, LocaleMessages, VueMessageType } from 'vue-i18n'
* The loaded `JSON` locale messages is pre-compiled by `@intlify/vue-i18n-loader`, which is integrated into `vue-cli-plugin-i18n`.
* See: https://github.com/intlify/vue-i18n-loader#rocket-i18n-resource-pre-compilation
*/
const disabledLanguages = ['pl'] // to update after translations release
function loadLocaleMessages(): Record<string, LocaleMessages<VueMessageType>> {
const locales = require.context('./locales', true, /[A-Za-z0-9-_,\s]+\.ts$/i)
const messages: Record<string, LocaleMessages<VueMessageType>> = {}
locales.keys().forEach((key) => {
const matched = key.match(/([A-Za-z0-9-_]+)\./i)
if (
matched &&
matched.length > 1 &&
!disabledLanguages.includes(matched[1])
) {
if (matched && matched.length > 1) {
const locale = matched[1]
messages[locale] = locales(key).default
}

View File

@ -119,9 +119,9 @@
},
"USE_RAW_GPX_SPEED": {
"FILTERED_SPEED": "Gefiltert",
"HELP": "Wenn gefiltert wird, werden extreme Werte (welche GPS-Fehler sein können) beim Berechnen der Maximalgeschwindigkeit ausgeschlossen.",
"LABEL": "Höchstgeschwindigkeitsstrategie",
"RAW_SPEED": "Rau",
"HELP": "Wenn gefiltert wird, werden extreme Werte (welche GPS-Fehler sein können) beim Berechnen der Maximalgeschwindigkeit ausgeschlossen."
"RAW_SPEED": "Rau"
}
},
"READ_AND_ACCEPT_PRIVACY_POLICY": "Ich habe die {0} gelesen und stimme ihr zu.",

View File

@ -119,9 +119,9 @@
},
"USE_RAW_GPX_SPEED": {
"FILTERED_SPEED": "Gefilterd",
"HELP": "Bij filteren worden extreme waarden (dewelke mogelijk GPS fouten zijn) niet gebruikt om de maximum snelheid te berekenen.",
"LABEL": "Strategie voor maximale snelheid",
"RAW_SPEED": "Rauw",
"HELP": "Bij filteren worden extreme waarden (dewelke mogelijk GPS fouten zijn) niet gebruikt om de maximum snelheid te berekenen."
"RAW_SPEED": "Rauw"
}
},
"READ_AND_ACCEPT_PRIVACY_POLICY": "Ik heb het {0} gelezen en goedgekeurd.",

View File

@ -1,8 +1,8 @@
{
"WEATHER_DATA_FROM": "Dane pogodowe z:",
"ABOUT_THIS_INSTANCE": "O tej instancji",
"CONTACT_ADMIN": "Skontaktuj się z administratorem",
"FITTRACKEE_DESCRIPTION": "<strong>FitTrackee</strong> to program śledzenia aktywności na świeżym powietrzu.",
"FITTRACKEE_LICENSE": "na licencji {0} ",
"SOURCE_CODE": "Kod źródłowy",
"FITTRACKEE_DESCRIPTION": "<strong>FitTrackee</strong> to program śledzenia aktywności na świeżym powietrzu."
"WEATHER_DATA_FROM": "Dane pogodowe z:"
}

View File

@ -1,12 +1,12 @@
{
"EMAIL_SENDING_DISABLED": "Wysyłanie e-maili jest wyłączone.",
"CONFIRM_USER_PASSWORD_RESET": "Czy na pewno chcesz zresetować {0} hasło?",
"NEW_EMAIL": "Nowy e-mail",
"APP_CONFIG": {
"NO_CONTACT_EMAIL": "brak adresu e-mail do kontaktu"
},
"CONFIRM_USER_PASSWORD_RESET": "Czy na pewno chcesz zresetować {0} hasło?",
"CURRENT_EMAIL": "Aktualny e-mail",
"EMAIL_SENDING_DISABLED": "Wysyłanie e-maili jest wyłączone.",
"ENABLE_DISABLE_SPORTS": "Włącz/wyłącz sporty.",
"NEW_EMAIL": "Nowy e-mail",
"NO_TEXT_ENTERED": "Nie podano tekstu",
"PASSWORD_RESET_SUCCESSFUL": "Hasło zostało zresetowane.",
"RESET_USER_PASSWORD": "Zresetuj hasło",

View File

@ -1,15 +1,15 @@
{
"DELETE_MY_ACCOUNT": "Usuń moje konto",
"DISABLE": "Wyłącz",
"ACCOUNT-CONFIRMATION-RESEND": "Wyślij ponownie potwierdzenie adresu e-mail",
"AUTHORIZE": "Autoryzuj",
"BACK": "Wstecz",
"CANCEL": "Anuluj",
"CLEAR_FILTER": "Wyczyść filtry",
"DELETE_MY_ACCOUNT": "Usuń moje konto",
"DISABLE": "Wyłącz",
"EDIT": "Edytuj",
"ENABLE": "Włącz",
"LOGIN": "Zaloguj się",
"NO": "Nie",
"SUBMIT": "Wyślij",
"YES": "Tak",
"AUTHORIZE": "Autoryzuj"
"YES": "Tak"
}

View File

@ -1,9 +1,9 @@
{
"APP_ERROR": "Wygląda na to, że aplikacja napotkała pewne problemy.<br />Spróbuj ponownie później lub skontaktuj się z administratorem.",
"UNKNOWN": "Błąd. Proszę spróbować ponownie lub skontaktować się z administratorem.",
"NOT_FOUND": {
"PAGE": "Nie znaleziono strony",
"WORKOUT": "Nie znaleziono treningu"
},
"SOMETHING_WRONG": "Coś poszło nie tak"
"SOMETHING_WRONG": "Coś poszło nie tak",
"UNKNOWN": "Błąd. Proszę spróbować ponownie lub skontaktować się z administratorem."
}

View File

@ -1,11 +1,11 @@
{
"CONTENT": {
"DATA_COLLECTED": {
"TITLE": "Jakie informacje zbieramy?"
},
"ACCOUNT_DELETION": {
"TITLE": "Usuwanie konta"
},
"DATA_COLLECTED": {
"TITLE": "Jakie informacje zbieramy?"
},
"YOUR_CONSENT": {
"TITLE": "Twoja zgoda"
}

View File

@ -11,15 +11,15 @@
"Hiking": {
"LABEL": "Piesza wycieczka"
},
"Mountaineering": {
"LABEL": "Alpinizm"
},
"Mountain Biking": {
"LABEL": "Kolarstwo górskie"
},
"Mountain Biking (Electric)": {
"LABEL": "Kolarstwo górskie (Elektryczne)"
},
"Mountaineering": {
"LABEL": "Alpinizm"
},
"Rowing": {
"LABEL": "Wioślarstwo"
},

View File

@ -1,34 +1,7 @@
{
"PROFILE": {
"BIRTH_DATE": "Data urodzenia",
"TABS": {
"ACCOUNT": "konto"
},
"ACCOUNT_EDITION": "Edycja konta",
"ELEVATION_CHART_START": {
"ZERO": "Zero"
},
"FIRST_DAY_OF_WEEK": "Pierwszy dzień tygodnia",
"FIRST_NAME": "Imię",
"LANGUAGE": "Język",
"LAST_NAME": "Nazwisko",
"MONDAY": "Poniedziałek",
"SPORT": {
"COLOR": "kolor"
},
"SUNDAY": "Niedziela",
"TIMEZONE": "Strefa czasowa",
"SUCCESSFUL_REGISTRATION_WITH_EMAIL": "Link do aktywacji konta został wysłany e-mailem na podany adres.",
"SUCCESSFUL_REGISTRATION": "Twoje konto zostało pomyślnie utworzone.",
"SUCCESSFUL_UPDATE": "Twoje konto zostało pomyślnie zaktualizowane.",
"SUCCESSFUL_EMAIL_UPDATE": "Twoje konto zostało zaktualizowane. Sprawdź swój e-mail aby potwierdzić nowy adres.",
"UNITS": {
"LABEL": "Jednostki dystansu",
"METRIC": "System metryczny (m, km, m/s, °C)",
"IMPERIAL": "System imperialny (stopy, mile, °F)"
}
},
"USERNAME_INFO": "Wymagane od 3 do 30 znaków, można używać tylko liter, cyfr i podkreślenia \"_\".",
"ACCOUNT_CONFIRMATION_SENT": "Sprawdź swój e-mail. Nowa wiadomość z potwierdzeniem została wysłana na podany adres.",
"ALREADY_HAVE_ACCOUNT": "Masz już konto?",
"CURRENT_PASSWORD": "Aktualne hasło",
"EMAIL": "E-mail",
"EMAIL_INFO": "Podaj poprawny adres e-mail.",
"ENTER_PASSWORD": "Podaj hasło",
@ -63,25 +36,52 @@
"capitalization": "Użyj wielkiej litery nie tylko na początku.",
"dates": "Unikaj dat, które są powiązane z Tobą.",
"l33t": "Unikaj przewidywalnych zastępstw liter, jak {'@'} zamiast a.",
"longerKeyboardPattern": "Użyj dłuższych wzorców na klawiaturze i zmieniaj kierunek pisania wiele razy.",
"noNeed": "Możesz tworzyć silne hasła bez użycia symboli, liczb czy wielkich liter.",
"pwned": "Jeśli używasz tego hasła także gdzieś indziej, zmień je.",
"recentYears": "Unikaj ostatnich lat.",
"repeated": "Unikaj powtarzania słów i znaków.",
"reverseWords": "Unikaj pisania wspak popularnych słów.",
"sequences": "Unikaj popularnych sekwencji znaków.",
"useWords": "Użyj wielu słów, ale unikaj znanych sformułowań.",
"pwned": "Jeśli używasz tego hasła także gdzieś indziej, zmień je.",
"longerKeyboardPattern": "Użyj dłuższych wzorców na klawiaturze i zmieniaj kierunek pisania wiele razy.",
"noNeed": "Możesz tworzyć silne hasła bez użycia symboli, liczb czy wielkich liter."
"useWords": "Użyj wielu słów, ale unikaj znanych sformułowań."
},
"WEAK": "słabe"
},
"PASSWORD_UPDATED": "Twoje hasło zostało zaktualizowane. Kliknij {0} aby się zalogować.",
"YOU_HAVE_ACCEPTED_PRIVACY_POLICY": "Zaakceptowałeś(-aś) {0}.",
"PROFILE": {
"ACCOUNT_EDITION": "Edycja konta",
"BIRTH_DATE": "Data urodzenia",
"ELEVATION_CHART_START": {
"ZERO": "Zero"
},
"FIRST_DAY_OF_WEEK": "Pierwszy dzień tygodnia",
"FIRST_NAME": "Imię",
"LANGUAGE": "Język",
"LAST_NAME": "Nazwisko",
"MONDAY": "Poniedziałek",
"SPORT": {
"COLOR": "kolor"
},
"SUCCESSFUL_EMAIL_UPDATE": "Twoje konto zostało zaktualizowane. Sprawdź swój e-mail aby potwierdzić nowy adres.",
"SUCCESSFUL_REGISTRATION": "Twoje konto zostało pomyślnie utworzone.",
"SUCCESSFUL_REGISTRATION_WITH_EMAIL": "Link do aktywacji konta został wysłany e-mailem na podany adres.",
"SUCCESSFUL_UPDATE": "Twoje konto zostało pomyślnie zaktualizowane.",
"SUNDAY": "Niedziela",
"TABS": {
"ACCOUNT": "konto"
},
"TIMEZONE": "Strefa czasowa",
"UNITS": {
"IMPERIAL": "System imperialny (stopy, mile, °F)",
"LABEL": "Jednostki dystansu",
"METRIC": "System metryczny (m, km, m/s, °C)"
}
},
"READ_AND_ACCEPT_PRIVACY_POLICY": "Przeczytałem(-am) i zaakceptowałem(-am) {0}.",
"RESENT_ACCOUNT_CONFIRMATION": "Wyślij ponownie e-mail potwierdzenia konta",
"RESET_PASSWORD": "Zresetuj swoje hasło",
"SHOW_PASSWORD": "pokaż hasło",
"THIS_USER_ACCOUNT_IS_INACTIVE": "To konto użytkownika jest nieaktywne.",
"ACCOUNT_CONFIRMATION_SENT": "Sprawdź swój e-mail. Nowa wiadomość z potwierdzeniem została wysłana na podany adres.",
"ALREADY_HAVE_ACCOUNT": "Masz już konto?",
"CURRENT_PASSWORD": "Aktualne hasło",
"READ_AND_ACCEPT_PRIVACY_POLICY": "Przeczytałem(-am) i zaakceptowałem(-am) {0}."
"USERNAME_INFO": "Wymagane od 3 do 30 znaków, można używać tylko liter, cyfr i podkreślenia \"_\".",
"YOU_HAVE_ACCEPTED_PRIVACY_POLICY": "Zaakceptowałeś(-aś) {0}."
}

View File

@ -10,9 +10,9 @@
"partly-cloudy-day": "trochę pochmurny dzień",
"partly-cloudy-night": "trochę pochmurna noc",
"rain": "deszcz",
"sleet": "deszcz ze śniegiem",
"snow": "śnieg",
"wind": "wiatr",
"sleet": "deszcz ze śniegiem"
"wind": "wiatr"
},
"HUMIDITY": "wilgotność",
"TEMPERATURE": "temperatura",

View File

@ -100,7 +100,7 @@ export const dateStringFormats: Record<string, string> = {
fr: 'd MMM yyyy',
gl: 'd MMM yyyy',
it: 'd MMM yyyy',
// pl: 'd MMM yyyy', // disabled for now
pl: 'd MMM yyyy',
nb: 'do MMM yyyy',
nl: 'd MMM yyyy',
}

View File

@ -1,6 +1,6 @@
/* eslint-disable import/no-duplicates */
import { Locale } from 'date-fns'
import { de, enUS, es, fr, gl, it, nb, nl } from 'date-fns/locale'
import { de, enUS, es, fr, gl, it, nb, nl, pl } from 'date-fns/locale'
import createI18n from '@/i18n'
@ -11,7 +11,7 @@ export const localeFromLanguage: Record<string, Locale> = {
fr: fr,
gl: gl,
it: it,
// pl: pl,
pl: pl,
nb: nb,
nl: nl,
}
@ -22,10 +22,10 @@ export const languageLabels: Record<string, string> = {
es: 'Español',
fr: 'Français',
gl: 'Galego',
it: 'Italiano',
// pl: 'Polski',
nb: 'Norsk bokmål',
it: 'Italiano (87%)',
nb: 'Norsk bokmål (36%)',
nl: 'Nederlands',
pl: 'Polski (43%)',
}
const { availableLocales } = createI18n.global

View File

@ -2,9 +2,9 @@ import { zxcvbnOptions } from '@zxcvbn-ts/core'
export const loadLanguagePackage = async (language: string) => {
// no package available for
// - dutch (Nederlands)
// - galician
// - norwegian bokmal
// - Dutch (Nederlands)
// - Galician
// - Norwegian bokmal
// fallback to english
switch (language) {
case 'fr':
@ -23,11 +23,10 @@ export const loadLanguagePackage = async (language: string) => {
return await import(
/* webpackChunkName: "password.es" */ '@zxcvbn-ts/language-es-es'
)
// TODO: add package
// case 'pl':
// return await import(
// /* webpackChunkName: "password.pl" */ '@zxcvbn-ts/language-pl'
// )
case 'pl':
return await import(
/* webpackChunkName: "password.pl" */ '@zxcvbn-ts/language-pl'
)
default:
return await import(
/* webpackChunkName: "password.en" */ '@zxcvbn-ts/language-en'

View File

@ -2298,6 +2298,11 @@
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/language-it/-/language-it-3.0.1.tgz#3f6dfe8d4951f91c108ec00d941d1ce3b0053393"
integrity sha512-ejuxUsame0+kR1mJStCrUFtuByFCLGU4sdW9ZvcbjQ7K1UrzMsfLNSmA48M5FoicdY79twyJw1YWSUFyJFmt+g==
"@zxcvbn-ts/language-pl@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/language-pl/-/language-pl-3.0.1.tgz#4658fe112045a51e2d96277725e546fbf4a04160"
integrity sha512-Sqc/u4b0q7rb6pYSQuf34HgdjIqo0Rd5aeouV9jJEUr6TDZl1l9yuj6YdAQy+ZAOMHz1e0lLnp930oY+xI6fGA==
abab@^2.0.5, abab@^2.0.6:
version "2.0.6"
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291"