Roland Häder
347803fd5c
added spaces + some curly braces + some usage of dbm::is_result()
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-05-17 15:08:15 +02:00
Roland Häder
f4a33ed3f0
added spaces + some curly braces + some usage of dbm::is_result()
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-05-16 14:40:07 +02:00
Hypolite Petovan
ce866ad39b
Remove unrecommended leading backslash for fully qualified namespaces
2017-05-02 23:37:06 -04:00
Hypolite Petovan
bf1199f2ea
Standards
2017-04-19 10:14:43 -04:00
Hypolite Petovan
941dd48b53
Add explicit parentheses in condition
2017-04-19 07:05:48 -04:00
Hypolite Petovan
83ab3e3307
Skip lang file search if lang=en
2017-04-18 19:21:26 -04:00
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
2017-03-21 12:02:59 -04:00
Roland Häder
951006dd10
more spaces + some curly spaces added
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:51:54 +01:00
Roland Häder
41a36606c6
added spaces + some curly braces
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:50:19 +01:00
Michael
53393233c3
Replace the direct access of config variables
2017-01-17 19:21:46 +00:00
Roland Häder
293436e5fd
Some rewrites:
...
- max_proccesses_reach() and maxload_reached() (why no _ behind max?) are called
both way, static and with object reference.
- this is strongly discouraged and should be avoided as its support (in PHP) may
be dropped in future releases.
- used $a = get_app(); to encapsulate code (even when the function does
currently the same, it may be changed later)
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-13 10:16:36 +01:00
Hypolite Petovan
a9e90d111d
Restore newline at end of file
2016-10-24 22:18:22 -04:00
Hypolite Petovan
2fc2a1a228
Fix typo in get_available_languages function name
...
- Add Doxygen comment block
- Fix formatting
- Renamed variable for faster understanding
2016-10-24 22:17:02 -04:00
Michael Vogel
860f11e71b
Merge pull request #2842 from tobiasd/20160929-lng
...
lang handling for #2752
2016-10-04 05:22:38 +02:00
Tobias Diekershoff
bb423ff9b4
rework fallback code
2016-10-03 21:12:47 +02:00
Tobias Diekershoff
ed631ba959
fallback to generic language for specific (de-CH => de)
2016-10-02 09:26:35 +02:00
Tobias Diekershoff
8b972510fe
with translations now in /view/lang/lng shift the array index along
2016-10-01 16:07:23 +02:00
Hypolite Petovan
8fc558b8e6
Fix #2817
...
- Change all references to language folders
2016-09-30 10:46:56 -04:00
fabrixxm
fb3ac68cc0
Add user language in settings, use that field as language for UI
2015-11-08 14:23:49 +01:00
Tobias Diekershoff
8bfd506051
make translation of addons work again
2014-06-18 21:18:50 +02:00
Fabrixxm
00df3ef5a7
Fixes #712
2013-07-11 03:34:49 -04:00
friendica
a1c4d0ca93
fix include paths when started via cmdline
2013-05-20 17:36:29 -07:00
Carsten Pfeiffer
5ee19401c4
pgettext needs dba.php for q()
2013-04-29 22:51:08 +02:00
friendica
f07df4f667
merge
2013-03-02 15:46:54 -08:00
friendica
3811fe288f
rename get_language() to get_browser_language()
2012-05-13 04:52:29 -07:00
Tobias Hößl
720c8324c7
Some Bugfixes, and variable checks
2012-04-17 11:33:50 +00:00
Alexander Kampmann
355c42cb30
Merge branch 'master' of https://github.com/friendica/friendica
...
Conflicts:
include/config.php
update.php
2012-04-05 13:39:15 +02:00
friendica
8aa2552372
add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit)
2012-01-18 16:21:30 -08:00
Friendika
030e1e82c3
finish up ability to switch languages without function collision
2011-09-21 15:37:16 -07:00
Friendika
c63adcfae0
bug #159 multiple definition of string_plural_form function when changing languages
2011-09-21 07:09:37 -07:00
Friendika
21769d7390
improve push_lang and pop_lang to do basically nothing if the new language is the same as existing
2011-05-23 20:37:36 -07:00
Friendika
040fc247a0
bug #85
2011-05-23 20:30:37 -07:00
Friendika
3e6180183b
improved browser language detect, set user language on login
2011-05-23 17:18:36 -07:00
fabrixxm
8a40c718fb
Move translation functions. Add tt() for plural cases.
2011-03-11 00:18:29 +01:00