Skip to content

Fixes 1175897 - Send Tab not localized#642

Merged
st3fan merged 1 commit intomasterfrom
st3fan/Bug1175897SendTabLocalization
Jun 29, 2015
Merged

Fixes 1175897 - Send Tab not localized#642
st3fan merged 1 commit intomasterfrom
st3fan/Bug1175897SendTabLocalization

Conversation

@st3fan
Copy link
Contributor

@st3fan st3fan commented Jun 26, 2015

TL;DR The Send Tab action title is now correctly localized when presented in the system-provided Share sheet.

This patch fixes a couple of things:

  • We never correctly converted Info.plist sections in the XLIFF to a .strings file. They would end up in the project as XX.lproj/Info.plist, which is wrong. They are now written to XX.lproj/InfoPlist.strings so that the strings are correctly picked up by iOS.
  • The xliff-cleanup.py script was broken and I think it never correctly processed Info.plist sections anyway.
  • The l10n scripts normally ignore the CFBundleDisplayName but we now make an exception if that key is found in Extensions/SendTo/Info.plist

This patch also makes sure the NSLocationWhenInUseUsageDescription key is output to Client/XX.lproj/InfoPlist.strings. I don't think it correctly worked before.

st3fan added a commit that referenced this pull request Jun 29, 2015
…tion

Fixes 1175897 - Send Tab not localized
@st3fan st3fan merged commit 20859d0 into master Jun 29, 2015
@farhanpatel farhanpatel deleted the st3fan/Bug1175897SendTabLocalization branch October 6, 2016 07:02
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.

1 participant