Merge branch 'master' into openstreetbugs
authorTom Hughes <tom@compton.nu>
Wed, 28 Jul 2010 20:30:55 +0000 (21:30 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 28 Jul 2010 20:30:55 +0000 (21:30 +0100)
1  2 
config/environment.rb
config/locales/en.yml

diff --combined config/environment.rb
index 29b114836a30225bd44b1aa802e9ab38402a40da,61d068ab7b9ca256c7922331226921d491b593bd..e339aca4d4afac53cc1e0c1083e62392b6772296
@@@ -89,7 -89,7 +89,7 @@@ Rails::Initializer.run do |config
    # Use the database for sessions instead of the cookie-based default,
    # which shouldn't be used to store highly confidential information
    # (create the session table with 'rake db:sessions:create')
-   unless  OSM_STATUS == :database_offline
+   unless OSM_STATUS == :database_offline or OSM_STATUS == :database_readonly
      config.action_controller.session_store = :sql_session_store
    end
  
  
    # Make Active Record use UTC-base instead of local time
    config.active_record.default_timezone = :utc
 +
  end
diff --combined config/locales/en.yml
index 98a50ffd2a67fe3553f8e3807bf6f7a07524c947,61616c56249b652de1ed29e07a37f95c63e8bfb4..6828e56c33cc4beb377aa2102fab991adeea3dc6
@@@ -262,17 -262,6 +262,17 @@@ en
        download_xml: "Download XML"
        view_history: "view history"
        edit: "edit"
 +    bug:
 +      open_title: "Unresolved issue: {{bug_name}}"
 +      closed_title: "Resolved issue: {{bug_name}}"
 +      created_at: "Created at:"
 +      edited_at: "Edited at:"
 +      closed_at: "Closed at:"
 +      opened_by: "Opened by:"
 +      description: "Description:"
 +      comment_by: "Comment by: "
 +      comment: "Comment:"
 +      date: "Date:"
    changeset:
      changeset_paging_nav:
        showing_page: "Showing page {{page}}"
      shop: Shop
      shop_tooltip: Shop with branded OpenStreetMap merchandise
      shop_url: http://wiki.openstreetmap.org/wiki/Merchandise
-     sotm2010: 'Come to the 2010 OpenStreetMap Conference, The State of the Map, July 9-11 in Girona!'
      license:
        alt: CC by-sa 2.0
        title: OpenStreetMap data is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic License
        header: "{{from_user}} has commented on your recent OpenStreetMap diary entry with the subject {{subject}}:"
        footer: "You can also read the comment at {{readurl}} and you can comment at {{commenturl}} or reply at {{replyurl}}"
      message_notification:
+       subject_header: "[OpenStreetMap] {{subject}}"
        hi: "Hi {{to_user}},"
        header: "{{from_user}} has sent you a message through OpenStreetMap with the subject {{subject}}:"
        footer1: "You can also read the message at {{readurl}}"
        help: "Help"
        help_url: "http://wiki.openstreetmap.org/wiki/Upload"
      trace_header:
-       see_just_your_traces: "See just your traces, or upload a trace"
+       your_traces: "See just your traces"
+       upload_trace: "Upload a trace"
        see_all_traces: "See all traces"
        see_your_traces: "See all your traces"
        traces_waiting: "You have {{count}} traces waiting for upload. Please consider waiting for these to finish before uploading any more, so as not to block the queue for other users."
        back: "View all blocks"
        revoker: "Revoker:"
        needs_view: "The user needs to log in before this block will be cleared."
 +  bugs:
 +    rss:
 +      description_area: "A list of bugs, reported, commented on or closed in your area [({{min_lat}}|{{min_lon}}) -- ({{max_lat}}|{{max_lon}})]"
 +      description_item: "An rss feed for bug {{id}}"
 +      closed: "closed bug (near {{place}})"
 +      new: "new bug (near {{place}})"
 +      comment: "new comment (near {{place}})"
 +    user:
 +      title_user: "Bugs submitted or commented on by {{user}}"
 +      heading_user: "{{user}}'s bugs"
 +      description_user: "Bugs submitted or commented on by {{user}}"
 +      id: "Id"
 +      last_changed: "Last changed"
 +
    javascripts:
      map:
        base: