Skip to content

Update the network prefetch preference's default label #3780

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

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Update the network prefetch preference's default label #3780

merged 1 commit into from
Oct 7, 2022

Conversation

Mnpn
Copy link
Contributor

@Mnpn Mnpn commented Jun 3, 2022


Description:
The default value for this preference appears to have changed in 14f785b (iina/Preference.swift line 755), but the label wasn't updated, leading to a mismatch:

image

This PR updates the label's text, though translations may also need to be updated on Crowdin.

(This is a copy of #3658. The author appears to have deleted their fork, permanently closing the PR.)

@low-batt low-batt linked an issue Jun 3, 2022 that may be closed by this pull request
1 task
@low-batt
Copy link
Contributor

low-batt commented Jun 3, 2022

Thanks for posting this PR. I created an issue for it to give it more visibility.

I'm unsure about the IINA conventions on using Crowdin, but I think the convention on translations is to include the english translation in the commit and not include other translations to avoid merge conflicts with Crowdin. If I am correct about that then this line in the English version of PrefNetworkViewController.strings needs to be updated:

/* Class = "NSTextFieldCell"; title = "Default: 100"; ObjectID = "fab-7d-mMQ"; */
"fab-7d-mMQ.title" = "Default: 100";

See if others confirm that is the convention.

@uiryuu uiryuu merged commit aa8a62c into iina:develop Oct 7, 2022
@uiryuu
Copy link
Member

uiryuu commented Oct 7, 2022

Thanks for your PR; I'll change the en.lproj accordingly.

@Mnpn Mnpn deleted the prefetch-text branch October 7, 2022 09:17
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.

Seconds to prefetch displays wrong default value
3 participants