108 Commits

Author SHA1 Message Date
mdipierro eda8277fbd removed unwanted import that breaks python3.8 2019-11-02 20:09:47 -07:00
Leonel Câmara f307fe7d56 __lt__ and __gt__ for lazyT
Fixes #2228
2019-07-10 12:25:40 +01:00
Leonel Câmara 701b6e1ebd Fix b' in session.flash when storing a LazyT
probably Fixes #2110 as putting T('foo') in the session was the only way I could reproduce it
2019-03-04 17:11:04 +00:00
mdipierro c439355c1a removed duplicate function local_html_escape 2019-02-24 02:12:22 -08:00
mdipierro b58b7da18f validatos no longer depend on T 2019-02-24 01:51:18 -08:00
Vinyl Darkscratch f434ebec8a Update Python 3 compatibility 2019-02-09 00:01:11 -08:00
Ben Lawrence b23131b3d6 unicode() is not a standard python 3 function so using str() if python 3 test is true 2019-01-17 09:58:56 -08:00
Leonel Câmara 19c41b308d Update languages.py 2018-09-27 17:57:24 +01:00
Leonel Câmara f5638c8f6b Python 3 has no cmp function in sorted 2018-09-27 16:22:48 +01:00
Leonel Câmara 904ca403a2 Python 3 compatibility
Fixes #2024
2018-09-27 01:53:08 +01:00
mdipierro 4130f87c62 fixed languages.py py3 bug 2018-05-01 15:53:19 -05:00
mdipierro 3170c360aa improved docstring and comments in languages.py, thanks Paolo 2018-05-01 11:09:17 -05:00
tyrbonit 014ddf8248 Fix Pluralizaiton UnicodeDecodeError #1883 and #1808 2018-03-19 22:42:48 +09:00
ilvalle fa31a6b61b Added test for T used in HTML tags, fix language encode(), close #1856 2018-02-12 21:13:19 +01:00
ilvalle 44e27bf65f fix py3 languages decode added tests. close #1848, thanks @bjquinn 2018-02-09 20:46:00 +01:00
Дим Щ c7d415fefd compatible unicode 2017-10-28 19:32:48 +03:00
Leonel Câmara 912c22d593 Don't use gluon.utf8.Utf8 with py3 there's no need for it and it breaks stuff 2017-09-06 16:22:50 +01:00
Martin Doucha e7cab3b975 Add Auth and Crud messages when updating language files 2016-12-20 18:54:20 +01:00
Vinyl Darkscratch 90ee6f3754 Add three-quote support on markmin 2016-11-11 15:51:01 -08:00
Vinyl Darkscratch d51ea90e18 Code fix to allow adding markmin translations
Playing with this file made me realize that the quotes defining the
strings themselves are added to the regex searches, and that my
previous addition caused invalid syntax.  So, I decided to fix this by
placing the first quote before the markmin decorator.  (Triple quotes
won’t work, however…)
2016-11-11 15:49:28 -08:00
Vinyl Darkscratch 2140eced79 Fixing a consistency error when updating T.M() translations 2016-09-09 01:26:41 -07:00
Giovanni Barillari 0528a347b3 Updated pyDAL to 16.08 2016-08-13 15:38:55 +02:00
mdipierro 7440d38253 moved local_html_escape into utils, thanks Simone 2016-08-01 05:19:46 -05:00
mdipierro 2e0630c48c moved local_html_escape into utils, thanks Simone 2016-08-01 05:15:52 -05:00
mdipierro 4bb261ec15 fixed py3 import 2016-08-01 04:41:51 -05:00
mdipierro eebf406d97 fixed import error 2016-08-01 04:13:32 -05:00
mdipierro cc1ff02079 only one portalocker 2016-08-01 03:46:51 -05:00
mdipierro 35eaba1096 removed duplicated code, using pydal's _compat.py 2016-08-01 03:39:22 -05:00
ilvalle 2aeb063890 enabled test_appadmin, fix markmin2html, fix main.py 2016-06-15 20:17:58 +02:00
ilvalle 34f753be56 fix languages 2016-06-13 20:20:49 +02:00
ilvalle 7259516627 fix tools 2016-06-13 20:20:44 +02:00
ilvalle 1f013d76f3 minor few fix 2016-06-10 14:14:40 +02:00
ilvalle 71ba0e515f updated portalocker, few py3 syntax/import fix 2016-06-04 14:07:42 +02:00
ilvalle db8306b5c4 fix iteritems, enabled test_cache & test_dal for 3.5 2016-06-02 17:21:36 +02:00
ilvalle 707330accd Enabled 3.5 on travis 2016-06-02 16:06:49 +02:00
ilvalle a1fd92b7f8 updated imports in tests 2016-06-02 14:28:21 +02:00
ilvalle 01bab81432 manually adapt few imports 2016-06-01 20:16:30 +02:00
zvolsky b6ee82bbde script for language files update has new param to update existing translations 2016-04-25 11:06:02 +02:00
mdipierro 11da1ed19a fixed issue #1206, translate T.M 2016-03-19 13:02:45 -05:00
zvolsky cdac608efc new script to update untranslated messages from other language file 2016-03-10 09:48:04 +01:00
Hardirc f227397ccf Improve PEP8 gluon/languages.py 2015-03-06 22:08:50 -05:00
niphlod f1606ee091 added tests and refactored incorrect docstrings 2014-05-29 23:34:32 +02:00
viniciusban 1d7f96c06b Don't write translation file when T.is_writable == False 2014-03-17 04:04:59 -03:00
mdipierro 84365f6721 fixed problem with circular imputs on GAE? 2014-03-13 08:41:31 -05:00
niphlod c44cfcb27c sphinx-compatible docstrings 2014-03-11 22:18:33 +01:00
mdipierro 6cd2bf9fea better transliteration in slugs, thanks winniehell 2014-03-02 17:45:45 -06:00
mdipierro fa1c719c96 removed conflict from languages, thanks Niphlod 2013-12-01 10:00:05 -06:00
mdipierro 77b66d6015 fixed conflict 2013-11-30 16:50:31 -06:00
Fran Boon ad87d196e5 Enhance encoding header of languages/*.py 2013-11-29 12:07:36 +00:00
mdipierro d6a8a3d410 Espanol language patches, thanks Vladyslav Kozlovskyy 2013-11-11 09:40:57 -06:00