Mihai PLESA
5e3fab6f71
fixed transifex python code style issue ( #7709 )
2021-01-26 23:27:25 +00:00
mkarolin
c98adee8ec
Apply our FP when using chromium XTB files.
...
Always use FP from our GRD(P) files when pulling localized strings from
Chromium XTB files.
2020-12-12 11:29:05 -05:00
mkarolin
e8defd5034
Do not apply branding to the meaning attr of GRD strings.
...
We do not upload this attr to Transifex and it affects FP calculation,
so there's no need to touch it.
2020-12-12 11:29:04 -05:00
Mihai PLESA
d48a5bb3c8
various fixes for issues reported by sonar
2020-12-07 14:53:59 +00:00
mkarolin
8534015ec9
Fixes transifex script bug.
...
Fixes incorrect calculation of `rel` attribute value which resulted in
duplication of noreferrer noopener value in the attribute.
2020-12-04 10:45:37 -05:00
mkarolin
89836196eb
Fixes error formatting in Transifex script.
2020-12-03 17:24:30 -05:00
Brian R. Bondy
55ceacb194
Fix l10n scripts for ethereum-remote-client
2020-11-30 14:22:09 -05:00
Emerick Rogul
7c7ab92b84
Add extension_path argument to push/pull scripts for local extension path
2020-11-23 17:14:02 -05:00
Emerick Rogul
312194cc0e
Add l10n support for Greaselion scripts
2020-11-23 11:33:41 -05:00
mkarolin
37981ecdb5
Added b1 and b2 as acceptable tags to Transifex script.
2020-11-06 18:39:52 -05:00
mkarolin
502b572121
Fixes bad formatting in transifex.py.
...
Fixes brave/brave-browser#11972
2020-10-02 12:35:46 -04:00
mkarolin
9793213305
Modified Transifex and Chromium strings rebase scripts.
...
Changed the rebase script to automatically fix <a> links with
target="_blank" to also have rel="noopener noreferrer".
Modified transifex script to:
* Fix <a> links when pulling translations from local Chromium .xtb
files.
* Validate embedded HTML tags in strings against an allow list
when uploading .grd(p) files to transifex.
* Do the same when downloading strings from Transifex.
* Completely strip all content from <ph> tags in .xtb files like
Chromium does when pulling from Transifex.
2020-10-01 20:14:40 -04:00
Simon Hong
279728357e
Use Brave sync chain instead of Brave Account
2020-08-04 10:30:32 +09:00
Brian R. Bondy
db0e526ee1
Fix fingerprints for changed meaning and desc attributes too
2020-07-22 15:05:49 -04:00
Brian R. Bondy
246ab2a9b1
Be more lenient with localized strings from Transifex
2020-07-21 13:37:40 -04:00
Brian R. Bondy
2f081f8061
Make npm run pull_l10n idempotent
2020-07-20 13:16:06 -04:00
Mihai PLESA
661aa389a7
Merge pull request #6017 from brave/mplesa-omaha-upload-delta
...
added upload for delta installers
2020-07-08 18:34:59 +01:00
Mihai PLESA
8df08b33a5
added upload for delta installers
2020-07-07 22:12:24 +01:00
Brian R. Bondy
b2d970a76f
Replace localizer double escaping
...
This is a common mistake that some but not all localizers make
since Transifex displays our source string files double escaped
2020-07-07 16:47:57 -04:00
Brian R. Bondy
11d3f306ce
Avoid trying to remove a node twice
2020-07-07 16:47:57 -04:00
mkarolin
656c90b45d
Fixes formatting in transifex script.
...
Fixes brave/brave-browser#10578
2020-07-06 17:28:24 -04:00
Brian R. Bondy
e73a59851b
Remove dupe ids if they occur
...
Because of the replacements we do, like Google -> Brave, and Chrome -> Brave, it's possible to have dupe strings. This ensures that dupes don't show up
2020-07-06 16:34:48 -04:00
Brian R. Bondy
31b1416605
Recombine override files into xtb files in py
2020-07-03 15:26:23 -04:00
Brian R. Bondy
b3a42e1bc8
No more need to check for missing Chromium strings
...
This commit also includes code to update old FPs before the branding replacement to new FPs
2020-07-03 15:26:23 -04:00
Brian R. Bondy
5779f6ccc9
Preserve file elements which point to xtb in override grds
...
This is so that it's more compatible with existing functions in
transifex.py
2020-07-03 15:26:23 -04:00
Brian R. Bondy
4e0553ddca
Generate override files for strings we override
2020-07-03 15:26:23 -04:00
Brian R. Bondy
ab1a1852e0
Pull from Local xtbs when possible
...
...instead of using Transifex
These string slugs are no longer pushed nor pulled from Transifex:
brave_strings
components_brave_strings
components_strings
generated_resources
android_chrome_strings
2020-07-03 15:26:23 -04:00
Mihai PLESA
7333e90392
Merge pull request #5980 from brave/mplesa-omaha-sparkle-release-notes-html
...
fix sparkle release notes html
2020-07-01 13:05:51 +01:00
Mihai PLESA
44b8226028
added full channels to omaha upload
2020-06-30 19:27:54 +01:00
Mihai PLESA
7bb3ec0654
fixed sparkle release notes html
2020-06-30 19:25:12 +01:00
mkarolin
bc83a8e7af
Added handling of sr-Latn to transifex script.
...
Transifex doesn't have sr-Latn, instead it uses sr-BA@latin.
Added string replacements to switch those two for upload and download.
2020-06-08 21:24:29 -04:00
Brian Clifton
b61f32c03c
Merge pull request #5519 from brave/issues/9415
...
Use correct CHANGELOG URL in release notes
2020-05-11 23:48:43 -07:00
Brian Clifton
8f0d817548
Fix for pep8 violation
...
Fixes https://github.com/brave/brave-browser/issues/9732
2020-05-11 22:47:48 -07:00
Matt Bacchi
5e2e0d3397
Use correct CHANGELOG URL in release notes
...
Resolves: https://github.com/brave/brave-browser/issues/9415
2020-05-11 17:45:48 -06:00
Matt Bacchi
73f5afcbd0
Correct query parameter opening character
...
Originally the query string was started with
the access_token, when I removed that the
ampersand remained at the beginning of the page
parameter.
2020-05-05 11:35:24 -06:00
Matt Bacchi
2b03c56593
Replace URL query parameter authentication with Authentication header
...
Github is deprecating the query parameter authentication style.
Resolves: https://github.com/brave/devops/issues/2507
2020-05-01 15:32:20 -06:00
mkarolin
c314b9d6eb
Removed accidentally committed debug code.
...
Fixes brave/brave-browser#9462
Accidental commit in PR #5350
2020-04-25 01:34:58 -04:00
mkarolin
c52a577c5e
Fixes Transifex script.
...
Fixes get_fingerprint_for_xtb in situations when message_tag.text ends
up being None.
2020-04-24 17:10:19 -04:00
Brian Clifton
908616711a
Updates which should remove dev as a channel for the uplift script
2020-03-10 09:45:28 -07:00
Matt Bacchi
52adaaa51b
Fix changelog parsing when encountering inline code
...
Fixes: https://github.com/brave/brave-browser/issues/8133
2020-02-11 15:14:45 -07:00
mkarolin
17c75bddbe
Fixed Android strings path in Transifex script.
2020-01-29 07:43:57 -05:00
Mihai Plesa
411c60a87e
added more tests to github upload
2020-01-15 19:13:40 +00:00
Mihai Plesa
6743b96be0
fixed github upload
2020-01-15 16:01:47 +00:00
Mihai Plesa
e95a569e4a
added github upload for android apks
2020-01-15 11:20:26 +00:00
SergeyZhukovsky
97e711e8f5
Correct translations with placeholders on Android
2020-01-13 16:54:40 -05:00
Matt Bacchi
af9f2f989a
Update release notes formatting
...
Fixes: https://github.com/brave/brave-browser/issues/7502
2019-12-20 09:13:45 -07:00
mkarolin
1e593b5f32
Fix android_chrome_strings XTBs
...
Fixes brave/brave-browser#7378
- Updated transifex.py with the missing mapping of
android_chrome_strings which is needed to upload existing
translations to Transifex.
- Deleted existing XTB files under brave, pushed to Transifex
so that the existing translations were uploaded.
- Ran npm run delete_string_translations for strings containing
incorrect translations of private -> incognito. The corrected
translations will be ordered separately.
- Pulled translations from Transifex which resulted in the changes in
XTBs in this commit.
- Lint fixes in transifex.py
2019-12-13 17:09:42 -05:00
mkarolin
0523f4a57b
Fixes transifex script error.
...
Fixes brave/brave-browser#7310
Accounts for translateable=false attribute in the original strings
in chromium_strings.grd that's been dropped in the corresponding
brave_strings.grd.
2019-12-12 15:56:14 -05:00
Mihai Plesa
a728e5499b
removed checksum upload
2019-12-06 10:32:52 +00:00
Jocelyn Liu
d79d5ee0d8
Skip translateable="false" messages in grd files
2019-12-03 11:28:28 +08:00