Ingo Schommer
c741a0bdf9
Merge pull request #186 from tractorcow/pulls/3.2-compat-on-2.x
...
Compatibility with 3.2
2015-02-23 21:57:32 +13:00
Ingo Schommer
986beafa44
Compatibility with 3.2
...
3.2 still uses SQLQuery rather than SQLSelect,
but changes the getWhere() return signature.
2015-02-23 18:51:59 +13:00
Damian Mooyman
4c59f97249
Update translations
2015-02-23 16:53:46 +13:00
Dirk Adler
1b196d8a83
fixes URLSegment validation for non nested urls
2014-11-19 17:02:18 +13:00
Damian Mooyman
818d7e27bd
Update translations
2014-11-19 14:21:40 +13:00
Damian Mooyman
8563c7cc59
Remove empty translations
2014-08-21 15:26:15 +12:00
Sean Harvey
7c97324ff6
Updating translations
2014-08-20 09:24:05 +12:00
Ingo Schommer
c8c375bd6d
Split out 3.1 compatible branch (removed master-based travis configs)
2014-08-01 15:59:44 +12:00
Ingo Schommer
7d8de22d47
Merge pull request #163 from xini/master
...
BUGFIX support for dropdowns of has_one relations
2014-07-21 23:25:48 +12:00
Florian Thoma
5deae7a8f9
BUGFIX support for dropdowns of has_one relations
2014-05-21 14:39:07 +10:00
Damian Mooyman
7342850139
Updated translations
2014-05-20 15:16:40 +12:00
Ingo Schommer
4d306cda6b
Added min stability to composer (for scrutinizer)
2014-03-13 10:15:47 +13:00
Mateusz Uzdowski
f92139a2b7
Add new lang strings, convert to JS.
2014-01-24 14:37:01 +13:00
Mateusz Uzdowski
50a9af2964
Pull language strings from Transifex.
2014-01-23 11:45:35 +13:00
Ingo Schommer
36c4125fbc
Merge pull request #153 from Zauberfisch/master
...
Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd()
2013-11-22 12:06:14 -08:00
Ingo Schommer
06ab7c9084
Fixed template entity namespace messing up Transifex
2013-11-14 14:37:24 +01:00
Ingo Schommer
ac3ef53141
Updated language master
2013-11-14 14:04:50 +01:00
Ingo Schommer
6fc22acb99
Updated translations
2013-11-14 13:40:05 +01:00
Zauberfisch
d194b50b94
Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd()
2013-10-28 00:26:59 +00:00
Ingo Schommer
03311b4d00
Removed testLocalePersistsInAllPageTypes()
...
Doesn't respect custom business logic such as
validate() methods denying page creation to certain
users, or page creation on the root level.
The test doesn't add a whole lot of value,
since the baseline translation creation doesn't
really differ between page types.
2013-10-22 00:20:17 +02:00
Ingo Schommer
522dff2487
Merge pull request #152 from mateusz/return-list-bug
...
BUG Satisfy the API contract - always return SS_List instance.
2013-10-16 12:17:32 -07:00
Mateusz Uzdowski
8cdeb8005e
BUG Satisfy the API contract - always return SS_List instance.
...
Currently returning null in some situations.
2013-10-16 16:45:31 +13:00
Gus King
8f922beff3
Added check to see if the DataObject actually has translation before iterating over.
2013-10-14 19:39:29 +13:00
Ingo Schommer
242acac7dd
Updated translations
2013-10-10 12:32:42 +02:00
Ingo Schommer
8002df689f
Renamed spanish
2013-10-10 12:32:40 +02:00
Francisco arenas
eaea1ff0a5
Create es_ES.yml
...
spanish translation
2013-10-10 01:13:50 -04:00
Mateusz U
44584a2721
Merge pull request #146 from hafriedlander/fix/142_malformed_links
...
FIX 63366327
breaking "Existing Translations" links
2013-09-19 19:31:19 -07:00
Hamish Friedlander
3acb8b9fba
FIX 63366327
breaking "Existing Translations" links
...
CMSEditLink() was changed to always add a locale, but the link
creation for "Existing Translations" in Translatable#updateCMSFields
assumed there was no query string on the end of CMSEditLink()s return
value
Note that youll still end up with duplicate locale parameters after
this patch, but it will work as PHP always takes the last parameter
for preference. A seperate patch for Controller::join_links will
fix the duplicate parameters
2013-09-20 11:21:28 +12:00
Ingo Schommer
a0fab3b7c2
Update composer.json
2013-09-05 23:34:11 +02:00
Ingo Schommer
6336632713
Fall back to global locale state for link updates ( #139 )
2013-09-05 16:06:58 +02:00
Ingo Schommer
15e9037c1b
Only suffix unique URLSegment if enforce_global_unique_urls=true ( #138 )
2013-09-05 15:55:45 +02:00
Ingo Schommer
69adec9455
Merge pull request #132 from jthomerson/pulls/only_write_translations_when_class_actually_changed
...
Only write translations when class actually changed
2013-09-05 05:02:50 -07:00
Ingo Schommer
3476a04eb4
Merge pull request #134 from bhongong/patch-1
...
Correction on documentation regarding Setting the viewer's locale
2013-08-28 07:12:05 -07:00
bhongong
601df819cb
Correction on documentation regarding Setting the viewer's locale
...
Corrected Translatable docs in setting the locale based on $member->Locale to the correct method: Translatable::set_current_locale($member->Locale); instead of Translatable::set_reading_locale($member->Locale)
2013-08-28 16:04:31 +08:00
TeamCity
b0e334d450
Updated master strings
2013-08-23 03:05:34 +12:00
Ingo Schommer
b24316167a
Merge pull request #133 from Ekman/master
...
Links in head will now include translated versions of each page including itself
2013-08-20 12:44:20 -07:00
Niklas Ekman
fa850239f4
Fixed tabs
2013-08-20 21:35:39 +02:00
Niklas Ekman
6f38a21640
Fixed tabs
2013-08-20 21:05:11 +02:00
Niklas Ekman
a66de759bb
SilverStripe coding convetions
2013-08-19 10:00:08 +02:00
Niklas Ekman
03722d2a8e
MetaTags now includes translated versions of itself including the default translation
2013-08-18 18:41:08 +02:00
Jeremy Thomerson
9e37602ef7
Make publishing default locale node faster
...
When you publish a node in the default locale it calls forceChange to make
every field behave as if it has changed. The problem in Translatable is then
it would think that you actually changed the class of the default locale node
and it would force a change on every translation. This was unnecessary when you
have not actually changed the class name. If you have a great deal of
translations this was causing a significant lag when you publish anything in
the default locale.
2013-08-18 02:32:07 +00:00
Jeremy Thomerson
7534807137
Test case: class changes propagate to translations when published
2013-08-18 02:03:12 +00:00
Mateusz Uzdowski
fe6696a8f3
Change dependency versions to work for 3.1.0-rc1.
2013-08-13 12:10:21 +12:00
Ingo Schommer
1bb6f5d544
Fixed transifex link
2013-08-03 13:07:03 +02:00
Ingo Schommer
c7c76d8e1d
Merge pull request #116 from silverstripe/pulls/configure-valid-urlsegment
...
NEW Translatable.enforce_global_unique_urls config setting
2013-08-03 04:03:48 -07:00
Ingo Schommer
b898134b11
NEW Translatable.enforce_global_unique_urls config setting
...
See https://github.com/silverstripe/silverstripe-cms/pull/216
and https://github.com/silverstripe/silverstripe-cms/pull/772
for context
2013-08-03 13:01:39 +02:00
Ingo Schommer
b90e2294b5
Merge pull request #123 from Mark-M/patch-1
...
Fix Issue #122 : Set default field value to current locale
2013-08-03 03:49:52 -07:00
Jeremy Thomerson
a008f928c6
FIX: get_one_by_locale didn't work when filter disabled
2013-08-03 12:43:46 +02:00
Ingo Schommer
69fe99735b
Merge pull request #128 from jthomerson/pulls/enhance_disabling_locale_filter
...
ENHANCEMENT: better pattern for dis-/enabling locale filter
2013-08-03 03:17:38 -07:00
Ingo Schommer
f951e43612
Merge pull request #126 from jthomerson/pulls/fix_populate_site_config_defaults
...
FIX: don't re-enable the locale filter if it wasn't enabled before
2013-08-03 03:16:17 -07:00