Commit graph

2818 commits

Author SHA1 Message Date
Translatewiki
f7a79e7cb7 localisation updates from translatewiki.net (2009-10-08) 2009-10-08 22:11:35 +00:00
Translatewiki
579170b1f4 localisation updates from translatewiki.net (2009-10-08) 2009-10-08 21:39:07 +00:00
Tom Hughes
fb9789929c Fix output of javascript strings - use english strings to walk the
tree but output strings in the correct locale. Closes #2362.
2009-10-08 12:25:55 +00:00
Translatewiki
468d2766d8 * localisation updates from translatewiki.net (2009-10-07) 2009-10-06 23:03:08 +00:00
Translatewiki
d6635a0191 * localisation updates from translatewiki.net (2009-10-07)
* new languages: Czech (cs)
2009-10-06 22:57:32 +00:00
Tom Hughes
c89189407f Rename .htaccess to htacess.example to stop it causing problems when
the directives in it are not allowed.
2009-10-06 17:29:44 +00:00
Tom Hughes
1466ab3492 Remove hack that was needed to cope with our old asset tagging but
which now does nothing except break installation in subdirectories.
2009-10-06 17:26:51 +00:00
Tom Hughes
cb57a77c3a Use relative URLs in the stylesheet so we can run in a subdirectory. 2009-10-06 17:24:38 +00:00
Matt Amos
137468f75f Fixed bug in _blocks partial when used by the index view. 2009-10-06 14:19:54 +00:00
Tom Hughes
32f8631671 Merge blocking branch to head. 2009-10-06 12:37:49 +00:00
Tom Hughes
2a9cacb6f1 Add parentheses to avoid warning. 2009-10-05 20:28:15 +00:00
Tom Hughes
7de5220090 Merge 17944:17988 from trunk. 2009-10-05 20:25:45 +00:00
Richard Fairhurst
0721a135b6 OS7 tile layer support 2009-10-05 12:36:01 +00:00
Richard Fairhurst
212d2c8c0d still tidy properties when icon has changed 2009-10-05 11:50:24 +00:00
Translatewiki
a56a2c4fe0 * localisation updates from translatewiki.net (2009-10-05)
* svn:eol-style native
2009-10-05 08:20:20 +00:00
Translatewiki
15aa686d97 Another update for ru.yml. If this does not work, please let me know. Would also like to get rid of the leading newlines... 2009-10-04 11:35:49 +00:00
Translatewiki
cfb8d4cfbd Fix syntax error in r17978 2009-10-04 11:32:30 +00:00
Translatewiki
65c0675acb Localisation updates from translatewiki.net (2009-10-04) 2009-10-04 11:28:57 +00:00
Translatewiki
1a46f41219 Localisation updates from translatewiki.net (2009-10-04) 2009-10-04 11:10:29 +00:00
Ævar Arnfjörð Bjarmason
d3c9842d50 Make Mail/Revert in History dialog i18n-able 2009-10-04 08:40:37 +00:00
Ævar Arnfjörð Bjarmason
ba7436868d Synced from Translatewiki. Including one new language (gl) 2009-10-04 07:54:27 +00:00
Tom Hughes
f4dba81b64 Modify the existing i18n() javascript function to lookup strings in
the javascript i18n array as well as expanding arguments, and make all
lookups go through it.
2009-10-02 23:41:19 +00:00
Tom Hughes
596ab82461 Move javascript translations to a separate key based on the path to
the javascript file that uses them and amend the layout to automatically
find and output all javascript strings.
2009-10-02 23:33:17 +00:00
Tom Hughes
52126dc3c1 There is no need to translate the names of layers which are not shown
in the layer switcher.
2009-10-02 23:03:42 +00:00
Ævar Arnfjörð Bjarmason
c5247537c8 Synced from Translatewiki 2009-10-02 20:58:59 +00:00
Ævar Arnfjörð Bjarmason
4c84709c80 Follow up to [17948]: Make the layer switcher translatable too! 2009-10-02 20:39:47 +00:00
Ævar Arnfjörð Bjarmason
b0e1560875 Some of our JavaScript files have UI messages but we don't want to
make them dynamic.

So I'm creating a globally scoped JavaScript array called rails_i18n
which holds some of these messages. It's loaded in <head> before any
of the JavaScript files so it should always be available.
2009-10-02 20:19:28 +00:00
Matt Amos
17f05fdb13 Merging 17905:17944 from trunk. 2009-10-02 15:36:46 +00:00
Tom Hughes
d0f2288797 Add parentheses to avoid warnings. 2009-10-02 14:40:25 +00:00
Ævar Arnfjörð Bjarmason
8c1d3fdd6b Amend [17942]:
* Center-align donation text
 * Add title="" to the donate link
 * Use an official cc_button.png from http://1.1.1.1/bmi/i.creativecommons.org/l/by-sa/2.0/88x31.png that doesn't include English text
 * Add rel=license to license link as suggested by CC
 * Add width/height to CC button
2009-10-02 13:04:47 +00:00
Tom Hughes
968e6c417f Replace the donate button with a text version that can be translated. 2009-10-02 12:29:44 +00:00
Translatewiki
9c5755b647 Localisation updates from translatewiki.net (2009-10-02) 2009-10-02 11:28:35 +00:00
Translatewiki
3d4adecbc6 * Remove trailing newline from help_html
* Update message order
2009-10-02 11:20:57 +00:00
Matt Amos
3429f016c2 Adding blocking to user auth bits of amf_controller. Or, at least, the bits I could find. 2009-10-02 10:49:03 +00:00
Matt Amos
1009788043 Fix wrong comment. 2009-10-02 10:46:19 +00:00
Ævar Arnfjörð Bjarmason
2dab83d57b use {{count}} instead of {{sent_count}} so rails plural forms will kick in 2009-10-02 10:41:47 +00:00
Richard Fairhurst
817aee0536 fix GPS offset 2009-10-02 07:05:05 +00:00
Tom Hughes
a549d33fdf Add "blocks on" and "blocks by" links to the user page when a logged
in user is looking at their own page.
2009-10-01 21:30:45 +00:00
Tom Hughes
a6952b38a0 Swap two translations so they are the right way round. 2009-10-01 21:13:13 +00:00
Tom Hughes
5a2ad3655b Replace a couple calls to inject with more readble constructs. 2009-10-01 20:39:04 +00:00
Ævar Arnfjörð Bjarmason
efc2a3fa47 Set a limit on the new/edit block text area. Make it as big as diary
comments instead of the insane default rails size of 40/20 cols/rows
2009-10-01 20:29:17 +00:00
Tom Hughes
8217c55523 Correct comment. 2009-10-01 20:24:53 +00:00
Ævar Arnfjörð Bjarmason
df4267639d * The Back link in block/id/edit wasn't translatable
* New text for back links to make them more understandable
2009-10-01 20:24:36 +00:00
Tom Hughes
54649a39a0 Correct comment. 2009-10-01 20:22:52 +00:00
Ævar Arnfjörð Bjarmason
7dbf68aa52 * <title> for /blocks/new/*
* use h() to escape usernames
2009-10-01 20:18:24 +00:00
Ævar Arnfjörð Bjarmason
269ad0f52e Add a route for '/blocks/new/:display_name' so links will be
'/blocks/new/Example' not '/blocks/new?display_name=Example'
2009-10-01 20:08:13 +00:00
Tom Hughes
4708992f1c Don't bother creating the user index on user_roles as migration 48 will
create one on user+role that will do the same job.

Removing it here is a bit of a hack as it will not get dropped from
existing databases but as it was not given an explicit name it is hard
to write a migration to drop it.
2009-10-01 20:04:33 +00:00
Ævar Arnfjörð Bjarmason
78e0ec74f7 use h() to avoid XSS in usernames 2009-10-01 20:02:54 +00:00
Ævar Arnfjörð Bjarmason
e0ece00738 title/links for revoke page 2009-10-01 19:59:02 +00:00
Ævar Arnfjörð Bjarmason
2ea77833cd Oops. Mixed up heading/title 2009-10-01 19:55:25 +00:00