Aleksey Khoroshilov
43eaee3eb8
Use -mx7 by default for 7z archives.
2022-11-07 12:54:30 +07:00
Aleksey Khoroshilov
dbc7d28167
Archive native symbols to 7z.
2022-11-07 12:54:25 +07:00
Aleksey Khoroshilov
9f6ead6b57
Merge pull request #15355 from brave/issues/25517
...
Add chromium PRESUBMIT configuration support.
2022-10-28 21:41:50 +07:00
mkarolin
9f783023be
Fixes regex patter for verifying ICU plural syntax strings.
2022-10-24 21:24:16 -04:00
Aleksey Khoroshilov
00da57f2da
Add chromium PRESUBMIT configuration support.
2022-10-18 21:58:09 +07:00
Aleksey Khoroshilov
b587f7ef36
Update override_utils imports.
2022-09-05 13:50:55 +07:00
Aleksey Khoroshilov
a6660a0c1d
Move files to brave/script.
2022-09-05 13:31:02 +07:00
mkarolin
03cbcb0ff7
Fixes replacement of Chromium -> Brave in XTBs in Hindi/Nepali.
2022-08-30 18:13:44 -04:00
mkarolin
529d1a5e53
Add more fixes for commonly misformatted Transifex strings.
2022-08-26 11:35:44 -04:00
mkarolin
c12af148bd
Do not replace ChromeVox in strings.
2022-08-23 00:19:33 -04:00
Aleksey Khoroshilov
231ee9bc5e
Make inline and override helpers usable more widely.
2022-08-17 19:42:50 +07:00
Max
369976146c
Merge pull request #14325 from brave/maxk-transifex-upload-translations
...
Transition to using brave_en Tansifex project
2022-07-27 16:18:24 -04:00
mkarolin
6f2513adc2
[l10n] Account for incorrect IRD_ string prefix in Chromium.
2022-07-25 15:54:58 -04:00
mkarolin
2b66a65ff3
[l10n] Remove etherium-remote-client related code.
...
We don't use their l10n any more.
2022-07-25 15:54:57 -04:00
mkarolin
138383237f
[l10n] Remove no longer needed .message suffix for extension strings.
2022-07-25 15:54:57 -04:00
mkarolin
7b76aa4933
[l10n] Switch to using brave_en project in Transifex.
2022-07-25 15:53:07 -04:00
mkarolin
e37dfc25c2
[l10n] Allow uploading local translations to Transifex.
2022-07-25 15:53:01 -04:00
Ahmed Kamal
aff9e8432c
Uplift scripts py2 and py3 compatibility ( #14182 )
...
* Initial port
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* some fixes for pylint
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* some pylint fixes
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
2022-07-25 09:44:42 -05:00
Aleksey Khoroshilov
aff6d0ca19
Enable python format check by default.
2022-06-20 17:30:25 +07:00
Aleksey Khoroshilov
189ce9a0ec
Add more comments to presubmit overrides.
2022-06-20 17:30:25 +07:00
Aleksey Khoroshilov
ffd10a5576
Add support for upstream presubmit logic on npm run lint.
2022-06-20 17:30:24 +07:00
Max
a402246aad
Merge pull request #12503 from brave/cr101
...
Upgrade from Chromium 100 to Chromium 101.
2022-04-15 21:50:54 -04:00
Mihai PLESA
ebb3f149ea
removed the need for brave-browser repo ( #13006 )
2022-04-15 17:47:43 -05:00
mkarolin
5df4ec2908
Do not replace ChromeOS in strings.
2022-04-15 18:26:05 -04:00
mkarolin
3cc426651a
Updated transifex script to use utf-8 with http response
2022-03-29 17:08:31 -04:00
Emerick Rogul
4ebf607193
Fix overly-aggressive string replacements and update scripts
2022-03-18 20:04:16 -04:00
Emerick Rogul
d35abb8427
Fix Google Lens branding
2022-03-07 23:13:23 -07:00
mkarolin
6a92c95c66
Transifex: implement an option for Transifex API V3.
2022-02-08 22:00:16 -05:00
mkarolin
f2be80fc91
Transifex: Add an option to dump downloaded content into a file.
2022-02-08 22:00:15 -05:00
mkarolin
9811e58f1f
Transifex: Pull json files in alphabetical order of the languages.
2022-02-08 22:00:15 -05:00
mkarolin
06612d35ee
Transifex: Delete override XTBs after they are used.
2022-02-08 22:00:14 -05:00
mkarolin
b21293f55e
Transifex: modularize and migrate to python3
2022-02-08 22:00:13 -05:00
mkarolin
4f09c03d5c
Use python3 to invoke l10n scripts.
2022-02-01 21:13:43 -05:00
Aleksey Khoroshilov
14ee2bab1c
Fix python2 empty stdout.encoding case in util.py.
2022-01-20 18:42:00 +07:00
Aleksey Khoroshilov
619abd2606
Replace unsupported characters to have working stdout print.
2022-01-19 00:40:20 +07:00
Mikhail
db8b8dc860
Update crash reporting settings strings ( #11360 )
...
* Update crash reporting settings strings
* clang format
* Fix type
2022-01-03 21:07:37 +07:00
Mihai PLESA
740fc8d33f
moved npm config to b-c ( #11114 )
2021-11-29 16:59:48 -05:00
Mihai PLESA
49874507d1
fixed line lengths to 80 and do autopep8
2021-10-29 17:54:41 -05:00
mkarolin
80acfb578a
Addresses pylint issues with script/lib/util.py
2021-09-29 13:03:48 -04:00
mkarolin
4839c25933
Fixes Windows build errors during transpile_web_ui.
...
The errors are of the type:
---------------------
[21902/44128] ACTION //brave/components/brave_wallet_ui/page:brave_wallet_page_ui(//build/toolchain/win:win_clang_x64)
Exception in thread Thread-2:
Traceback (most recent call last):
File "c:\brave-browser\src\brave\vendor\depot_tools\bootstrap-2@3_8_10_chromium_20_bin\python3\bin\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "c:\brave-browser\src\brave\vendor\depot_tools\bootstrap-2@3_8_10_chromium_20_bin\python3\bin\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "c:\brave-browser\src\brave\vendor\depot_tools\bootstrap-2@3_8_10_chromium_20_bin\python3\bin\lib\subprocess.py", line 1370, in _readerthread
buffer.append(fh.read())
File "c:\brave-browser\src\brave\vendor\depot_tools\bootstrap-2@3_8_10_chromium_20_bin\python3\bin\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 180: character maps to <undefined>
---------------------
Started showing up after transitioning to using python3.
2021-09-29 12:50:04 -04:00
mkarolin
4507cf6e53
Fixes pylint errors/warnings.
2021-08-18 11:00:00 -04:00
Pete Miller
13cf21c13e
l10n: do not append rel="noopener noreferrer" to anchor elements in strings
...
'rel' is a disallowed attribute for translated strings as per ui/webui/resources/js/parse_html_subset.js
2021-08-18 10:59:56 -04:00
Anton Lazarev
da9fc3fce8
remove brave_project_name in favor of brave_product_name
2021-07-27 07:31:34 -07:00
Pete Miller
0449319edf
Fix formatting for python subprocess errors in brave build tasks, e.g. web-ui webpack compile
...
This is apparently only compatible with Python 3.5+ and not backwards compatible
2021-07-20 11:54:38 -07:00
Mihai PLESA
dd268ba51d
removed some unused python scripts ( #8543 )
...
* removed some unused python scripts
* more cleanup
2021-04-15 16:31:56 +01:00
mkarolin
2e4e93fef3
Modified Transifex script to check formatting on plural strings.
...
Checks that translation of strings in ICU plural format, similar to:
{ xxx, plural,
=x {}
other {}
}
is preserved in the translation strings.
Also fixed some pylint formatting indignations.
2021-04-13 16:18:16 -04:00
mkarolin
3c2bfbdd26
Minor adjustments to transifex script.
...
- Added <li1> and <li2> to allowed tags
- Added replacing \\" with " in addition to already replacing \"
2021-04-09 15:10:42 -04:00
Anton Lazarev
2ffc9bdc96
support building on both python 2 and 3
2021-04-08 14:00:06 -07:00
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