]> git.openstreetmap.org Git - rails.git/commitdiff
Merge pull request #2969 from tuckerrc/diary-updated-date
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 2 Dec 2020 11:30:22 +0000 (11:30 +0000)
committerGitHub <noreply@github.com>
Wed, 2 Dec 2020 11:30:22 +0000 (11:30 +0000)
Add last updated date to diary entry page

1  2 
config/locales/en.yml

diff --combined config/locales/en.yml
index 7e7302e7983fa85e5c71055eef999ccd9525db16,04c2b433866e2c69a50722018a75b6902ab49aac..31b23e3b8104d2dc7edbe6a0fc16acf4e95f6ab4
@@@ -433,7 -433,8 +433,8 @@@ en
        heading: "No entry with the id: %{id}"
        body: "Sorry, there is no diary entry or comment with the id %{id}. Please check your spelling, or maybe the link you clicked is wrong."
      diary_entry:
-       posted_by_html: "Posted by %{link_user} on %{created} in %{language_link}"
+       posted_by_html: "Posted by %{link_user} on %{created} in %{language_link}."
+       updated_at_html: "Last updated on %{updated}."
        comment_link: Comment on this entry
        reply_link: Send a message to the author
        comment_count:
            "yes": "Waterway"
        admin_levels:
          level2: "Country Boundary"
 +        level3: "Region Boundary"
          level4: "State Boundary"
          level5: "Region Boundary"
          level6: "County Boundary"
 +        level7: "Municipality Boundary"
          level8: "City Boundary"
          level9: "Village Boundary"
          level10: "Suburb Boundary"
 +        level11: "Neighbourhood Boundary"
        types:
          cities: Cities
          towns: Towns
        had_added_you: "%{user} has added you as a friend on OpenStreetMap."
        see_their_profile: "You can see their profile at %{userurl}."
        befriend_them: "You can also add them as a friend at %{befriendurl}."
 -    gpx_notification:
 -      greeting: "Hi,"
 -      your_gpx_file: "It looks like your GPX file"
 -      with_description: "with the description"
 -      and_the_tags: "and the following tags:"
 -      and_no_tags: "and no tags."
 -      failure:
 -        subject: "[OpenStreetMap] GPX Import failure"
 -        failed_to_import: "failed to import. Here is the error:"
 -        more_info_1: "More information about GPX import failures and how to avoid"
 -        more_info_2: "them can be found at:"
 -        import_failures_url: "https://wiki.openstreetmap.org/wiki/GPX_Import_Failures"
 -      success:
 -        subject: "[OpenStreetMap] GPX Import success"
 -        loaded_successfully:
 -          one: loaded successfully with %{trace_points} out of a possible 1 point.
 -          other: loaded successfully with %{trace_points} out of a possible %{possible_points} points.
 +    gpx_description:
 +      description_with_tags_html: "It looks like your GPX file %{trace_name} with the description %{trace_description} and the following tags: %{tags}"
 +      description_with_no_tags_html: "It looks like your GPX file %{trace_name} with the description %{trace_description} and no tags"
 +    gpx_failure:
 +      hi: "Hi %{to_user},"
 +      failed_to_import: "failed to import. Here is the error:"
 +      more_info_html: "More information about GPX import failures and how to avoid them can be found at %{url}."
 +      import_failures_url: "https://wiki.openstreetmap.org/wiki/GPX_Import_Failures"
 +      subject: "[OpenStreetMap] GPX Import failure"
 +    gpx_success:
 +      hi: "Hi %{to_user},"
 +      loaded_successfully:
 +        one: loaded successfully with %{trace_points} out of a possible 1 point.
 +        other: loaded successfully with %{trace_points} out of a possible %{possible_points} points.
 +      subject: "[OpenStreetMap] GPX Import success"
      signup_confirm:
        subject: "[OpenStreetMap] Welcome to OpenStreetMap"
        greeting: "Hi there!"