-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(stark-ui): split translations from UI components in the differen…
…t modules they belong to. Split common Core and common UI translations. ISSUES CLOSED: #511
- Loading branch information
1 parent
51dc8c3
commit bd6fbb6
Showing
37 changed files
with
674 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from "./translations/common-translations"; | ||
export * from "./translations/locale.intf"; | ||
export * from "./translations/translations"; | ||
export * from "./translations/merge-translations"; |
11 changes: 11 additions & 0 deletions
11
packages/stark-core/src/common/translations/common-translations.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { translationsEn } from "./translations/en"; | ||
import { translationsFr } from "./translations/fr"; | ||
import { translationsNl } from "./translations/nl"; | ||
|
||
/** | ||
* Common translations for features available in Stark-Core package | ||
*/ | ||
export const commonCoreTranslations: object[] = []; | ||
commonCoreTranslations["en"] = translationsEn; | ||
commonCoreTranslations["fr"] = translationsFr; | ||
commonCoreTranslations["nl"] = translationsNl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.