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

Add *_MONTH*, *_YEAR* to lang/time.txt #969

Merged
merged 11 commits into from Jul 1, 2021
Merged

Add *_MONTH*, *_YEAR* to lang/time.txt #969

merged 11 commits into from Jul 1, 2021

Conversation

wopox1337
Copy link
Contributor

@wopox1337 wopox1337 commented Jun 23, 2021

resolves #968

[en]
TIME_ELEMENT_MONTH = month
TIME_ELEMENT_MONTHS = months
TIME_ELEMENT_YEAR = year
TIME_ELEMENT_YEARS = years

A request to those who have looked at this page. Please add translations in other languages (google translate does not look good). Indicate your translations in the comments. Thanks for understanding! 🙂

P.S: I hope this update will be included in AMXX 1.9.0 (not only in AMXX 1.10.0)

@regener
Copy link
Contributor

regener commented Jun 23, 2021

[hu]
TIME_ELEMENT_MONTH = hónap
TIME_ELEMENT_MONTHS = hónapok
TIME_ELEMENT_YEAR = év
TIME_ELEMENT_YEARS = évek

@wopox1337 wopox1337 changed the title Add *_MONTH*, *_YEAR* to lang/time.txt [WIP] Add *_MONTH*, *_YEAR* to lang/time.txt Jun 23, 2021
@AdamRichard21st
Copy link
Contributor

[bp]
TIME_ELEMENT_MONTH = mês
TIME_ELEMENT_MONTHS = meses
TIME_ELEMENT_YEAR = ano
TIME_ELEMENT_YEARS = anos

@wopox1337 wopox1337 changed the title [WIP] Add *_MONTH*, *_YEAR* to lang/time.txt Add *_MONTH*, *_YEAR* to lang/time.txt Jun 24, 2021
@wopox1337
Copy link
Contributor Author

All that remains is to add ALL other translations into other languages. I suppose it is okay if some are missing from the beginning since the basic [EN] will be taken.

Or maybe it makes sense to translate everything via Google Translate (with minor translation errors, of course).

I would like to point out that there is a plural, singular, nominative problem, but that does not apply to this PR. (Maybe someday someone will have time to make a PR fixing this behavior)

enum _:
{
    Plural,
    Singular,
    Nominative
};


stock get_numerical_noun_form(iNum)
{
    if (iNum > 10 && ((iNum % 100) / 10) == 1)
        return Plural;                   

    switch (iNum % 10)
    {
        case 1: return Nominative;       
        case 2, 3, 4: return Singular;   
    }

    return Plural;                       
}

plugins/lang/time.txt Outdated Show resolved Hide resolved
plugins/lang/time.txt Outdated Show resolved Hide resolved
@einyux
Copy link

einyux commented Jun 24, 2021

[fr]
TIME_ELEMENT_MONTH = mois
TIME_ELEMENT_MONTHS = mois
TIME_ELEMENT_YEAR = année
TIME_ELEMENT_YEARS = années

And you can update too:
TIME_ELEMENT_PERMANENTLY = à vie (permanent)

@wopox1337
Copy link
Contributor Author

@Arkshine What else is required for this PR to be accepted?

@FEDERICOMB96
Copy link
Contributor

[es]
TIME_ELEMENT_MONTH = mes
TIME_ELEMENT_MONTHS = meses
TIME_ELEMENT_YEAR = año
TIME_ELEMENT_YEARS = años

@Arkshine Arkshine merged commit 2e5e3ce into alliedmodders:master Jul 1, 2021
@TibyXD
Copy link
Contributor

TibyXD commented Jul 2, 2021

[RO]

TIME_ELEMENT_DAYS = zile
TIME_ELEMENT_WEEK = săptămână
TIME_ELEMENT_WEEKS = săptămâni
TIME_ELEMENT_MONTH = lună
TIME_ELEMENT_MONTHS = luni
TIME_ELEMENT_YEAR = an
TIME_ELEMENT_YEARS = ani
TIME_ELEMENT_PERMANENTLY = permanent
TIME_ELEMENT_AND = și

@wopox1337 wopox1337 deleted the add-new-time-langs branch July 6, 2021 13:18
@wopox1337 wopox1337 restored the add-new-time-langs branch July 6, 2021 13:18
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.

[Request] Add *_MONTH*, *_YEAR* to lang/time.txt
9 participants