Skip to content

Adds Portuguese pt-pt translations. - #4396

Closed
HelioGuilherme66 wants to merge 1 commit into
robotframework:masterfrom
HelioGuilherme66:language_Pt
Closed

HelioGuilherme66 wants to merge 1 commit into
robotframework:masterfrom
HelioGuilherme66:language_Pt

Conversation

@HelioGuilherme66

Copy link
Copy Markdown
Member

Tests are failing because of three words values.

@pekkaklarck In the cases we have an article there will be three words, and seems the parser is not linking it ;)

I tried the pt-pt variant and it was not accepted. Will the pt-br be accepted, for the class PtBr?

Example:
Test Cases --> Cases of Test --> Casos de Teste

@HelioGuilherme66

Copy link
Copy Markdown
Member Author

I used Fedora 36 and Python 3.10.5.

@pekkaklarck

Copy link
Copy Markdown
Member

Could you test does using "Casos De Teste" work?

pekkaklarck added a commit that referenced this pull request Jul 13, 2022
Makes it possible to have translation like `Casos de Teste` instead of
requiring apparently improper `Casos De Teste`. See PR #4396.

Using the proper format in the original language definition makes it
possible for other tools to use that format as well.
@pekkaklarck

Copy link
Copy Markdown
Member

The problem with Casos de Teste was that it wasn't in title case. I changed to code so that also this format works.

PT is added by #4377 along with other languages so I'll close this PR. Need to think should we add tests for translations like this PR did, though.

@pekkaklarck

Copy link
Copy Markdown
Member

My fix above didn't actually fix the problem with headers, it fixed it only with setting names. Better fix coming soon. See #4411 for details.

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.

2 participants