]> git.openstreetmap.org Git - rails.git/commitdiff
Merge pull request #4201 from AntonKhorev/issues-limit-settings
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Sep 2023 14:47:44 +0000 (15:47 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2023 14:47:44 +0000 (15:47 +0100)
Move max value of issues counter to settings

1  2 
config/locales/en.yml
config/settings.yml

diff --combined config/locales/en.yml
index 530dad2079f530f8134ee38cd37a020e68baafeb,98ecbe8a7adc3f4ba8cba9ae994d3e1eba2a78bf..da346e8e89abb15497867e4e8fd30db39824d1a1
@@@ -5,6 -5,8 +5,8 @@@ en
      formats:
        friendly: "%e %B %Y at %H:%M"
        blog: "%e %B %Y"
+   count:
+     at_least_pattern: "%{count}+"
    helpers:
      file:
        prompt: Choose file
          reopened_at_by_html: "Reactivated %{when} by %{user}"
        rss:
          title: "OpenStreetMap Notes"
 +        description_all: "A list of reported, commented on or closed notes"
          description_area: "A list of notes, reported, commented on or closed in your area [(%{min_lat}|%{min_lon}) -- (%{max_lat}|%{max_lon})]"
          description_item: "An rss feed for note %{id}"
          opened: "new note (near %{place})"
        remove as friend: Unfriend
        add as friend: Add Friend
        mapper since: "Mapper since:"
 +      uid: "User id:"
        ct status: "Contributor terms:"
        ct undecided: Undecided
        ct declined: Declined
          cyclosm: CyclOSM
          cycle_map: Cycle Map
          transport_map: Transport Map
 +        tracestracktop_topo: Tracestrack Topo
          hot: Humanitarian
          opnvkarte: Ã–PNVKarte
        layers:
        andy_allan: Andy Allan
        opnvkarte_credit: "Tiles courtesy of %{memomaps_link}"
        memomaps: MeMoMaps
 +      tracestrack_credit: "Tiles courtesy of %{tracestrack_link}"
 +      tracestrack: Tracestrack
        hotosm_credit: "Tiles style by %{hotosm_link} hosted by %{osm_france_link}"
        hotosm_name: Humanitarian OpenStreetMap Team
      site:
diff --combined config/settings.yml
index e228247e03d617b5a4d1cd957b21b6498dca01e3,0352a85e04a4b646d221a645a0fdb6cc02fc287c..214f8a284e000168234913326293f7760c96c08d
@@@ -43,6 -43,8 +43,8 @@@ max_note_request_area: 2
  default_note_query_limit: 100
  # Maximum limit on the number of notes returned by the note search api method
  max_note_query_limit: 10000
+ # Maximum value of open issues counter for moderators, anything equal or greater to this value "n" is shown as "n+"
+ max_issues_count: 99
  # Zoom level to use for postcode results from the geocoder
  postcode_zoom: 15
  # Timeout for API calls in seconds
@@@ -117,8 -119,6 +119,8 @@@ fossgis_valhalla_url: "https://valhalla
  #wikipedia_auth_secret: ""
  # Thunderforest authentication details
  #thunderforest_key: ""
 +# Tracestrack authentication details
 +#tracestrack_key: ""
  # Key for generating TOTP tokens
  #totp_key: ""
  # Enforce Content-Security-Policy