Skip to content

Commit

Permalink
Merge pull request novuhq#958 from rittaschool/i18n-fi
Browse files Browse the repository at this point in the history
Finnish language for notification center
  • Loading branch information
davidsoderberg authored Aug 5, 2022
2 parents 39433c5 + 3991d68 commit f7777b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/notification-center/src/i18n/lang.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { EN } from './languages/en';
import { FI } from './languages/fi';

export interface ITranslationContent {
readonly notifications: string;
Expand All @@ -13,6 +14,7 @@ export interface ITranslationEntry {

export const TRANSLATIONS: Record<I18NLanguage, ITranslationEntry> = {
en: EN,
fi: FI,
};

/**
Expand All @@ -23,4 +25,4 @@ export const TRANSLATIONS: Record<I18NLanguage, ITranslationEntry> = {
* - For English use "en"
* - For French use "fr"
*/
export type I18NLanguage = 'en';
export type I18NLanguage = 'en' | 'fi';
10 changes: 10 additions & 0 deletions packages/notification-center/src/i18n/languages/fi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { ITranslationEntry } from '../lang';

export const FI: ITranslationEntry = {
translations: {
notifications: 'Ilmoitukset',
markAllAsRead: 'Merkkaa luetuksi',
poweredBy: 'Ilmoitukset mahdollistaa',
},
lang: 'fi',
};

0 comments on commit f7777b8

Please sign in to comment.