Граф коммитов

102 Коммитов

Автор SHA1 Сообщение Дата
Jeff Balogh fb1c6fecf8 don't display null translated fields (bug 652276) 2011-04-29 13:19:15 -07:00
Matt Claypotch a64b356318 use new locale removal api (bug 648341) 2011-04-22 17:18:34 -07:00
Jeff Balogh 5a0e931bf6 wrap |clean'd strings with Markup (bug 649923) 2011-04-14 11:31:59 -07:00
Jeff Balogh f6274003f7 adding a test for the clean template function (bug 649228) 2011-04-11 22:12:32 -07:00
Jeff Balogh 1fbb832d77 clean strings on blocklist pages 2011-04-11 16:35:49 -07:00
Gregory Koberger a4ed2ac6c0 Upgrade bleach (bug 638666) 2011-03-08 15:11:21 -08:00
Gregory Koberger f5b06a78a8 Fix spacing bug, clean up and add tests 2011-02-28 15:57:42 -08:00
Gregory Koberger f9d8328ad2 Clean up newlines so they work with nl2br. (bug 609164) 2011-02-22 17:31:31 -08:00
Jeff Balogh 073af1b4a6 Revert "automatically escape Translations in __unicode__ (bug 619743)"
This reverts commit fd2c934b2a.
2011-02-14 11:17:17 -08:00
Jeff Balogh fd2c934b2a automatically escape Translations in __unicode__ (bug 619743) 2011-02-14 08:52:32 -08:00
Jeff Balogh 63dab582c0 add TransMulti.choices so the admin does not crash 2011-02-11 10:34:31 -08:00
Kumar McMillan 9834990363 Only delete the translation if it exists (bug 624852) 2011-01-11 17:24:30 -06:00
Matt Claypotch 9bb6f25591 Bug 623793, l10n error bonanza 2011-01-10 22:05:25 -08:00
Jeff Balogh 0698024b65 Translation can inherit from amo.ModelBase now 2011-01-10 18:28:33 -08:00
Jeff Balogh a89099b108 make sure we really render a Translation (bug 624053) 2011-01-10 18:28:33 -08:00
Dave Dash 271ec833f3 Edit description looks pretty until editted. 2011-01-06 15:21:37 -08:00
Jeff Balogh eed79b8c37 watch out for None values (bug 622724) 2011-01-05 13:36:24 -08:00
Jeff Balogh ab4aae0811 drop an initial widget for trans fields (bug 622883) 2011-01-05 11:34:58 -08:00
Gregory Koberger 66309d1b4b Bug 510046 - Don't allow blank add-on names 2010-12-31 01:50:56 -05:00
Jeff Balogh 5686aca26a only save translations when the add-on gets saved 2010-12-27 12:33:07 -05:00
Jeff Balogh cc00fbd051 this old transbox is dead 2010-12-16 16:37:28 -08:00
Jeff Balogh 34af8f3849 scary warnings 2010-12-16 16:37:28 -08:00
Jeff Balogh 84c8ed46cc use a template inside all_locales 2010-12-16 16:37:27 -08:00
Matt Claypotch e32513bcf6 escaping locales in l10n ui 2010-12-16 11:39:44 -08:00
Jeff Balogh eaa9bbf5f2 make sure we're passing a unicode string to do_truncate (bug 619267) 2010-12-15 08:51:49 -08:00
Jeff Balogh b8de2aa55a setting translations to None during creation was broken 2010-12-14 17:24:42 -08:00
Jeff Balogh fb5a340b97 only 4 rows for summary (bug 618976) 2010-12-13 21:36:01 -08:00
Matt Claypotch 89a42a24f6 Bug 615412, read-only l10n fields 2010-12-09 17:05:15 -08:00
Jeff Balogh c39156ca2c get the l10n menu working in read mode 2010-12-09 17:05:14 -08:00
Gregory Koberger aa90821569 <ul> element was never closed 2010-12-07 15:11:05 -08:00
Gregory Koberger c436c9b46d Bug 614025 - [Edit page] "Support Information" section is missing input fields 2010-12-03 14:40:26 -08:00
Jeff Balogh 0b64c44ae8 fixing changed_data checks for translations (bug 616058) 2010-12-02 15:36:50 -08:00
Andy McKay eebcc18d1b lower case en-US (bug 615703) 2010-12-02 09:31:24 -08:00
Gregory Koberger 33f0fd11f4 Bug 611504 - [Edit page] Some optional fields in /edit page "required" 2010-11-24 16:50:30 -08:00
Jeff Balogh 17aaa123f5 validation for crazy L10n fields 2010-11-17 15:02:24 -05:00
Matt Claypotch 1a200f6146 Expanded localization coverage 2010-11-17 15:02:24 -05:00
Jeff Balogh 9aeb8fc432 invalidate PurifiedTranslations properly (bug 612386) 2010-11-15 14:28:29 -08:00
Jeff Balogh 48233a7e61 look for names without locale suffixes 2010-11-03 13:18:08 -07:00
Matt Claypotch 02a77530ea Bug 602323, new localization UI 2010-11-03 02:42:04 -07:00
Jeff Balogh 0b5a5bdd4d translation MultiWidgets for the new L10n UI (bug 607170) 2010-11-03 02:34:49 -07:00
Matt Claypotch e6eabb946f Bug 601485, In ur stats, localizin ur strings. I blanked out contrbutions because it doesn't have data and the markup was wrong anyway. 2010-10-26 15:55:22 -07:00
Jeff Balogh 8e451cba1d only save locales we know about (bug 606712) 2010-10-26 09:39:05 -07:00
Jeff Balogh e3e479a425 a helper for deleting translations 2010-10-06 19:07:52 -07:00
Jeff Balogh 7be12df722 license editing (bug 592548) 2010-10-06 19:07:52 -07:00
Jeff Balogh 3d1c0d14dd tell django that translation relations are hidden 2010-10-06 19:05:30 -07:00
Jeff Balogh 1d3a1d4c76 save translations during object.pre_save
Previously translations were updated immediately on binding a string to an
object, which is unexpected and inconsistent with all other objects.  New
translation strings will still be created immediately, but there's not
much we can do about that since the translation_seq needs to be updated.
2010-10-06 19:04:53 -07:00
Jeff Balogh 6f2bab3681 move translation monkeypatching into __init__.py 2010-10-06 19:04:52 -07:00
Jeff Balogh 249e4129e2 removing dead translation code
We use queryset transforms instead of the mixin now.
2010-09-21 11:16:22 -07:00
Jeff Balogh c7448dc692 add require_locale=False to translations
Sometimes we don't allow explicit translation editing (like reviews and
collections) so we shouldn't query for locales.  We still try for the
current locale first to get the best match if possible.
2010-09-21 11:16:19 -07:00
Jeff Balogh c3a5f6371e force updates when we can 2010-09-03 10:01:13 -07:00