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

[locale] Fix Serbian locale (sr, sr-cyrl) #5742

Merged
merged 4 commits into from
Oct 8, 2020

Conversation

dusansimic
Copy link
Contributor

This fixes some login and grammatical errors in Serbian locales (sr, sr-cyrl) and their tests.

Two major problems were logic for getting grammatical cases. It was flawed because it didn't consider special cases for multi-digit numbers, just for single digit special cases.

Along with this, some grammar fixes were made because of different writing of nouns in different tenses (past and future) alongside those without tense (without prefix). Here is some info about that on Wiki. If that's not enough, I'll try to find something that has specific rules about that but I think it's better that other locale contributors look over this.

The tests are adapted to check for new grammar and logic fixes.

This fixes the grammatical case logic which overlooked some special
cases in Serbain language. Also this fixes some grammatical errors
concerning cases in Serbian language.
This updates the tests so they will test the new grammar.
@jsf-clabot
Copy link

jsf-clabot commented Oct 2, 2020

CLA assistant check
All committers have signed the CLA.

@marwahaha
Copy link
Member

approval @crnjakovic ?

@scrnjakovic
Copy link
Contributor

I'd have to take a look at this later, I'm at work atm. @marwahaha

src/locale/sr-cyrl.js Outdated Show resolved Hide resolved
Copy link
Contributor

@scrnjakovic scrnjakovic left a comment

Choose a reason for hiding this comment

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

Please correct script mixup in Cyrillic version. Other than that, it looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants