Commit Graph

5388 Commits

Author SHA1 Message Date
Brion Vibber
c3b1f9e77d Use short language names for locales for now; this seems to be most compatible with both native gettext (tested on Ubuntu 8.10) and php-gettext (tested on Mac OS X 10.6). 2009-10-16 11:23:50 -07:00
Brion Vibber
21e17e3738 Fix a logic error in php-gettext's setlocale() check; if setlocale() failed to return, we fall back to checking LANG environment variable. Now actually works when doing a setlocale *check* instead of a *set*.
Submitting fix upstream, but as the package is currently unmaintained it may not make it in.
2009-10-16 11:19:52 -07:00
Brion Vibber
531c0738da Workaround for not fully natively set up locales with native gettext...
Set "en_US" locale first, then the locale we want for our user.
This seems to initialize gettext properly somehow, which I could see when the languages would come up briefly on settings save when changing from a supported language.
Definitely works for ga_ES on my Ubuntu system (8.10 intrepid), hopefully reasonably consistent.
2009-10-16 17:42:27 +00:00
Brion Vibber
4ef0665408 Galician translation (out of date but functional... unless you have locale issues of course)
.po file from http://status.net/trac/ticket/481 last updated by mvazquez
2009-10-16 16:29:50 +00:00
Brion Vibber
d0bf06c65c More i18n cleanup, updating and fixing broken locales...
Removed some non-matching fuzzy entries in mk, tr, zh_TW that prevented .mo regeneration by triggering "fatal errors" from msgfmt
Rebuilt all .mo files, fixing total breakage for four languages:
* it
* mk
* pt_BR
* vi
2009-10-16 16:16:46 +00:00
Brion Vibber
03de1bd13d Removed unnecessary country specifiers from message directories.
We sometimes need to specify a country when setting a locale but the system knows how to grab the generic dir, and that seems to play better with translation tools such as transifex
2009-10-16 16:03:23 +00:00
Brion Vibber
77afd6c344 Commit upstream updates to php-gettext after the 1.0.7 release (but in 2006! :P)
Fixes file magic checks on 64-bit systems.

http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/17
http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/18
http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/19
2009-10-13 14:51:23 -07:00
Brion Vibber
bf4626ddf6 Update Polish translations from Raven's bug tracker submission:
http://status.net/trac/ticket/1411
2009-10-13 12:22:03 -07:00
Brion Vibber
7ea73ccad6 Merge branch '0.8.x' of gitorious.org:statusnet/mainline into 0.8.x 2009-10-13 11:57:58 -07:00
Brion Vibber
304b3cfff8 Pull all localization updates from the current Pootle incarnation before we rebuild it:
* el_GR - Greek localization updates
* he_IL - one additional Hebrew message, removed two fuzzies that gettext doesn't like
* is_IS - added new Icelandic localization file from Pootle
* nb_NO - Norwegian Bokmål updates
* zh_CN - a few Chinese message updates
2009-10-13 11:55:16 -07:00
Eric Helgeson
c4028f1d07 define LACONICA for compatibility on scripts
fixup_conversations.php fixes
2009-10-13 13:34:28 -04:00
Brion Vibber
0b4b8079d8 Merge branch '0.8.x' of gitorious.org:statusnet/mainline into 0.8.x 2009-10-13 10:01:57 -07:00
Brion Vibber
2c5aeb11b1 Include long-form attachment URL in notice if URL shortening is disabled.
Previously, the attachment URL would simply be dropped when shortening returned false instead of a short URL... the attachment was present if you clicked through to notice details but didn't appear in the timeline, making it nigh-impossible to see the attachment.
2009-10-13 16:54:57 +00:00
Brion Vibber
834ac7aa11 Merge branch '0.8.x' of git@gitorious.org:~brion/statusnet/brion-fixes into 0.8.x 2009-10-13 16:45:26 +00:00
Eric Helgeson
7a265ada48 Fix typo's in installer 2009-10-13 12:13:11 -04:00
Brion Vibber
18df82ba23 Merge branch '0.8.x' of git://gitorious.org/~brion/statusnet/brion-fixes into 0.8.x 2009-10-12 21:01:34 +00:00
Craig Andrews
006cfc528e Merge commit 'refs/merge-requests/1723' of git://gitorious.org/statusnet/mainline into 0.8.x 2009-10-11 13:21:18 -04:00
Craig Andrews
6f12ed5f91 Merge commit 'refs/merge-requests/1730' of git://gitorious.org/statusnet/mainline into 0.8.x 2009-10-11 13:20:02 -04:00
Craig Andrews
1f21e5ee79 Merge commit 'refs/merge-requests/1738' of git://gitorious.org/statusnet/mainline into 0.8.x 2009-10-11 13:17:59 -04:00
Evan Prodromou
e9d7f18f0c fix FBConnect so it doesn't muffle EndPrimaryNav 2009-10-09 14:06:08 -04:00
Evan Prodromou
88e7092d23 don't write session if it's unchanged 2009-10-09 10:39:56 -04:00
Jeffery To
c597aba342 Fixed facebook connect primary nav to hide search option when site is private and user is not logged in 2009-10-09 11:52:03 +08:00
Jeffery To
d13b0c385d Fixed facebook connect primary nav to obey sms/twitter/openid settings 2009-10-09 11:50:04 +08:00
Jeffery To
b8f8c41c18 Fixed facebook connect login nav to obey openid settings 2009-10-09 11:31:55 +08:00
Jeffery To
11e36b18cc Fixed facebook connect nav to obey sms/twitter disabled 2009-10-09 11:25:31 +08:00
Jeffery To
2dc66035ba Fixed twitter defaulting to disabled 2009-10-09 11:16:04 +08:00
Evan Prodromou
a6d4adc398 Revert "Open tags should have closing tags"
This reverts commit aeca8807db.

We specifically DON'T have closing tags so we don't get errors with
whitespace after the closing tag.

I realize this is less of an issue with scripts, but we should still
not use closing tags.
2009-10-08 11:41:39 -04:00
Jeffery To
daaa1d4790 Don't show search suggestions for private sites 2009-10-08 12:49:30 +08:00
Jeffery To
838c13063a Fixed E_NOTICE when returnto isn't set 2009-10-07 17:28:30 +08:00
Jeffery To
9449a1e39c Fixed E_NOTICE when the "lite" parameter isn't included in the request 2009-10-07 17:28:29 +08:00
Jeffery To
87f5c53dd0 Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms 2009-10-07 16:18:05 +08:00
Eric Helgeson
aeca8807db Open tags should have closing tags 2009-10-05 12:55:55 -04:00
Sarven Capadisli
d1a5a49875 Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.8.x 2009-10-03 22:07:41 +00:00
Sarven Capadisli
5528c0cd3d Using CDATA for autofocus script 2009-10-03 22:06:51 +00:00
Evan Prodromou
6f4c3a6b69 Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.8.x 2009-10-02 15:46:29 -04:00
Evan Prodromou
2d85d61907 better handling of y response in deleteuser.php 2009-10-02 15:46:00 -04:00
Evan Prodromou
54b22c0c0b script to permanently delete a user 2009-10-02 15:42:58 -04:00
Evan Prodromou
be513db013 copy-and-paste typo in profile deletion 2009-10-02 15:42:34 -04:00
Evan Prodromou
94e3f6bb09 also delete blocks 2009-10-02 15:29:57 -04:00
Evan Prodromou
b3b3af9a2e Merge branch '0.8.x' into deleteuser 2009-10-02 15:27:55 -04:00
Sarven Capadisli
1e7df7fbab Better check to see if the XML prolog should be outputted for XML
documents i.e., if best mimetype is */*xml, then use the XML prolog.
2009-09-30 10:53:04 +00:00
Sarven Capadisli
353f58c231 Outputting UTF-8 charset in document header irrespective of mimetype. 2009-09-30 10:51:59 +00:00
Sarven Capadisli
eb85f16f77 Switched Doctype to XHTML 1.0 Strict (which best reflects the current
grammar in use)
2009-09-30 10:37:46 +00:00
Evan Prodromou
5309910b9b Twitter API returns server errors in preferred format 2009-09-29 17:57:31 -04:00
Evan Prodromou
5252c43804 move HTTP error code strings to class variables 2009-09-29 17:43:45 -04:00
Evan Prodromou
155ba6c103 stop overwriting created timestamp on group edit 2009-09-29 09:12:44 -04:00
Zach Copley
6b7a007ef2 Forgot to add home_timeline to the list of methods that only require
bareauth.
2009-09-27 20:21:16 -07:00
Sarven Capadisli
3694058976 Changed terminology for poping a window 2009-09-27 14:24:31 +00:00
Sarven Capadisli
60335fcbdf Draw a line to indicate new (unread) notice in a timeline since window
blur. Inspired by Pidgin's Markerline plugin.
2009-09-27 14:06:39 +00:00
Sarven Capadisli
22332555cf Aligned notice_data-attach input 2009-09-27 12:59:01 +00:00