Nariman Jelveh преди 1 година
родител
ревизия
33a6f4c49f
променени са 3 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 1 2
      src/UI/UITaskbar.js
  2. 1 0
      src/i18n/translations/en.js
  3. 1 0
      src/i18n/translations/ko.js

+ 1 - 2
src/UI/UITaskbar.js

@@ -118,8 +118,7 @@ async function UITaskbar(options){
             // -------------------------------------------
             if(window.launch_apps.recommended.length > 0){
                 // heading
-                apps_str += `<h1 class="start-section-heading start-section-heading-recommended" style="${window.launch_apps.recent.length > 0 ? 'padding-top: 30px;' : ''}">Recommended</h1>`;
-
+                apps_str += `<h1 class="start-section-heading start-section-heading-recommended" style="${window.launch_apps.recent.length > 0 ? 'padding-top: 30px;' : ''}">${i18n('recommended')}</h1>`;
                 // apps
                 apps_str += `<div class="launch-apps-recommended">`;
                 for (let index = 0; index < window.launch_apps.recommended.length; index++) {

+ 1 - 0
src/i18n/translations/en.js

@@ -180,6 +180,7 @@ const en = {
         puter_description: `Puter is a privacy-first personal cloud to keep all your files, apps, and games in one
         secure place, accessible from anywhere at any time.`,
         recent: "Recent",
+        recommended: "Recommended",
         recover_password: "Recover Password",
         refer_friends_c2a: "Get 1 GB for every friend who creates and confirms an account on Puter. Your friend will get 1 GB too!",
         refer_friends_social_media_c2a: `Get 1 GB of free storage on Puter.com!`,

+ 1 - 0
src/i18n/translations/ko.js

@@ -126,6 +126,7 @@ const ko = {
         publish: "게시",
         publish_as_website: '웹사이트로 게시',
         recent: "최근",
+        recommended: "추천",
         recover_password: "비밀번호 찾기",
         refer_friends_c2a: "Puter에서 계정을 생성하고 확인한 친구마다 1GB를 받으십시오. 친구도 1GB를 받게 됩니다!",
         refer_friends_social_media_c2a: `Puter.com에서 1GB의 무료 저장 공간을 받으십시오!`,