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

Edit farsi translation and add 'words' #1290

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 10 additions & 5 deletions i18n/fa.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
- id: prev_page
translation: "صفحه قبلی"
translation: "صفحه قبل"

- id: next_page
translation: "صفحه بعدی"
translation: "صفحه بعد"

- id: read_time
translation:
one: "۱ دقیقه"
one : "1 دقیقه"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would you want to change this? I think it's better to keep using the Persian numbers.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now, it shows Persian numbers just for 1. For others, it shows English numbers. This makes for better compatibility.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hialisabet Okay, I didn't notice it. But then I think it'd make sense to change the plural forms to show the Persian numbers.

other: "{{ .Count }} دقیقه"

- id: words
translation:
one : "کلمه"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be "۱ کلمه" or "یک کلمه"?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you like, you could use "واژه" as well.

other: "{{ .Count }} کلمه"

- id: toc
translation: "فهرست مطالب"

- id: translations
translation: "ترجمه ها"
translation: "ترجمهها"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if you've changed the code or if I was confused before. Anyway, you're doing the right thing now.


- id: home
translation: "خانه"
Expand All @@ -25,4 +30,4 @@
translation: "کپی"

- id: code_copied
translation: "کپی شد!"
translation: "کپی شد!"