Tom Hughes
817434a2e6
Rework the translatable map key to be driven by a YAML file listing the
...
entries to show for each layer and zoom level.
2009-06-24 23:30:41 +00:00
Tom Hughes
2112dd7f63
Make the "what does this mean" link added in r16069 more like similar
...
notes on other forms.
2009-06-24 11:50:41 +00:00
Tom Hughes
b1ada7b9d6
Put back HTML escaping of trace names removed in r16062.
2009-06-24 11:41:26 +00:00
Ævar Arnfjörð Bjarmason
0e530b0a0d
Remove the third param to showKeyEntry(). Not used yet.
2009-06-24 07:15:18 +00:00
Ævar Arnfjörð Bjarmason
079b9fed84
Change the map key from a static PNG image to a generated HTML table that can be translated. Solves ticket:1916
2009-06-23 12:04:06 +00:00
Tom Hughes
f4571eeb7c
Revert r16046.
...
DO NOT COMMIT MAJOR ENHANCEMENTS TO TRUNK WITHOUT TALKING TO ME FIRST.
2009-06-23 02:48:38 +00:00
Ævar Arnfjörð Bjarmason
7551e8a0c1
Add a link to [[Visibility of GPS traces]] on the wiki to explain what public/private means. Solves ticket:1002
2009-06-23 01:27:40 +00:00
Ævar Arnfjörð Bjarmason
be57524849
Add 'diary_entry.no_such_entry.title' for diary entries that don't exist
2009-06-23 00:17:20 +00:00
Ævar Arnfjörð Bjarmason
9e504a0b33
'trace.tags.none' was never displayed because the empty list ([]) is true in ruby. Use trace.tags.empty?
...
Wrap 'trace.tags.none' in <i> to make it obvious that "none" is a system-generated value
2009-06-23 00:02:35 +00:00
Ævar Arnfjörð Bjarmason
cc3faefa46
* Changed "t'trace.edit.start_coord' %>Start coordinate:" to "t'trace.edit.start_coord' %>"
...
* "map" was untranslatable
2009-06-22 23:47:49 +00:00
Ævar Arnfjörð Bjarmason
dfadcc797c
Fixed up the <title>/<h2> mess in trace/edit and trace/view
...
* @title was never set on trace editing, and thus <h2></h2> was produced
* Changed split 'trace.view.viewing_trace' into 'trace.view.title' and 'trace.view.heading'
* Introduced corresponding 'trace.edit.title' and 'trace.edit.heading'
2009-06-22 23:43:53 +00:00
Ævar Arnfjörð Bjarmason
17e9016373
"download" in edit trace was untranslatable
2009-06-22 23:27:11 +00:00
Ævar Arnfjörð Bjarmason
a268dbbff0
trace.edit.tags and trace.edit.save_button were mistakenly in the locale files but not actually used. fixed this
2009-06-22 23:20:53 +00:00
Ævar Arnfjörð Bjarmason
340d5c05cf
* Put checkboxes before form labels in an attempt to make them align with the text.
...
* Put a <br/> between the form and the submit button so they're not squashed together
2009-06-22 20:33:14 +00:00
Ævar Arnfjörð Bjarmason
7253c38234
The <title> wasn't being properly set on /message/new/$user, only on /message/new/$user?title=$title
2009-06-22 19:13:54 +00:00
Matt Amos
b8f6dbd403
Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests.
2009-06-22 16:54:37 +00:00
Matt Amos
f7adbbb3a8
Fixed dereference of nil node when browsing deleted way.
2009-06-22 15:27:20 +00:00
Thomas Wood
06e9b7213d
Fix bug introduced in r16011 with link to new message from diary entry.
...
(Thanks shaun for spotting this)
2009-06-20 22:28:11 +00:00
Thomas Wood
554818b5b4
Contrary to what the previous commit message said, we do actually have more cases of user A triggering mail to user B.
...
(references #1968 )
2009-06-20 20:42:22 +00:00
Thomas Wood
0ed4cdbd49
Force locale on subject translation for diary comment notifications, since the sending user's locale is not that of recipient.
...
It is assumed that sender locale is that of recipient for the rest of the emails, which is fine, since the sender is the recipient.
The bodies are accounted for correctly by common_headers and the monkeypatching of ActionMailer.
(references #1968 )
2009-06-20 20:36:52 +00:00
Thomas Wood
2fabbed189
Autoselect new diary entry language to that of last posted entry rather than user's default language.
...
(Closes #1967 )
2009-06-20 18:27:03 +00:00
Thomas Wood
98a86836d2
Commit avar's patch (+ fix for user not found) to change message sending URL to be by user name rather than id.
...
(Closes #1920 )
2009-06-19 22:33:16 +00:00
Thomas Wood
80ff70a1ff
Extend work started in [15970] to add edit link to way pages on databrowser.
2009-06-18 14:29:28 +00:00
Thomas Wood
3edd81f03b
Add an edit link to the browse page for nodes, since it's been bugging me a while. Ways will follow when i can work out how to generate a lat/lon for them...
...
Translation updates required (small edit)
2009-06-17 16:37:43 +00:00
Štefan Baebler
63de62bf04
next/previous page links maintain diary language
2009-06-15 17:48:25 +00:00
Matt Amos
09c2725fc9
Fixed typo in 'big changeset' display.
2009-06-15 14:16:19 +00:00
Štefan Baebler
00da8a9712
minor change: diary entries per language linked (lists and rss feeds)
...
(again, since r15900 was rolled back in r15905, see #1946 - this time without adding a plugin)
2009-06-15 05:03:11 +00:00
Tom Hughes
5475a9ec35
Revert r15900 for now.
2009-06-14 09:53:42 +00:00
Štefan Baebler
2b290f4994
cleanup
2009-06-14 07:27:24 +00:00
Štefan Baebler
61123eaeb4
Added localized language names with plugin from http://github.com/grosser/i18n_data/tree/master ( fixes #1946 )
...
Diary entries in same language linked (lists and rss)
2009-06-14 07:25:08 +00:00
Thomas Wood
5123163e92
Remove superfluous "language" from diary strings - it sounds weird (other option would be to change to "the {{language}} language")
2009-06-12 18:48:36 +00:00
Štefan Baebler
98b9ce8f97
diary entries (list and rss) for a given language.
...
TODO: language rss link, linking the localized lists
2009-06-12 06:34:18 +00:00
Štefan Baebler
6fadf04a4f
removed double dot (double appeared with en, de, it, sl and probably other translations)
2009-06-11 20:27:31 +00:00
Thomas Wood
c10a2f2580
Fix missing </div> and wrong translation names in layout database offline alert box.
2009-06-11 18:25:44 +00:00
Shaun McDonald
65eb6af303
Give a nice error message when parsing the nwr tags and they are missing the k and/or v. Also includes tests.
2009-06-11 11:08:37 +00:00
Shaun McDonald
37df03a043
Cleanup the Relation.from_xml to come in line with the Way and Node versions. Includes tests. Bug fix for the previous tests.
2009-06-10 17:17:03 +00:00
Shaun McDonald
e4d7b3ee66
Throw errors in the way xml parsing if there is a problem. Bring the way parsing in line with the node parsing. Properly deal with the 0 id case. Some Way.from_xml tests.
2009-06-10 15:42:12 +00:00
Štefan Baebler
1de54dc135
localizable timestamps
2009-06-10 05:24:39 +00:00
Tom Hughes
2e2f212472
Rename views to rails 2 style names.
2009-06-09 20:50:14 +00:00
Tom Hughes
a8c7d1c4ce
Don't use single quotes to wrap translated strings in javascript in case
...
the translation contains an apostrophe. Closes #1942 .
2009-06-09 18:59:44 +00:00
Tom Hughes
1a59ac0d68
Put back missing divider. Closes #1939 .
2009-06-08 22:09:22 +00:00
Shaun McDonald
e3693d487a
More unit tests for the parsing of the Node.from_xml. Some code clean up to ensure that a node that cannot be parsed will always throw an exception, to be handled by the arround handler.
2009-06-08 18:53:19 +00:00
Ævar Arnfjörð Bjarmason
0b84885cfc
Make the name of the "Data" layer in OpenLayers translatable: Most of
...
the OL dialog is still stuck in map.js and untranslatable though.
2009-06-08 18:10:17 +00:00
Ævar Arnfjörð Bjarmason
5d471088b4
Wrap 'changeset.changeset.no_comment' in italics with <i></i>. Right
...
now it's not possible to distinguish between a changeset that has no
comment and one whose comment is equivalent to the text of
'changeset.changeset.no_comment'.
2009-06-08 13:24:29 +00:00
Tom Hughes
d6ba46b120
Simplify rejection of existing renumbered nodes.
2009-06-08 11:08:18 +00:00
Richard Fairhurst
9cfaeb5460
potential fix for issue encountered on talk
2009-06-08 10:54:06 +00:00
Ævar Arnfjörð Bjarmason
a50d61c7ba
Revert [15752]: The duplication of content intentional for dead-tree
...
printouts, which I didn't consider. Oops! Thanks TomH :)
2009-06-07 23:42:26 +00:00
Ævar Arnfjörð Bjarmason
d8d3d21a2c
Use {{count}} instead of {{distance}} for kilometer count as {{count}} is a magical enumerated variable in Rails.
2009-06-07 22:14:22 +00:00
Shaun McDonald
32b422aefb
Make some links more rails like, thus easier to read. Test that partials are included as expected.
2009-06-07 21:45:33 +00:00
Ævar Arnfjörð Bjarmason
7862c89a92
Use {{count}} instead of {{(node|way_relation)_count}} since {{count}}
...
is a magical enumerated variable in Rails.
2009-06-07 21:27:05 +00:00