summaryrefslogtreecommitdiffstats
path: root/lib/private/l10n.php
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | More PHPDoc updatesBart Visscher2014-02-281-4/+5
| |
* | Update PHPDoc for I10N, OC_Config, OC\Template\Base and OCP\IL10NBart Visscher2014-02-281-16/+15
|/
* Hardening: Remove dangerous characters + Subdirectory CheckLukas Reschke2014-02-191-2/+2
| | | If an user is able to create folders in /core/l10n/ he is able to execute arbitrary code. Therefore I've added an `issubdirectory` check and removed all potential dangerous characters from `$lang`.
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-0/+3
| | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* Merge branch 'master' into scrutinizer_documentation_patchesThomas Müller2014-02-141-2/+2
|\ | | | | | | | | Conflicts: lib/private/appconfig.php
| * change order of issubdirectory() calls to avoid error messages for non-appsBjoern Schiessle2014-01-291-2/+2
| |
* | polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-0/+3
|/
* fix plural translation - fixes #6226Morris Jobke2013-12-071-1/+1
|
* fixing PHPDoc & grammarThomas Müller2013-10-231-5/+5
|
* Have to also strtolower() on available language name. Otherwise no match.Andreas Fischer2013-10-231-4/+6
|
* Sort, so 'de' is preferred over 'de_DE' when performing non-exact matching.Andreas Fischer2013-10-231-0/+4
|
* Apply substring on the correct value.Andreas Fischer2013-10-231-1/+1
|
* Better variable names.Andreas Fischer2013-10-231-9/+9
|
* Fix coding style for else.Andreas Fischer2013-10-231-4/+2
|
* Correct indentation for default language.Andreas Fischer2013-10-231-4/+4
|
* Add L10N interface to server containerBart Visscher2013-10-041-13/+5
|
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-0/+546
Conflicts: lib/private/vcategories.php