Repository navigation
Update languages.py - #4377
Update languages.py#4377
Conversation
PT by @HelioGuilherme66 BT-br by @HelioGuilherme66 DE by @Snooz82 and @Noordsestern NL by @Heatzone87 @leeuwe CS by @MoreFamed PL by @bartek.hirsz TR by @yusufcanb UK by @dies ZN-cn by @nixuewei
pekkaklarck
left a comment
There was a problem hiding this comment.
There are syntax errors and some style violations in the code. We should also discuss about adding the full language name somewhere because language codes aren't too explicit.
| bdd_prefixes = {'Dado', 'Quando', 'Então', 'E', 'Mas'} | ||
|
|
||
| from robot.conf import Language | ||
| class PT-br(Language): |
There was a problem hiding this comment.
The import isn't needed and the PT-br class name is a syntax error. It should be changed to PtBr. Probably should update the script that generates this Python code as well.
There was a problem hiding this comment.
I opted for Pt-Br. Should that still be changed to PtBr or is the code updated?
|
There's been a few updates in the strings to translate. Therefore we're down to 4 languages (and Finnish) |
|
@pekkaklarck Finally resolved the conflicts! |
|
@leeuwe You tagged me, but I don't see polish there? It still needs some updates though (the translation) |
@bhirsz Yes, initially, Polish was done if I remember correctly, but after some changes it wasn't 100% translated and I left it out. I should've written explainatory commit messages. My bad. Please head over to Crowdin if you have a few minutes to complete Polish, and I'll add it back in |
HelioGuilherme66
left a comment
There was a problem hiding this comment.
class Pt-Br is wrong. It should be class PtBr
fixed wrongly named class Pt-Br -> PtBr
|
The description doesn't seem to match what's actually included. Most likely that's due to changes to settings that can be translated. Anyway, the PR actually adds these languages:
|
PT by @HelioGuilherme66
BT-br by @HelioGuilherme66
DE by @Snooz82 and @Noordsestern
NL by @pimjansen and @leeuwe
CS by @MoreFamed
PL by @bhirsz
TR by @yusufcanb
UK by @dies
ZN-cn by @nixuewei