-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
useMove + pokemon affix localization #1276
Conversation
Could you please make it so that both of them could be suffixes as well? German for example uses: "Glumanda (Wild)" instead of "Wildes Glumanda" (Wild is the "prefix"). Same with the foe one |
I've put |
As it's not at the beginning of a sentence in French, it's a suffix rather than a prefix, so there's no need to capitalize it. |
Yeah i saw that. So pokemonPrefix is either wildPrefix or foePrefix? Am i understanding this correctly? |
EDIT: I found some time to do a bigger rework and the problem is no longer present |
German translation. Source (Pokemon Scarlet)
|
Just quick update. I updated this again just now so it works even when the prefix is set to an empty string (which i assume is done for our own Pokemon?). Just added a space in the prefix itself but removed the one in the useMove string |
As "Wild" and "Foe" can be placed either before or after depending on the language (as demonstarted) my opinion is to rename it an "affix". Affix being a the dedicated (and more generalist) term to talk about any addition to a word, either placed before or after it, among others. Or you can also simply call it an adjective, as "wild" and "foe" are qualifiers of the Pokémon they refer to. Second opinon, i'd also suggest to add a line beark after "utilise" in the French sentence to put the name of the move below, as it is in English and French versions of older Pokémon games |
Has this issue been merged? |
Not yet. The creator of the issue has not adressed the latest comments or made changes suggestet. It is a "Draft". So we wait |
# Conflicts: # src/locales/en/battle.ts # src/locales/es/battle.ts # src/locales/it/battle.ts # src/locales/pt_BR/battle.ts # src/locales/zh_CN/battle.ts # src/messages.ts # src/phases.ts
Could you please provide screenshots of the german version? Would love to see if it looks correct |
Sorry this is a product of the delay in further review but since korean is now in locales can you please add that to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a few things to fix before we can approve
} | ||
|
||
export function getPokemonPrefix(pokemon: Pokemon): string { | ||
let prefix: string; | ||
export function getPokemonNameWithAffix(pokemon: Pokemon): string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add documentation for this and the above method, reference docs/comments.md
for a guide
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 👍🏻 (and korean)
src/locales/ko/battle.ts
Outdated
"wildPokemonWithAffix": "Wild {{pokemonName}}", | ||
"foePokemonWithAffix": "Foe {{pokemonName}}", | ||
"useMove": "{{pokemonNameWithAffix}} used {{moveName}}!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"wildPokemonWithAffix": "Wild {{pokemonName}}", | |
"foePokemonWithAffix": "Foe {{pokemonName}}", | |
"useMove": "{{pokemonNameWithAffix}} used {{moveName}}!" | |
"wildPokemonWithAffix": "야생 {{pokemonName}}", | |
"foePokemonWithAffix": "상대 {{pokemonName}}", | |
"useMove": "{{pokemonNameWithAffix}}의 {{moveName}}!" |
translated by the official translation(VIII, IX gen)
# Conflicts: # src/locales/de/battle.ts # src/locales/en/battle.ts # src/locales/es/battle.ts # src/locales/fr/battle.ts # src/locales/it/battle.ts # src/locales/pt_BR/battle.ts # src/locales/zh_CN/battle.ts # src/locales/zh_TW/battle.ts
# Conflicts: # src/locales/es/weather.ts
@laeticiapierre please resolve the merge conflicts |
# Conflicts: # src/locales/ko/weather.ts # src/locales/pt_BR/battle.ts
* useMove + pokemonPrefix localization * Rename prefix to affix + line break fr * getPokemonAffix to getPokemonNameWithAffix + remove space + replace * Better getPokemonNameWithAffix switch * Ko locale + fix es locale * Doc getPokemonNameWithAffix + getPokemonMessage + fix * Ko translate / missing weather changes * Fix conflicts getPokemonPrefix --------- Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
* useMove + pokemonPrefix localization * Rename prefix to affix + line break fr * getPokemonAffix to getPokemonNameWithAffix + remove space + replace * Better getPokemonNameWithAffix switch * Ko locale + fix es locale * Doc getPokemonNameWithAffix + getPokemonMessage + fix * Ko translate / missing weather changes * Fix conflicts getPokemonPrefix --------- Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
* useMove + pokemonPrefix localization * Rename prefix to affix + line break fr * getPokemonAffix to getPokemonNameWithAffix + remove space + replace * Better getPokemonNameWithAffix switch * Ko locale + fix es locale * Doc getPokemonNameWithAffix + getPokemonMessage + fix * Ko translate / missing weather changes * Fix conflicts getPokemonPrefix --------- Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
Issue #1274
EDIT 05/27:
ENG
FR