Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localization #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/ninja_i18n.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: Ninja i18n action

on: pull_request_target

# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
permissions:
pull-requests: write # Necessary to comment on PRs
issues: read # Necessary to read issue comments
contents: read # Necessary to access the repo content

jobs:
ninja-i18n:
name: Ninja i18n - GitHub Lint Action
runs-on: ubuntu-latest

steps:
- name: Run Ninja i18n
# @main ensures that the latest version of the action is used
uses: opral/ninja-i18n-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

15 changes: 8 additions & 7 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"recommendations": [
"antfu.iconify",
"svelte.svelte-vscode",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint"
]
}
"recommendations": [
"antfu.iconify",
"svelte.svelte-vscode",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"inlang.vs-code-extension"
]
}
3 changes: 3 additions & 0 deletions messages/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format"
}
64 changes: 64 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"speaker_icon": "Speaker icon",
"collapsible_less": "less",
"collapsible_more": "...more",
"logo_alt": "Linku's logo",
"languages_icon": "Languages icon",
"mobile_toggle_menu": "Toggle Menu",
"home_link_label": "Home",
"fonts_link_label": "Fonts",
"sandbox_link_label": "Sandbox",
"about_link_label": "About",
"moon_icon": "Moon icon",
"sun_icon": "Sun icon",
"toggle_theme": "Toggle theme",
"go_home": "Go Home",
"did_you_mean": "Did you mean:",
"error_heading": "Error {code}",
"scroll_to_top": "Scroll to Top",
"see_also": "See also:",
"usage_percentage_label": "{usageScore}% of toki pona speakers will recognize this word",
"usage_percentage": "{usageScore}%",
"sitelen_sitelen_alt": "{word} in sitelen sitelen format",
"share_word": "Share word",
"copy_url": "Copy URL",
"meaning": "Meaning",
"common_definition": "Common Definition",
"ku_definitions": "ku definitions",
"ku_definitions_tooltip": "Each ku definition is assigned a frequency index from ½ to 5, which describes how commonly it was translated that way in the toki pona community, according to a survey.",
"pu_definition": "pu definition",
"usage": "Usage",
"ucsur_codepoint": "UCSUR Codepoint",
"more_info": "More Info",
"commentary": "Commentary",
"origin": "Origin",
"created_by": "Created by:",
"coined_in": "Coined in:",
"usage_data": "Usage Data",
"usage_data_category": "Category:",
"usage_data_usage": "Usage:",
"usage_data_book": "Book:",
"see_also_info": "See also",
"usage_trend": "Usage Trend",
"search_options": "Search Options",
"settings_icon": "Settings icon",
"search_placeholder": "o alasa e nimi",
"show_etymologies": "Show Etymologies",
"only_show_favorites": "Only Show Favorites",
"copy_permalink": "Copy Permalink",
"reset_options": "Reset Options",
"submit_search": "Submit search",
"categories_icon": "Categories icon",
"usage_categories_filter": "Usage Categories",
"display_settings": "Display Settings",
"sandbox_disclosure_1": "The _sandbox_ is a collection of proposed words which are **$not actively in use$**.",
"sandbox_disclosure_2": "If you are a learner, **$please stick to the main dictionary$** - these words will not help you speak the language.",
"sandbox_disclosure_3": "Some of these words are of value to the **community** as a piece of culture - essentially memes.",
"sandbox_disclosure_4": "Some reflect early drafts of $Toki Pona$. A lot are one-off jokes, created and abandoned immediately.",
"font_search": "Font Search",
"font_display_settings": "Font Display Settings",
"only_show_ucsur": "Only Show UCSUR Fonts",
"font_loading": "Loading...",
"font_failed": "The font failed to load."
}
3 changes: 3 additions & 0 deletions messages/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format"
}
3 changes: 3 additions & 0 deletions messages/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format"
}
63 changes: 63 additions & 0 deletions messages/he.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"speaker_icon": "אייקון רמקול",
"collapsible_less": "פחות",
"collapsible_more": "...יותר",
"logo_alt": "הלוגו של לינקו",
"languages_icon": "אייקון שפות",
"mobile_toggle_menu": "החלף תפריט",
"home_link_label": "בית",
"fonts_link_label": "גופנים",
"sandbox_link_label": "מעבדה",
"about_link_label": "עלינו",
"moon_icon": "אייקון ירח",
"sun_icon": "אייקון שמש",
"toggle_theme": "החלף ערכת נושא",
"go_home": "הביתה",
"did_you_mean": "האם התכוונת:",
"error_heading": "שגיאה {code}",
"scroll_to_top": "לגלול מעלה",
"see_also": "ראו גם:",
"usage_percentage": "{usageScore}%",
"sitelen_sitelen_alt": "{word} בפורמט sitelen sitelen",
"share_word": "שיתוף מילה",
"copy_url": "העתקת כתובת",
"meaning": "משמעות",
"common_definition": "הגדרה נפוצה",
"ku_definitions": "הגדרות ku",
"ku_definitions_tooltip": "לכל הגדרת ku משוייך מדד תדירות מ½ עד 5, המתאר את השכיחות בה קהילת טוקי פונה תרגמה את המילה כך, לפי סקר.",
"pu_definition": "הגדרת pu",
"usage": "שימוש",
"ucsur_codepoint": "נקודת קוד UCSUR",
"more_info": "עוד מידע",
"commentary": "הערה",
"origin": "מקור",
"created_by": "נוצר על ידי:",
"coined_in": "נטבע ב:",
"usage_data": "מידע שימוש",
"usage_data_category": "קטגוריה:",
"usage_data_usage": "שימוש:",
"usage_data_book": "ספר:",
"see_also_info": "ראו גם",
"usage_trend": "מגמת שימוש",
"search_options": "הגדרות חיפוש",
"settings_icon": "אייקון הגדרות",
"search_placeholder": "חיפוש מילה",
"show_etymologies": "הצגת מקורות מילים",
"only_show_favorites": "להראות רק מילים מועדפות",
"copy_permalink": "להעתיק קישור קבוע",
"reset_options": "לאפס הגדרות",
"submit_search": "לשלוח חיפוש",
"categories_icon": "אייקון קטגוריות",
"usage_categories_filter": "קטגוריות שימוש",
"display_settings": "הגדרות תצוגה",
"sandbox_disclosure_1": "ה_מעבדה_ היא אוסף של מילים מוצעות ש**$אינן כרגע בשימוש פעיל$**.",
"sandbox_disclosure_2": "אם אתם עדיין לומדים, **$אנא דבקו למילון הראשי$** - המילים האלו לא יעזרו לכם לדבר את השפה.",
"sandbox_disclosure_3": "חלק מהמילים האלה בעלות ערך ל**קהילה** בתור נכס תרבות - למעשה בדיחות.",
"sandbox_disclosure_4": "חלק מהן משקפות טיוטות מוקדמות של $טוקי פונה$. הרבה מהן הן בדיחות חד־פעמיות, שנוצרו ומיד ננטשו.",
"font_search": "חיפוש גופן",
"font_display_settings": "הגדרות תצוגת גופנים",
"only_show_ucsur": "להראות רק גופני UCSUR",
"font_loading": "נטען...",
"font_failed": "טעינת הגופן נכשלה."
}
3 changes: 3 additions & 0 deletions messages/tok.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format"
}
42 changes: 22 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,41 +14,43 @@
},
"devDependencies": {
"@formkit/auto-animate": "^0.8.2",
"@iconify/json": "^2.2.238",
"@kulupu-linku/sona": "^0.3.5",
"@iconify/json": "^2.2.253",
"@inlang/paraglide-js": "1.11.2",
"@inlang/paraglide-sveltekit": "0.11.0",
"@kulupu-linku/sona": "^0.3.7",
"@sveltejs/adapter-cloudflare": "^4.7.2",
"@sveltejs/kit": "^2.5.22",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@sveltejs/kit": "^2.6.0",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@types/d3-scale": "^4.0.8",
"@vite-pwa/assets-generator": "^0.2.4",
"@vite-pwa/sveltekit": "^0.6.0",
"@vite-pwa/assets-generator": "^0.2.6",
"@vite-pwa/sveltekit": "^0.6.5",
"bits-ui": "0.21.15",
"chart.js": "^4.4.3",
"chart.js": "^4.4.4",
"clsx": "^2.1.1",
"d3-scale": "^4.0.2",
"fastest-levenshtein": "^1.0.16",
"layerchart": "^0.44.0",
"lightningcss": "^1.26.0",
"layerchart": "^0.51.2",
"lightningcss": "^1.27.0",
"mode-watcher": "^0.4.1",
"postcss-nesting": "^13.0.0",
"postcss-preset-env": "^10.0.2",
"postcss-preset-env": "^10.0.5",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"prettier-plugin-tailwindcss": "^0.6.6",
"prettier-plugin-svelte": "^3.2.7",
"prettier-plugin-tailwindcss": "^0.6.8",
"sharp": "^0.33.5",
"sharp-ico": "^0.1.5",
"svelte": "^4.2.18",
"svelte-check": "^4.0.0",
"svelte": "^4.2.19",
"svelte-check": "^4.0.3",
"svelte-intersection-observer": "^1.0.0",
"svelte-persisted-store": "^0.11.0",
"tailwind-merge": "^2.5.2",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.10",
"tslib": "^2.6.3",
"typescript": "^5.5.4",
"unplugin-icons": "^0.19.2",
"vite": "^5.4.1",
"vite-plugin-pwa": "^0.20.1",
"tailwindcss": "^3.4.13",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"unplugin-icons": "^0.19.3",
"vite": "^5.4.8",
"vite-plugin-pwa": "^0.20.5",
"workbox-window": "^7.1.0"
},
"type": "module",
Expand Down
Loading