Skip to content

Commit

Permalink
feat: i18n workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf722 committed Nov 1, 2024
1 parent c0c63b1 commit 3c381dc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/livecodes/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4902,4 +4902,6 @@ const initHeadless = async (config: Partial<Config>, baseUrl: string) => {
return createApi();
};

window.deps.translateString('i18n.workflow.test', 'I18n Workflow Test');

export { initApp, initEmbed, initLite, initHeadless };
4 changes: 4 additions & 0 deletions src/livecodes/i18n/locales/en/translation.lokalise.json
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,10 @@
"notes": "",
"translation": "A Code Playground That Just Works!"
},
"i18n.workflow.test": {
"notes": "",
"translation": "I18n Workflow Test"
},
"import.bulk.desc": {
"notes": "### <tag-1> ###\n<a href=\"#\" id=\"link-to-saved-projects\" />\n\n",
"translation": "Bulk import multiple projects to your saved projects. Projects can be exported from the <tag-1>Saved Projects</tag-1> screen."
Expand Down
5 changes: 5 additions & 0 deletions src/livecodes/i18n/locales/en/translation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,11 @@ const translation = {
required: 'Required',
tagline: 'A Code Playground That Just Works!',
},
i18n: {
workflow: {
test: 'I18n Workflow Test',
},
},
import: {
bulk: {
desc: 'Bulk import multiple projects to your saved projects. Projects can be exported from the <1>Saved Projects</1> screen.',
Expand Down

0 comments on commit 3c381dc

Please sign in to comment.