1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

chore: Include third-party locales, refactoring

This commit is contained in:
Maksim Eltyshev 2025-06-06 17:56:50 +02:00
parent d4fb3a8913
commit 8e2b617dc1
4 changed files with 9 additions and 7 deletions

View file

@ -1,6 +1,11 @@
import dateFns from 'date-fns/locale/fi';
import timeAgo from 'javascript-time-ago/locale/fi';
import markdownEditor from './markdown-editor.json';
export default {
dateFns,
timeAgo,
markdownEditor,
format: {

View file

@ -1,11 +1,8 @@
import merge from 'lodash/merge';
import login from './login';
import core from './core';
export default {
language: 'fi-FI',
country: 'fi',
name: 'Suomi',
embeddedLocale: merge(login, core),
embeddedLocale: login,
};

View file

@ -13,13 +13,13 @@ import enGB from './en-GB';
import enUS from './en-US';
import esES from './es-ES';
import faIR from './fa-IR';
import fiFI from './fi-FI';
import frFR from './fr-FR';
import huHU from './hu-HU';
import idID from './id-ID';
import itIT from './it-IT';
import jaJP from './ja-JP';
import koKR from './ko-KR';
import fiFI from './fi-FI';
import nlNL from './nl-NL';
import plPL from './pl-PL';
import ptBR from './pt-BR';
@ -46,6 +46,7 @@ const locales = [
enUS,
esES,
faIR,
fiFI,
frFR,
huHU,
idID,
@ -58,7 +59,6 @@ const locales = [
roRO,
ruRU,
skSK,
fiFI,
srCyrlRS,
srLatnRS,
svSE,

View file

@ -44,6 +44,7 @@ const LANGUAGES = [
'en-US',
'es-ES',
'fa-IR',
'fi-FI',
'fr-FR',
'hu-HU',
'id-ID',
@ -56,7 +57,6 @@ const LANGUAGES = [
'ro-RO',
'ru-RU',
'sk-SK',
'fi-FI',
'sr-Cyrl-RS',
'sr-Latn-RS',
'sv-SE',