From 2bac8799c3de4b5800b862271fd30a33d0fad149 Mon Sep 17 00:00:00 2001 From: KV Date: Thu, 29 Feb 2024 22:04:09 +0100 Subject: [PATCH 1/3] ok --- project.janet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.janet b/project.janet index e454e84..a92a705 100644 --- a/project.janet +++ b/project.janet @@ -1,6 +1,6 @@ (declare-project :name "smw" - :author "Josef Pospíšil " + :author "Kundan Verma " :description "See my work" :license "MIT" :repo "https://git.sr.ht/~pepe/smw" From c324deb0ed246b20de9d0b63d482b8f97c4b03d9 Mon Sep 17 00:00:00 2001 From: KV Date: Thu, 29 Feb 2024 23:38:01 +0100 Subject: [PATCH 2/3] changed to native language(Hindi)! --- project.janet | 2 +- templates/app.temple | 6 +++--- templates/form.temple | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/project.janet b/project.janet index a92a705..98c4038 100644 --- a/project.janet +++ b/project.janet @@ -1,6 +1,6 @@ (declare-project :name "smw" - :author "Kundan Verma " + :author "Kundan Verma " :description "See my work" :license "MIT" :repo "https://git.sr.ht/~pepe/smw" diff --git a/templates/app.temple b/templates/app.temple index f7df2e7..3328685 100644 --- a/templates/app.temple +++ b/templates/app.temple @@ -1,7 +1,7 @@ - smw + एस एम डब्ल्यू @@ -13,12 +13,12 @@ {- (args :content) -} -
smw
+
एस एम डब्ल्यू
diff --git a/templates/form.temple b/templates/form.temple index 64640b8..7a1f8d5 100644 --- a/templates/form.temple +++ b/templates/form.temple @@ -1,7 +1,7 @@
-

{- (if (args :message) (args :message) "Vytvořte svojí prezentaci, prosím!") -}

+

{- (if (args :message) (args :message) "कृपया अपनी प्रस्तुति बनाएं!") -}

- +
From 5d05b3f012b696529326ab4cfae01d5e3c46b8c2 Mon Sep 17 00:00:00 2001 From: KV Date: Fri, 1 Mar 2024 00:01:48 +0100 Subject: [PATCH 3/3] Changed language to Hindi! --- app/init.janet | 8 ++++---- templates/navigation.temple | 4 ++-- templates/presentation.temple | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/init.janet b/app/init.janet index 62d5223..df683a4 100644 --- a/app/init.janet +++ b/app/init.janet @@ -82,12 +82,12 @@ [:main [:h1 (presentation :title)] [:section - [:h1 "Kapitoly"] + [:h1 "अध्याय"] (seq [chapter :in (presentation :chapters)] [:p [:h3 (chapter :title)] - [:span (length (chapter :slides)) " slajdy"]])] - [:nav {:class "f-row"} [:a {:href "/edit"} "editovat"] [:a {:href "/start"} "start"]]]) + [:span (length (chapter :slides)) " स्लाइड"]])] + [:nav {:class "f-row"} [:a {:href "/edit"} "संपादन करना"] [:a {:href "/start"} "start"]]]) # Handlers (defn /index @@ -110,7 +110,7 @@ [&] (define :view) (http/page app {:content (http/page form {:content (get-in view [:presentation :content]) - :message "Editace prezentace!"})})) + :message "प्रस्तुति संपादित करें!"})})) (defn /start "Start presentation" diff --git a/templates/navigation.temple b/templates/navigation.temple index b61fb5f..047d9cb 100644 --- a/templates/navigation.temple +++ b/templates/navigation.temple @@ -4,6 +4,6 @@ - kapitola: {{ (get-in args [:presentation :chapters (args :chapter) :title]) }} - slajd: {{ (inc (args :slide)) }} + अध्याय: {{ (get-in args [:presentation :chapters (args :chapter) :title]) }} + फिसलना: {{ (inc (args :slide)) }} diff --git a/templates/presentation.temple b/templates/presentation.temple index ed8c710..97cef70 100644 --- a/templates/presentation.temple +++ b/templates/presentation.temple @@ -12,8 +12,8 @@
- domů - restartovat + घर + पुनः आरंभ करें

{{ (get-in args [:presentation :title]) }}

{- (http/page navigation args) -}