From 29dcbe05e9010704eb0147e339071d2dd43aa269 Mon Sep 17 00:00:00 2001 From: EliasDeHondt Date: Thu, 20 Feb 2025 22:08:04 +0100 Subject: [PATCH 1/2] #88 Add Klingon language support to navigation and create translation file @VW03 --- App/Frontend/src/app/nav/nav.component.ts | 3 +- App/Frontend/src/assets/i18n/tlh.json | 52 +++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 App/Frontend/src/assets/i18n/tlh.json diff --git a/App/Frontend/src/app/nav/nav.component.ts b/App/Frontend/src/app/nav/nav.component.ts index 6d2e10c..ccd2c10 100644 --- a/App/Frontend/src/app/nav/nav.component.ts +++ b/App/Frontend/src/app/nav/nav.component.ts @@ -26,7 +26,8 @@ export class NavComponent implements OnInit { { code: 'nl', name: 'Nederlands' }, { code: 'fr', name: 'Français' }, { code: 'de', name: 'Deutsch' }, - { code: 'zh', name: '中文' } + { code: 'zh', name: '中文' }, + { code: 'tlh', name: 'Klingon' } ] }; diff --git a/App/Frontend/src/assets/i18n/tlh.json b/App/Frontend/src/assets/i18n/tlh.json new file mode 100644 index 0000000..7b9a625 --- /dev/null +++ b/App/Frontend/src/assets/i18n/tlh.json @@ -0,0 +1,52 @@ +{ + "NAV": { + "LANGUAGE": "Hol choH", + "DASHBOARD": "DeghwI'", + "SEARCH": "nej", + "ADD": "chel", + "SETTINGS": "chut lulaj", + "LOGOUT": "mej", + "DESCRIPTION": "Del", + "REPOSITORY": "QaywI' pa'", + "CLOSE": "SoQmoH", + "THEME": "QIj" + }, + "FOOTER": { + "PART1": "chenmoHta'", + "PART2": "Hoch SuvwI' ghom" + }, + "LOGIN": { + "USERNAME_PLACEHOLDER": "pong", + "PASSWORD_PLACEHOLDER": "ngaQHa'ghach", + "LOGIN_BUTTON": "'el" + }, + "DASHBOARD": { + "NODES": "tetlh", + "CPU": "Qapchu' lo'", + "RAM": "qawHaq lo'", + "DISK": "naw' lo'" + }, + "SEARCH": { + "SEARCH_PLACEHOLDER": "nej yugh...", + "SEARCH": "nej", + "NODE": "tetlh", + "PODS": "pa'mey", + "SERVICES": "vummeH mIw", + "DEPLOYMENTS": "lanchu'ghach", + "CONFIGMAPS": "SeHmeH De'", + "SECRETS": "peghmey", + "NAMESPACE": "pong Daq", + "CLUSTER_NAME": "yugh pong", + "POD_NAME": "pa' pong", + "STATUS": "Dotlh", + "RESTART_COUNT": "qa'angqa' mI'", + "LAST_UPDATED": "chu'qa'lu'pu'" + }, + "NOTFOUND": { + "TITLE": "tlhIngan maH! Daq ghoSbe'!" + }, + "ADD_DEPLOYMENT": { + "YAML_PLACEHOLDER": "YAML yIghItlh...", + "DEPLOY": "lanchu'" + } +} \ No newline at end of file From bfbbe0ca519e23b9dbfdfb67f892a54f6eb4d99f Mon Sep 17 00:00:00 2001 From: VeraWise Date: Fri, 21 Feb 2025 09:42:50 +0100 Subject: [PATCH 2/2] important fix --- App/Frontend/src/app/dashboard/dashboard.component.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/Frontend/src/app/dashboard/dashboard.component.css b/App/Frontend/src/app/dashboard/dashboard.component.css index 513a87d..f12c310 100644 --- a/App/Frontend/src/app/dashboard/dashboard.component.css +++ b/App/Frontend/src/app/dashboard/dashboard.component.css @@ -90,7 +90,7 @@ } .dashboard-header-article p { - padding-left: 4.5rem; !important; + padding-left: 4.5rem !important; } /* Dashboard Header */