Просмотр исходного кода

chore: replace hard-coded text with existed i18n key

situ2001 3 лет назад
Родитель
Сommit
0a4b67d49d

+ 1 - 1
src/main/frontend/components/header.cljs

@@ -118,7 +118,7 @@
         :icon (ui/icon "brand-discord")}
        
        {:title [:div.flex-row.flex.justify-between.items-center
-                [:span "Bug report"]]
+                [:span (t :help/bug)]]
         :options {:href bug-report-url
                   :title "Fire a bug report on Github"
                   :target "_blank"}

+ 1 - 1
src/main/frontend/components/settings.cljs

@@ -453,7 +453,7 @@
    [:div.mt-1.sm:mt-0.sm:col-span-2
     [:div
      (ui/button
-       "Settings"
+       (t :settings)
        :class "text-sm p-1"
        :style {:margin-top "0px"}
        :on-click