[gimp-web-devel/pat/bootstrap] i18n: add a localization folder at project root.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web-devel/pat/bootstrap] i18n: add a localization folder at project root.
- Date: Tue, 6 Sep 2022 10:48:05 +0000 (UTC)
commit da68cddf94e3c7ed29c34a5346988dae3c4a0dd2
Author: Jehan <jehan girinstud io>
Date: Tue Sep 6 12:45:45 2022 +0200
i18n: add a localization folder at project root.
As per Hugo docs: "Translations are collected from the
themes/<THEME>/i18n/ folder (built into the theme), as well as
translations present in i18n/ at the root of your project."
See: https://gohugo.io/content-management/multilingual/
Since the theme is a git submodule, we can't touch it, so adding a
project wide i18n/ folder. The first change in there is:
> - id: copyrightEntity
> translation: "GIMP team"
i18n/en.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/i18n/en.yaml b/i18n/en.yaml
new file mode 100644
index 0000000..cca3b1e
--- /dev/null
+++ b/i18n/en.yaml
@@ -0,0 +1,17 @@
+- id: translations
+ translation: "Translations"
+
+- id: copyright
+ translation: "Copyright"
+
+- id: copyrightEntity
+ translation: "GIMP team"
+
+- id: search
+ translation: "Search"
+
+- id: results
+ translation: "Results"
+
+- id: current
+ translation: "(Current)"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]