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

Update bracket_test.py | Check auf fehlende global.ini #651

Merged
merged 8 commits into from
Feb 22, 2025

Conversation

rjcncpt
Copy link
Owner

@rjcncpt rjcncpt commented Feb 10, 2025

Wenn keine global.ini vorhanden ist, soll der Test übersprungen werden.

Wenn keine global.ini vorhanden ist, soll der Test übersprungen werden.
@rjcncpt rjcncpt added Verbesserung Verbesserung einer bestehenden Übersetzung Prüfbar Wenn im PR keine Änderungen mehr gepusht werden Automatisierung labels Feb 10, 2025
@rjcncpt rjcncpt self-assigned this Feb 10, 2025
Copy link
Collaborator

@MaxM1211 MaxM1211 left a comment

Choose a reason for hiding this comment

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

Sieht in Ordnung aus, das mit den Key, kann ich mir nachher vlt anschauen

@MaxM1211
Copy link
Collaborator

@rjcncpt
Ist überarbeitet, gerne auch den Output mal anschauen

@greluc
Wenn du morgen früh dann schon dran bist kannst hier auch noch kurz drüber schauen ;-)

Danke euch :-) Und einen schönen Start ins Wochenende

@MaxM1211 MaxM1211 requested a review from greluc February 21, 2025 19:36
@MaxM1211 MaxM1211 dismissed their stale review February 21, 2025 19:37

I fucked it up myself

greluc
greluc previously approved these changes Feb 22, 2025
Copy link
Collaborator

@greluc greluc left a comment

Choose a reason for hiding this comment

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

Abgesehen von zwei Fragen zu Kommentaren: LGTM

"ea_ui_player_count_bracket_right",
"input_key_keyboard_leftParenthesis,P",
"input_key_keyboard_rightParenthesis,P",
"hurston_intro_desc", # Aufzählung
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wofür ist der Kommentar?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Damit wir wissen warum es ignoriert wird.



def check_brackets(filename, excluded):
"""
:param filename: The name of the file to check for bracket matching.
:param excluded: A list of line numbers to exclude from checking.
:param excluded: A list of keys to exclude from checking.
:return: None

The check_brackets method reads the contents of the given file and checks for matching brackets. It skips the lines specified in the 'excluded' parameter. If any mismatched or unclosed
Copy link
Collaborator

Choose a reason for hiding this comment

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

Kommentar noch ggf. anpassen, dass es "lines skipped" deren keys ausgeschlossen sind.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Done

@greluc greluc added Geprüft Wenn der PR durchgesehen wurde and removed Prüfbar Wenn im PR keine Änderungen mehr gepusht werden labels Feb 22, 2025
@MaxM1211
Copy link
Collaborator

@rjcncpt Wenn das gemerged ist kannst dann die fehlerhaften Zeilen anpassen, sodass es wieder alles passt ;-) Das passt ja nicht zu diesem PR

Copy link
Collaborator

@greluc greluc left a comment

Choose a reason for hiding this comment

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

LGTM

@MaxM1211 MaxM1211 merged commit 23ae540 into main Feb 22, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automatisierung Geprüft Wenn der PR durchgesehen wurde Verbesserung Verbesserung einer bestehenden Übersetzung
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants