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

Translation fixes #7965

Merged
merged 8 commits into from
Apr 6, 2020
Merged

Translation fixes #7965

merged 8 commits into from
Apr 6, 2020

Conversation

Megamouse
Copy link
Contributor

No description provided.

case emu_settings::Renderer:
switch (static_cast<video_renderer>(index))
{
case video_renderer::null: return tr("Null");
Copy link
Member

Choose a reason for hiding this comment

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

There is already logic somewhere that converts "Null" to "Disable video output", can't it be merged into this function? Same goes for the other tr("Null")'s in this switch.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the useless string replacements.

Copy link
Member

@MSuih MSuih Apr 6, 2020

Choose a reason for hiding this comment

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

Any chance of naming the keyboard, microphone etc. null handlers to Disconnected (or something more fitting)? It's bit out of scope for this PR but it'd be more consistent and would save translations from trouble of coming up with a translation for the word Null.

@Megamouse Megamouse changed the title Make (most) combobox values in the settings translateable Translation fixes Apr 6, 2020
@Megamouse Megamouse merged commit 2bd4485 into RPCS3:master Apr 6, 2020
@Megamouse Megamouse deleted the kljhfjg branch April 6, 2020 19:20
@Megamouse Megamouse added the Localization Anything that involves translating the GUI label Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Localization Anything that involves translating the GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants