Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/zoghal/Translations
Backend / Platform translations plugin
https://github.com/zoghal/Translations
08e56d097631c1b6d70339f7118a702186d4a2ec authored over 12 years ago
d279a02975562b961cdade08d3ad1452f575d805 authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
d04d966400719371590d351ae62191b3b18daa44 authored over 12 years ago
3d4464be6eb6f7f286c55bcd6dc987d003ae429e authored over 12 years ago
473b3851037e24b815d2a73018508a4587db7ba6 authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
and fix the test case that _was_ broken by 2914cdc00f712b
ff2cfaed71dc60837650bb23418f31395965dbfa authored over 12 years agof5b3adca7afc62760a2dbc4703d7e07c0ed21e2d authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
this breaks a load of tests - don't merge (yet)
2914cdc00f712b3f50eaae5ae70be0b31e20c062 authored over 12 years ago0e71ddb345110e414030d19027026e138330a728 authored over 12 years ago
9e8bfffe2e9f68574e6ac936c48db0e33aa0a889 authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
add a method to set the langauge based on accept headers
d9b7b2978f87ef262fcd0347ee1f6d3d95102657 authored over 12 years agothis only chooses between implemented locales
24605f8d437d66104635ba8ee73c6e3c3ebb2951 authored over 12 years agoPreparing submodules for release
Updating semver
Finish release
b4793ecf4c5217f62fb923de044fa4e8abf85737 authored over 12 years ago
fd44e1a7205259a2cc1434af552cc702a6cde541 authored over 12 years ago
Using the querystring for pagination arguments
4dd8ffb67c9aeef61c31f7a8b09d2e89f60344e2 authored over 12 years ago0add5cca1beb18b4ee902bb9811c8b1203077807 authored over 12 years ago
Reduce db hits
b6602e0ec64f27ee031978a4ca490f893cff4f73 authored over 12 years agouse late static binding, otherwise it's harder to test.
make sure that hasTranslation doesn't i...
48f375e3975e26f47171fcc4d295f236d0593bf8 authored over 12 years agobedc3be0392ac5b937df6b8faa99817e2f53f1cc authored over 12 years ago
5c1eaa5b05d6bd2eac999dac07f09de47d33c1d3 authored over 12 years ago
convention being:
test{MethodName}{Suffix}
The word "For" was part of the method forLocale, i...
cf6cf181c691942ce32ad8161d17c37ebfe58822 authored over 12 years ago3867b94b17064772057fcfd3ed7f0880fcfe43ce authored over 12 years ago
52a1c4b25c33040167d4b0ce3300d7621e3d8908 authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
Data from the translate behavior doesn't need to be in the "default"
language domain, infact it ...
f92322dbfa39f7f59a157129c0a31422239d345d authored over 12 years ago
it's not necessary for fields to be in the database that are translated
- they can be aliased
Preparing submodules for release
Updating semver
Finish release
04ce627f36f654dd7fd9344ee461021a5af9b22c authored over 12 years ago
f7c02a321ab5f47dbcc75ee1a88020d414af2921 authored over 12 years ago
05623706e8788d736748a9e5c71bcad03fad040b authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
if they are requested via __().
Also ensure that autoPopulate is true for translate-behavior, o...
7775c2f0e3be901fd5c613d705f89863551009b5 authored over 12 years agoea7aeca26c181b30a41fac94e4897b441a212b8a authored over 12 years ago
dd7f6de6937f4c293bb1ac9a985a8876841757b9 authored over 12 years ago
2f0d4f7d63c3544a8a56012db6cf8186fa7e3458 authored over 12 years ago
this is only relevant if the soft delete "behavior" is used
5b6711feeaab0e06e5102623b31a4e38e3a67d19 authored over 12 years ago
it's potentially useful, but not by default. Better to use static
anaysis (the cake extract cli ...
18cc0d61fbf912566c01e31d402092c2d8c68440 authored over 12 years ago
we do want the wysiwyg functionality, but it doens't belong here. The
validation is inappropriat...
9478d98b0afc718218dd5181b698a27f734abf63 authored over 12 years ago
546cb74fce3f97b25d474b19e84811403fdd659a authored over 12 years ago
c3dcfd617cd5981b1dbd86a497f01a22680da7db authored over 12 years ago
the singular key and has/plural entries are not particularly useful - so
get rid of them
add is...
47342775acc67f58ab11e780610acd19525b059c authored over 12 years agob77e5c7c2d29b7d3c496e17fc01793ed522d64d7 authored over 12 years ago
because autopoulate now defaults to false - we should verify that the
translate behavior does ac...
a0d830286589f500caf85e5230ffcf137dda0912 authored over 12 years ago
purge will delete translations which are not in the import file.
overwrite will update the value...
when exported as json - the value is an array for plural translations -
account for this to retu...
of interest, references will be an array when inserted
b387aebfc154fa16439153da0a5ca6621b58021a authored over 12 years ago171cbb3c64b79260f06e2960f8d113600539a967 authored over 12 years ago
forcing the domain means the tests change, and '' => 'key' too
53d6adf2b3e2d5e75c49bf9ed65747dae3a3006f authored over 12 years agob5905e8cd7cdeecd888f39dc4d2b88101438f7b9 authored over 12 years ago
e678a1c597c58f9408e822435c57d144f85b4b7c authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
0c513ef98f5f3c74760c4a6a14895c267e8a4b1c authored over 12 years ago
4a994088e191933a88e282d145512531727e2696 authored over 12 years ago
ba6c64671e3710e47f46bd069634f1b26d0f02e2 authored over 12 years ago
19ea97c9bc436d6e1a84e609c7e13dedf9f18857 authored over 12 years ago
they should always be named after the domain - so use that
3d6ed9886a9f6bcaefbbd20d88c9d0b7faf7c057 authored over 12 years ago274ff1967fc9e98fbe98ee968c14f474bba00d21 authored over 12 years ago
and include expectations of file references in results
a4652757307fbf541ac4582caba1310501f3cfb9 authored over 12 years ago3b6d50aa9c23d92dd8d9bcb0db9e2074daea94ad authored over 12 years ago
e991aabd7a30fa8b3406f6aef8fc4869520301a3 authored over 12 years ago
907283aea206c33d3ad33828234798941dba266c authored over 12 years ago
there's no use case where we want to use it
8200eed0c9cafb4d94b4206555b29166cad2be8c authored over 12 years agoand correct for mismatched logic
a6057510efb1a787bd421e86218c63d0612fbc68 authored over 12 years agoaf0e4c3f2b521c05d9eb908d2ee6455031617db7 authored over 12 years ago
626e9674d4fcd49b19b48645541544427c512d24 authored over 12 years ago
need to make it possible to be able to add more meta-data to a translations
i.e. comments and re...
d0d6550431f07478a1f9e547560ea957947322d6 authored over 12 years ago
614ed49273d7ce6f1c6c6b6e173f65b9495614d2 authored over 12 years ago
a0ba5e854c0879839013f15d3555e14e4cdc2848 authored over 12 years ago
5a57a1fe446fc1725133112af6cf69735b4e8955 authored over 12 years ago
the plural case can return false (use the singular) or 0 (use form 0)
don't confuse the two
precedence doesn't seem to be the same in the rules as you'd expect -
inject paretheses so that ...
2c2912514a0a736282e98a2ea858fce53caeaab5 authored over 12 years ago
1478bc9af507ab6963cce5568694f155a94759cb authored over 12 years ago
Plural rules will mean we end up storing:
id key plural_id plural_case
1 1 Item null ...
this test requires deconstructing the translation model if it's been
loaded.
595da656f7212be940a2f8bbdfd6288468929407 authored over 12 years ago
1c78c7d52cd6a9f5be25732ed07cb1df1febfd4c authored over 12 years ago
848e1f5769d04599e2e8f5480bc995be203071eb authored over 12 years ago
because autopoulate now defaults to false - we should verify that the
translate behavior does ac...
864d47241e94fc58c58108c83a022ba3d595ab57 authored over 12 years ago
if they are requested via __().
Also ensure that autoPopulate is true for translate-behavior, o...
c56f33e8de95c55e9bc00b5e30e0c3bb16901ced authored over 12 years ago30d4600807c9f6e959a6ab7d4fe4cc0dc9bb3a57 authored over 12 years ago
Plural support and po file import
4adb3a5a72531d616a5476d8f04eb7c027dae908 authored over 12 years ago078c51e9b33da0b97f71eeeae2b3cd60aeeee9ac authored over 12 years ago
bd5994c73b3d6b050c3b4c0cbef242376b8c9dcf authored over 12 years ago
this is only relevant if the soft delete "behavior" is used
d47ea4fb593aa2a0bc6a1e467b961c5137498361 authored over 12 years ago
it's potentially useful, but not by default. Better to use static
anaysis (the cake extract cli ...
be8e487dfe0c5789ea16610b54cfb4c99e0d9969 authored over 12 years ago
we do want the wysiwyg functionality, but it doens't belong here. The
validation is inappropriat...
6c785519eef211dbfe6675f38aef2875d54c5190 authored over 12 years ago