Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

[bug 1267266] Rename locale dirs with dashes to use underscores. #1

Merged
merged 1 commit into from May 2, 2016

Conversation

Osmose
Copy link
Collaborator

@Osmose Osmose commented Apr 29, 2016

@mathjazz @flodolo r?

I found while investigated bug 1267266 that Input doesn't load translations from locale directories that use a - in them instead of a _. This change renames all the directories that still have - in them.

Pontoon should be able to handle this fine, it looks for both variants when locating resource files. I'm not sure if other tooling we have will break, hence the PR and request for review. Thanks!

@flodolo
Copy link
Contributor

flodolo commented Apr 29, 2016

Webstatus is the only other tool involved and should be OK with _, but I'm pretty sure Matjaz needs to manually fix stuff in the DB to maintain attributions.

@mathjazz
Copy link
Collaborator

This should just work in Pontoon.

r+

@Osmose Osmose merged commit 74ec893 into mozilla-l10n:master May 2, 2016
@Osmose Osmose deleted the rename-locale-dirs branch May 2, 2016 17:36
@Osmose
Copy link
Collaborator Author

Osmose commented May 2, 2016

Thanks, seems to have worked fine on the Input side of things. :D

@mathjazz
Copy link
Collaborator

mathjazz commented May 2, 2016

Pontoon also synced and everything seems fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants