Sagar Vora
710bc1a5bf
fix(setup): do not show messsage when exception is handled
...
(cherry picked from commit ac9fe71733 )
2021-05-04 05:26:34 +00:00
Suraj Shetty
cd6ff896a8
fix: Resolve conflicts
2021-05-03 13:54:12 +05:30
barredterra
dfa8c18248
fix: add context to filter columns
...
(cherry picked from commit 6250c4ac9d )
# Conflicts:
# frappe/translate.py
2021-05-03 08:20:02 +00:00
barredterra
806f2c87db
fix: translate report filter labels
...
(cherry picked from commit bf4a73c3d4 )
# Conflicts:
# frappe/translate.py
2021-05-03 08:20:02 +00:00
barredterra
bc758b3f69
fix: translate report column labels
...
(cherry picked from commit f84aee8abe )
# Conflicts:
# frappe/translate.py
2021-05-03 08:20:01 +00:00
barredterra
66b7b7b5f7
fix: translate report filter labels
...
(cherry picked from commit bf4a73c3d4 )
2021-05-03 06:54:00 +00:00
barredterra
8bc1a3aab0
fix: translate report column labels
...
(cherry picked from commit f84aee8abe )
2021-05-03 06:54:00 +00:00
Suraj Shetty
1f91cbda26
fix: build-message-files command ( #12950 )
2021-04-27 14:56:12 +05:30
Suraj Shetty
bb4c01fe9a
fix(query): Use single quotes for string constant ( #12948 )
2021-04-27 14:56:12 +05:30
Faris Ansari
c7418b08d3
fix: Ignore non utf-8 files for translation scan ( #12935 )
2021-04-27 14:54:37 +05:30
Suraj Shetty
83ee74c074
fix: Typo in get_all_language_with_name ( #12902 )
2021-04-27 14:54:33 +05:30
thebachy1
a373c00abd
fix: Load server translations in boot
2021-04-14 12:39:46 -05:00
Suraj Shetty
df0578d248
feat: Show language switcher for guest users on navbar
2021-04-07 18:18:15 +05:30
Aditya Hase
a708ba4b94
perf: Remove Jinja from import tree
2021-02-20 21:18:01 +05:30
Suraj Shetty
7a80a321f5
fix: Rename Desk Shortcut to Workspace Shortcut
2021-02-01 12:01:07 +05:30
Fisher Yu
2b01fb091f
fix: Translation related issues ( #11932 )
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-02-01 11:06:49 +05:30
Tim Gates
f54ec2ba11
docs: fix simple typo, transaltion -> translation ( #12136 )
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-01-05 17:18:09 +05:30
Javier Lopez
7c814e7a7f
fix: csv file opening options
...
This is in line with the api changes
1. http://python3porting.com/problems.html#csv-api-changes
2. https://docs.python.org/3/library/csv.html#id3
2020-10-26 16:26:49 -05:00
Javier López
ec5851abf7
fix: wrong type when writing with csv writer
...
Unlike the get_untranslated function, in which the file is opened and
written with the `write()` function, here the `csv.writer()` is used,
causing errors when writing encoded strings. Therefore we remove the
encoding step (The csv writer will take care of it) and we also not open
the file with binary mode.
2020-10-26 15:42:38 -05:00
Suraj Shetty
1acba0250c
fix(translations): Always apply user translations ( #11767 )
2020-10-24 11:46:33 +05:30
Abhishek Balam
e32cbaf44a
fix: change file open write mode to match write function input string mode
2020-10-03 12:56:05 +05:30
Shivam Mishra
9b267027b5
feat: don't load user translation in make_dict_from_messages ( #11120 )
2020-08-04 13:25:49 +05:30
Suraj Shetty
dcf83b8645
fix: Update translation_map with user translation
...
- Even while returning from cache
2020-05-26 23:03:59 +05:30
Suraj Shetty
55bdc08ddb
fix(translation): Do not share user translations
2020-05-26 19:23:03 +05:30
Suraj Shetty
981da526f9
fix: Contextual translation key generation
2020-05-04 22:27:06 +05:30
Suraj Shetty
afe31ac7c0
style: Fix few deepsource issues
2020-05-03 19:31:20 +05:30
Faris Ansari
406ed10349
fix: Show status for contributed translations
2020-04-27 23:50:19 +05:30
Suraj Shetty
3ce08b3e72
fix: Duplicate file scan
2020-04-07 15:33:02 +05:30
Suraj Shetty
db41acf496
refactor: Get translator_url for hooks
2020-04-07 12:45:07 +05:30
Suraj Shetty
7b4e2ce728
fix: KeyError while session start
2020-04-07 12:34:23 +05:30
Suraj Shetty
313e198923
fix: Translation tool UI
...
- Show local translation
- Remove add contribution button (instead stage on change)
2020-03-12 16:50:59 +05:30
Suraj Shetty
c6789019ea
refactor: Update Translation table
...
- Rename target_name -> translated_text
- Rename source_name -> source_text
- Rename contributed_translation_doctype_name -> contribution_docname
- Add contribute field
- Add patch to move data to new columns
2020-03-12 15:45:38 +05:30
Suraj Shetty
a1364df339
refactor: Translation tool UI
2020-03-11 14:53:16 +05:30
Suraj Shetty
b41e46c791
fix: Update translation tool UI
...
- Remove path from source string list
- Get contribution list separately
- Request changes with source message ID
2020-03-10 20:55:14 +05:30
Suraj Shetty
31e50f1186
fix: Make translation expecting no path in CSV file
2020-03-07 22:50:38 +05:30
Suraj Shetty
61527df241
fix: Translation creation API
...
- Remove unwanted code
2020-03-07 22:43:39 +05:30
Suraj Shetty
364f7e4337
fix(translation): Change api
2020-03-04 12:37:30 +05:30
Suraj Shetty
46e23d5846
fix: Consider context while getting translation_map
2020-03-03 01:49:13 +05:30
Suraj Shetty
09f728b25c
fix: Do not concat context while returning message
...
That can be done while creating translated message dict
2020-02-27 10:46:50 +05:30
Suraj Shetty
ab88fd6493
refactor: Code cleanup
2020-02-25 23:55:57 +05:30
Suraj Shetty
d704fd6117
feat: Add context to translation doctype
2020-02-21 11:42:44 +05:30
Suraj Shetty
66b4be47c8
feat: Implement source text search feature
2020-01-31 08:33:58 +05:30
Suraj Shetty
47329ccf53
feat: Translation tool [wip]
...
- Remove translation portal page
Co-authored-by: Faris Ansari <netchamp.faris@gmail.com>
2020-01-31 08:24:46 +05:30
Suraj Shetty
7b9e7f97aa
feat: Init translator portal page
2020-01-29 17:29:44 +05:30
Suraj Shetty
fb5aaa3d2d
fix(translation): Extract messages from JS and PY using same regex
2020-01-28 12:10:56 +05:30
Suraj Shetty
de6760b275
fix(translation): Update regex to extract context
2020-01-28 10:28:47 +05:30
Faris Ansari
e2bc9c479f
fix(translations): Extract messages from .vue files ( #8403 )
2019-09-13 12:42:04 +05:30
marination
3323b10f7e
fix: Update user translations on booting
2019-08-29 16:14:19 +05:30
Saurabh
3fde67d308
fix: remove line numbers from source messages
2019-05-30 12:26:48 +05:30
Saurabh
f3471fe5f9
fix: Handle file not found exception while extracting messages ( #7574 )
2019-05-29 10:12:39 +05:30