Bug 1733918 [wpt PR 31091] - [WebTransport] Make some cleanup changes for WPTs, a...
[gecko.git] / toolkit / locales / gen_multilocale.py
blob14e8c80cb241150d1d672365e1c8fd1fe739aac4
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 from __future__ import print_function, unicode_literals
7 import sys
10 def main(output, *locales):
11 locales = list(locales)
12 if "en-US" not in locales:
13 locales.append("en-US")
15 print(",".join(locales), file=output)
18 if __name__ == "__main__":
19 main(sys.stdout, *sys.argv[1:])