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
Prateeksha Singh
c19893e5bc
feat(module_links): add dummy indicators
2019-02-06 17:07:13 +05:30
Prateeksha Singh
34fd318c25
refactor(desk_icon): remove patches and references to desk icons
2019-02-06 17:07:13 +05:30
rohitwaghchaure
22fe10148a
[Fix] Translation not working for the html data ( #6647 )
...
* [Fix] Translation not working for the html data
* Test cases
* Fixed codacy
* Fixed is html method
* Fixed test cases
2018-12-24 15:17:38 +05:30
Ameya Shenoy
b42a87746a
Merge branch 'master' into staging-fixes
2018-10-19 12:42:37 +00:00
rohitwaghchaure
97ec70b83e
[Fix] Setup wizard timeout error ( #6270 )
2018-10-18 12:29:46 +05:30
Rushabh Mehta
22934b4e8c
fix(translate): #5906 via CodeTriage
2018-08-30 10:27:52 +05:30
Prateeksha Singh
2b672d2ee7
Add Vue Support ( #6025 )
...
* [frappe][build] Add Vue
* chore(rollup): add node_modules path for all apps
- also remove rollup-plugin-alias
* feat: Add EventEmitter
Usage:
```
frappe.utils.make_event_emitter(obj);
obj.trigger('event');
obj.on('event', fn);
```
* chore: Update rollup
* fix: add comment_when to frappe.datetime
* feat: Add img-loading class
* feat: Add .vue files for translation extraction
* [frappe][build] Add Vue
* chore(rollup): add node_modules path for all apps
- also remove rollup-plugin-alias
* feat: Add EventEmitter
Usage:
```
frappe.utils.make_event_emitter(obj);
obj.trigger('event');
obj.on('event', fn);
```
* chore: Update rollup
* fix: add comment_when to frappe.datetime
* feat: Add img-loading class
2018-08-29 12:03:27 +05:30
Fisher Yu
e7ddbb7c5e
[bug fix] Label in dashboard.html not translated ( #5859 )
...
* Update translate.py
New label introduced via dashboard html template file can not be translated, because the logic to fetch to be translated label for the doctype does not include dashboard.html
* Update translate.py
2018-07-24 17:00:05 +05:30
Nabin Hait
8d0b3e1828
multiple minor fixes ( #5756 )
2018-07-01 16:40:18 +05:30
Faris Ansari
22875422dc
read_csv both 2 and 3 compatible
2018-03-08 17:25:56 +05:30
Faris Ansari
e581be9fa8
Add translation support for DocFields ( #5002 )
...
* Initial changes for Translation
* Merged translate app into frappe core
* Minor typo fix
* Fixes while syncing translations
* Set defaults
* Fixes on setup
* Improve Code Quality
* Could Code Quality be Improved?
* Small code tweaks
* Minor typo fix
* Addition of Translatable Property
* Small fixes for Codacy Comments
* Simplify code
* Show translations in grid
* Remove enabled from Language
* Revert render_template logic
* typo
* Cleanup unused methods
* move patch to erpnext
* fix codacy
* Update patches.txt
* Update patches.txt
2018-02-16 15:12:12 +05:30
Zarrar
1f1cd101cc
remove print statements ( #4650 )
2017-12-18 17:44:10 +05:30
Manas Solanki
520bfc2ae4
New data import ( #4601 )
...
* created/moved the files
* added the model for the downloading the data
* add the file with the error data
* changes added other changes and fix codacy
* changes in the config and utils files
* fixed the test cases
* minor changes in the data keys dict
* changed the test file location
* fixed the tests
* set the route in the list view and show only erors
* minor fixes in the childtable import and log tables rendering
* Refactor Download dialog to use MultiCheck
2017-12-15 12:17:24 +05:30
Aditya Hase
943f548c1e
Use 'key' keyword argument with list.sort
2017-09-27 01:08:07 +05:30
Aditya Hase
52c7b04932
Use next(iter) instead of iter.next()
2017-09-27 01:08:07 +05:30
mbauskar
8eaf1c3e15
[hotfix] fixes for UnicodeDecodeError while import translation
2017-08-31 13:21:00 +05:30
Aditya Hase
769338f136
Replaced all instances of basestring with six.string_types
2017-08-11 00:10:11 +05:30
Aditya Hase
e6bd1e4995
Replaced all instances of 'unicode' with 'six.text_type' ( #3825 )
2017-08-02 16:57:39 +05:30
tundebabzy
bbde2ec4cf
rewrite use of dict.iteritems ( #3498 )
...
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
2017-06-19 09:10:21 +05:30
tundebabzy
7b41d7e5eb
Python 3 compatible print statements ( #3199 )
...
* changes print statements in file to python 3 compatible style using `__future__`
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* changes deprecated md5 module to hashlib
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
2017-05-01 12:34:29 +05:30
Rushabh Mehta
a7f63eb381
[minor] fixes for frappe/erpnext#8347
2017-04-14 16:10:53 +05:30
Nabin Hait
46423117b8
Fixed merge conflict
2017-03-08 11:15:10 +05:30
Yaqin Shurrab
0239b24ca0
making code simpler as @mmoksh suggessted
2017-03-06 10:03:28 +02:00
Yaqin Shurrab
81f11d12a2
resolve conflict
2017-03-05 13:59:57 +02:00
Yaqin Shurrab
ff85aa9319
Fix error in applied changes causes The Travis CI build fail
2017-03-05 13:37:28 +02:00
Yaqin Shurrab
6c40d4313b
Fix error in applied changes causes The Travis CI build fail
2017-03-05 13:29:23 +02:00
Yaqin Shurrab
c6f3350bae
resolve conflict, apply reviewer changes
2017-03-05 12:54:39 +02:00
Yaqin Shurrab
8d06587d49
Update as the reviewer asked for changes
2017-03-05 12:52:38 +02:00
Rushabh Mehta
5001e92ff9
Update translate.py
2017-03-05 11:19:49 +05:30
Yaqin Shurrab
c28880eb27
Translate the msg in _ function according to the passed lang, support multiple language in frappe.cash()
2017-02-27 23:22:34 +02:00
khatrijitendra
114c18c581
[Fix] Add Print Format Name Translation ( #2742 )
2017-02-22 14:55:00 +05:30
Rushabh Mehta
3c4ffb2e19
[minor] lanugage code is redundant ( #2479 )
2016-12-22 11:29:09 +05:30
Rushabh Mehta
7bc7e3bc63
Upgrade Font Awesome ( #2410 )
...
* Font-Awesome V3.x to V4.x
Font-Awesome V3.x to V4.x
* Font Tidy
Font Tidy
* FA4 Upgrade - Html Js & Json
FA4 Upgrade - Html Js & Json
* Minor
Minor
2016-12-05 13:07:03 +05:30
paurosello
fe5a516673
Fix error missing fields on fixtures ( #2378 )
...
Only name is currently taken from DB, other fields are mandatory to generate translations:
File "/Users/pau/frappe-bench/env/lib/python2.7/site-packages/frappe/translate.py", line 407, in get_messages_from_custom_fields
if cf['fieldtype'] == 'Selection' and cf.get('options'):
KeyError: u'fieldtype'
2016-11-28 12:35:47 +05:30
Rushabh Mehta
612d612b7e
[hot] fix bug that caused session crashing when cache was full
2016-11-14 17:22:08 +05:30
Rushabh Mehta
e585e9c38b
[minor]
2016-10-09 15:18:17 +05:30
Rushabh Mehta
ef3412b9cb
[enhance] set doctype label via Customize Form frappe/frappe#2019 ( #2061 )
...
* [enhance] set doctype label via Customize Form frappe/erpnext#2019
* Update customize_form.py
2016-09-20 11:20:46 +05:30
akshay83
14b8e5cee4
[fix] workflow message ( #2056 )
2016-09-19 13:08:36 +05:30
Rushabh Mehta
ed63eb9719
[fix] language test for derivative languages
2016-08-31 21:51:56 +05:30
Rushabh Mehta
5073369344
[languages] fix code for zh, zh-TW
2016-08-25 15:01:01 +05:30
Rushabh Mehta
cdac8794b9
[fix] [test] [translation]
2016-08-24 14:39:57 +05:30
Rushabh Mehta
8a32adcaf8
[command] bench setup-help will make the help db
2016-08-23 17:53:38 +05:30
Rushabh Mehta
f30a6b8360
[refactor] Language is now a doctype ( #2003 )
2016-08-23 16:38:03 +05:30
Rushabh Mehta
863aebcc78
[fixes] for translation and save full url for 404
2016-07-25 11:01:28 +05:30
Maxwell Morais
68fa6cd9d0
Enable translation of Capitalized Keywords
...
The regex checkin only lower letters, dont allow the translation of things like
- VAT
- NPV
- IRR
- PV
- PMT
2016-04-26 14:27:36 -03:00
Rushabh Mehta
b902d1e8cc
[enhancements] now can {% include %} in page js files and also write jinja like tags in js templates
2016-04-21 19:00:07 +05:30
Maxwell Morais
2d02d3e91b
Small improvement in translations
...
Move the method to `get_messages_from_workflow` from `get_messages_for_app` to inside `get_messages_from_doctype` to get workflow translations reflected in Js
2016-04-12 21:23:29 -03:00
Nabin Hait
1de94a22ef
Merge pull request #1686 from anandpdoshi/fix/get-lang-code
...
[fix] use get_lang_code in auth.py to evaluate _lang
2016-04-11 17:08:44 +05:30