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

fix(v2): Fix Hebrew translations #4815

Merged
merged 2 commits into from
May 19, 2021
Merged

Conversation

nirtamir2
Copy link
Contributor

@nirtamir2 nirtamir2 commented May 18, 2021

Motivation

Following #4587 (comment) comment - This PR removes the Hebrew string for the number 2, and use it directly.
Example for English speakers:
Two posts => 2 posts
because "post" in Hebrew does not have a special form for two (unlike other Hebrew words like "day" יום / יומיים / ימים).

Also - after running it locally I fix other inconsistent translations I found.

image

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Test it locally

Related PRs

#4811

Change "2" form of plural type to not include 2 number in hebrew
@facebook-github-bot
Copy link
Contributor

Hi @nirtamir2!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@nirtamir2 nirtamir2 changed the title fix: fix Hebrew translation fix(v2): fix Hebrew translation May 18, 2021
@netlify
Copy link

netlify bot commented May 18, 2021

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 71
🟢 Accessibility 96
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-4815--docusaurus-2.netlify.app/

Copy link
Contributor Author

@nirtamir2 nirtamir2 left a comment

Choose a reason for hiding this comment

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

I added explainations for changes

@@ -24,13 +24,13 @@
"theme.blog.paginator.newerEntries": "הכי חדש",
"theme.blog.paginator.olderEntries": "ישן יותר",
"theme.blog.post.paginator.navAriaLabel": "רשימת חדשות של הבלוג",
"theme.blog.post.paginator.newerPost": "הכי חדש",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fix from "The newest"

Comment on lines +4 to +5
"theme.CodeBlock.copy": "העתק",
"theme.CodeBlock.copyButtonAriaLabel": "העתק קוד",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change from "to copy" to "copy" (in a form like "do copy" command)

"theme.blog.tagTitle": "{nPosts} עם התג \"{tagName}\"",
"theme.common.editThisPage": "לערוך דף",
"theme.common.editThisPage": "ערוך דף זה",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

"to edit page" => "edit this page" (in a form of command)

Comment on lines 42 to +44
"theme.docs.sidebar.expandButtonTitle": "פתח",
"theme.docs.sidebar.responsiveCloseButtonLabel": "לסגור תפריט",
"theme.docs.sidebar.responsiveOpenButtonLabel": "לפתוח תפריט",
"theme.docs.sidebar.responsiveCloseButtonLabel": "סגור תפריט",
"theme.docs.sidebar.responsiveOpenButtonLabel": "פתח תפריט",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change from the action to open/top close to the command open / close

"theme.docs.versions.latestVersionLinkLabel": "גרסא אחרונה",
"theme.docs.versions.latestVersionSuggestionLabel": "לדוקומנטאציה עדכנית, ראה {latestVersionLink} ({versionLabel}).",
"theme.docs.versions.unmaintainedVersionLabel": "דוקומנטאציה זו {siteTitle} {versionLabel}, כבר לא נתמכת.",
"theme.docs.versions.unreleasedVersionLabel": "דוקומנטאציה שעדיין לא יצאה לאוויר ל {siteTitle} {versionLabel} גרסא.",
"theme.lastUpdated.atDate": " בתאריך {date}",
"theme.lastUpdated.byUser": " על ידי {user}",
"theme.lastUpdated.lastUpdatedAtBy": "שונה{atDate}{byUser}",
"theme.lastUpdated.lastUpdatedAtBy": "עודכן{atDate}{byUser}",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Use more appropriate word:
Change => Update

@netlify
Copy link

netlify bot commented May 18, 2021

@nirtamir2 nirtamir2 changed the title fix(v2): fix Hebrew translation fix(v2): Fix Hebrew translation May 18, 2021
@nirtamir2 nirtamir2 changed the title fix(v2): Fix Hebrew translation fix(v2): Fix Hebrew translations May 18, 2021
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label May 18, 2021
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label May 19, 2021
@slorber
Copy link
Collaborator

slorber commented May 19, 2021

Thanks !

It's not like I'm able to review the changes, so let's merge 😅

@slorber slorber merged commit 2cd9fd6 into facebook:master May 19, 2021
@nirtamir2 nirtamir2 deleted the nirtamir2-patch-1 branch May 19, 2021 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants