summaryrefslogtreecommitdiffstats
path: root/lib/private/l10n.php
Commit message (Collapse)AuthorAgeFilesLines
* Move class to legacy folderJoas Schilling2016-01-261-348/+0
|
* Fix the testsJoas Schilling2016-01-261-1/+1
|
* Deprecate OC_L10N in favor of a namespaces and DI versionJoas Schilling2016-01-261-0/+1
|
* Deprecate getFirstWeekDay() and getDateFormat() in favor of l()Joas Schilling2016-01-261-24/+10
|
* Move finding the language files and creating the function out of the objectJoas Schilling2016-01-261-95/+10
|
* Move validation and fallbacks of app and lang to the constructor/factoryJoas Schilling2016-01-261-13/+17
|
* Move findLanguage() and setLanguageFromRequest() to factoryJoas Schilling2016-01-261-97/+42
|
* Move languageExists() to the factoryJoas Schilling2016-01-261-8/+2
|
* Move findAvailableLanguages() to the factoryJoas Schilling2016-01-261-18/+2
|
* Happy new year!Thomas Müller2016-01-121-3/+2
|
* Remove unused deprecated functionRoeland Jago Douma2016-01-111-11/+0
|
* Do not overwrite the language when it's just missing for one appJoas Schilling2015-12-071-3/+7
|
* Add warning for broken l10n json filesMorris Jobke2015-10-301-0/+2
| | | | * makes it easier to spot broken l10n files
* update licence headers via scriptMorris Jobke2015-10-051-1/+0
|
* [l10n] remove unused static methodsMorris Jobke2015-10-021-36/+3
|
* Merge pull request #19480 from owncloud/fix-l10nJörn Friedrich Dreyer2015-10-021-14/+5
|\ | | | | Fix l10n on master
| * Fix l10n on masterMorris Jobke2015-09-301-14/+5
| | | | | | | | | | * $app isn't useful for this case * kill it with :fire:
* | cache found l10n per app and not globallyMorris Jobke2015-09-301-3/+4
|/ | | | | | * fixes: if the first call to this is with an app that has no translations all future call will get a list with only english in there - even if their l10n holds more translations
* Deprecate OC_L10N::get()Joas Schilling2015-08-281-6/+3
|
* Save detected l10n of browser on loginMorris Jobke2015-08-251-4/+12
| | | | * fixes owncloud/activity#373
* Some locales need to be converted to be compliant with CLDRThomas Müller2015-05-081-0/+11
|
* Remove unused variablesMorris Jobke2015-04-181-3/+0
| | | | | * should make scrutinizer a lot more happy * reduces maybe memory footprint
* fix caching of preferred languageRobin Appelman2015-04-031-2/+3
|
* Merge pull request #14399 from owncloud/ignore-empty-pluralsLukas Reschke2015-03-261-1/+1
|\ | | | | Ignore empty plurals just like with singulars
| * Revert "Correctly fallback to english, if the plural case is not translated"Joas Schilling2015-02-201-1/+1
| | | | | | | | This reverts commit cbad5c998b260040523ac8e6a2797591d0086938.
* | Update license headersJenkins for ownCloud2015-03-261-8/+33
| |
* | Respect http header 'Accept-Language' on ocs and remote.php callsThomas Müller2015-03-091-35/+43
| |
* | Fix the behaviour of getLanguageCode() to match the expectation of the nameJoas Schilling2015-03-031-14/+5
| |
* | Revert "Updating license headers"Morris Jobke2015-02-261-34/+12
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | Updating license headersJenkins for ownCloud2015-02-231-12/+34
|/
* Correctly fallback to english, if the plural case is not translatedJoas Schilling2014-12-111-1/+1
|
* Add a DateTimeFormatter class which allows overwriting the language and timezoneJoas Schilling2014-12-091-1/+7
| | | | Fix #12227
* Cache results of available languagesLukas Reschke2014-11-271-0/+6
| | | | | | This function is about 8 times calles for every single page call, when caching this variable I was able to gain a small performance improvement from 20,512 µs to 630 µs profiled with xhprof Surely, this is no gigantic gain but if we would do that for every function out there...
* Fix PHPDoc and deprecated codeLukas Reschke2014-11-241-25/+17
| | | | Some PHPDocs were incorrect, also used this opportunity to replace some deprecated functions.
* Fix language file detectionVincent Petry2014-10-291-1/+1
|
* adding console command to generate javascript translation files based on ↵Thomas Müller2014-10-291-31/+33
| | | | | | existing php translation files read server side translations from json files
* in case a translation javascript is not found we no longer bail outThomas Müller2014-10-291-11/+0
| | | | remove translation.php
* implement localizations based on punicThomas Müller2014-10-201-61/+45
|
* Move certificate management interface from files_external to coreRobin Appelman2014-08-311-1/+1
|
* Adding new interface \OCP\Activity\IExtentsionThomas Müller2014-07-081-1/+2
| | | | | | | | | | | | Adding method getNotificationTypes() Adding method filterNotificationTypes() Adding method getDefaultTypes() Adding method translate() and getTypeIcon() Adding method getGroupParameter() Adding method getNavigation() Adding method getNavigation() Adding method isFilterValid() and getQueryForFilter() Adding unit tests for \OC\ActivityManager
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-16/+16
| | | | * test case added to avoid adding them later
* provide a way to detect the language that is being used (e.g. for clientside ↵Bernhard Posselt2014-05-141-0/+17
| | | | javascript language selection
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-1/+1
|
* Replace @returns with @return, in /libRobin McCorkell2014-05-131-10/+10
|
* Rename issubdirectory to isSubDirectoryLukas Reschke2014-05-111-5/+5
|
* Does also take int or stringLukas Reschke2014-05-041-1/+1
|
* Some more PHPDoc fixesLukas Reschke2014-04-211-29/+4
|
* introduce new function to force a languageThomas Müller2014-04-151-0/+8
|
* Merge branch 'master' into type-hintingBart Visscher2014-03-311-6/+7
|\ | | | | | | | | | | | | | | | | Conflicts: lib/private/image.php lib/private/l10n.php lib/private/request.php lib/private/share/mailnotifications.php lib/private/template/base.php
| * Fix some docstrings in l10n.phpkondou2014-03-011-13/+15
| |