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

Adopt localized resources #82

Closed
wants to merge 3 commits into from
Closed

Adopt localized resources #82

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 18, 2022

As of issue #77 i localized package strings in a Resource Folder exactly as described in Apple documentation.

PS: while I was trying to sync the fork the initial PR was intentionally merged.

@@ -95,9 +95,9 @@ final class SettingsTabViewController: NSViewController, SettingsStyleController
} else {
let settings: String
if #available(macOS 13, *) {
settings = Localization[.settings]
settings = NSLocalizedString("settings", bundle: .module, comment: "")
Copy link
Owner

Choose a reason for hiding this comment

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

Still incorrect indentation.

Copy link
Author

Choose a reason for hiding this comment

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

are you using a different indentation configuration? to align, what are yours?!

indentation

Copy link
Owner

Choose a reason for hiding this comment

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

You are asking questions that you can simply check yourself. The existing indentation exists in all the source files.

@ShikiSuen
Copy link
Contributor

ShikiSuen commented Oct 18, 2022

Please use these modern lang tags for Chinese:

zh-Hans in lieu of zh-CN.
zh-Hant in lieu of zh-TW.
zh-Hant-HK in lieu of zh-HK.

@sindresorhus
Copy link
Owner

Closing for lack of activity. Going to leave this for someone else.

@DivineDominion
Copy link
Collaborator

@ShikiSuen Could you apply the changes you proposed and open a new PR?

@ShikiSuen
Copy link
Contributor

@DivineDominion I'll see whether I can find some time to do this in this month (Jan).

@ShikiSuen
Copy link
Contributor

@DivineDominion I'll do this after #90 gets merged, reducing possibilities of merging conflicts.

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.

None yet

3 participants