This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import json | |
from urllib.parse import quote as urlquote | |
from urllib.request import urlopen | |
def main(): | |
query = """ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
This script is used to check top locales for Fenix in specific countries, | |
and try to find a best match in Pontoon locales. | |
It expects a CSV file stored as "android_data.csv" from this query | |
https://sql.telemetry.mozilla.org/queries/89302 | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
This script uses https://hg.mozilla.org/projects/comm-l10n/ repository to | |
create repositories with source strings only for Thunderbird and Seamonkey. | |
""" | |
import datetime | |
import os | |
import shutil | |
import subprocess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import argparse | |
from copy import deepcopy | |
import json | |
import os | |
from urllib.request import urlopen | |
def main(): | |
parser = argparse.ArgumentParser() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensionName": { | |
"message": "Firefox Translations", | |
"description": "Name of the extension. Do NOT translate, keep the name in English." | |
}, | |
"extensionDescription": { | |
"message": "Translate websites in your browser without using the cloud.", | |
"description": "Description of the extension." | |
}, | |
"loadingTranslationEngine": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
""" | |
Extract translations for a specific string ID in XLIFF file, and store them in | |
a local JSON file. | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
from urllib.request import urlopen | |
import argparse | |
import json | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(last update: 2022-08-26) | |
ClearGroupedTabsCancel (v100) | |
ClearGroupedTabsDelete (v100) | |
ClearGroupedTabsTitle (v100) | |
SearchBarPlacementForExistingUsers (v98) | |
Tools (v96) | |
Window (v96) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
""" | |
Check if Pontoon locales are missing in the repository for iOS projects. | |
""" | |
import argparse | |
import json | |
import sys | |
from urllib.parse import quote as urlquote |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import argparse | |
import io | |
import os | |
import markdown as md | |
from collections import defaultdict | |
from weasyprint import HTML | |
from pathlib import Path |