├── .gitignore ├── .github ├── FUNDING.yml └── workflows │ ├── discourse-plugin.yml │ └── plugin-metadata.yml ├── .eslintrc.cjs ├── .prettierrc.cjs ├── .template-lintrc.cjs ├── assets ├── stylesheets │ ├── common │ │ └── locations-layouts.scss │ ├── desktop │ │ └── locations.scss │ └── mobile │ │ └── locations.scss ├── javascripts │ └── discourse │ │ ├── connectors │ │ ├── user-location-and-website │ │ │ └── replace-location.hbs │ │ ├── category-custom-settings │ │ │ ├── set-location.js │ │ │ └── set-location.hbs │ │ ├── composer-fields │ │ │ ├── composer-controls-location.js │ │ │ └── composer-controls-location.hbs │ │ ├── topic-title │ │ │ └── location-details.gjs │ │ ├── topic-list-after-badges │ │ │ └── location-label.gjs │ │ ├── users-top │ │ │ └── map-link.hbs │ │ ├── user-card-location-and-website │ │ │ ├── replace-location.hbs │ │ │ └── replace-location.js │ │ ├── edit-topic │ │ │ └── edit-location-details.gjs │ │ ├── post-metadata │ │ │ └── user-location-wrapper.gjs │ │ └── user-custom-preferences │ │ │ └── map-location.gjs │ │ ├── users-route-map.js │ │ ├── routes │ │ └── locations │ │ │ └── users-map.js │ │ ├── helpers │ │ ├── geo-location-format.js │ │ └── location-format.js │ │ ├── components │ │ ├── locations-map-wrapper.gjs │ │ ├── modal │ │ │ └── locations-topic-map-modal.gjs │ │ ├── geo-location-result.gjs │ │ └── replace-location.gjs │ │ ├── templates │ │ ├── locations │ │ │ └── users-map.hbs │ │ ├── discovery │ │ │ └── map.hbs │ │ └── modal │ │ │ └── add-location.hbs │ │ └── initializers │ │ └── location-map-edits.js └── lib │ └── leaflet │ ├── MarkerCluster.css │ └── MarkerCluster.Default.css ├── public ├── images │ ├── latitude.png │ └── longitude.png └── leaflet │ └── images │ ├── layers.png │ ├── layers-2x.png │ ├── marker-icon.png │ ├── marker-shadow.png │ └── marker-icon-2x.png ├── Gemfile ├── .discourse-compatibility ├── lib ├── locations │ ├── helper.rb │ ├── engine.rb │ ├── map.rb │ └── country.rb └── users_map.rb ├── .rubocop.yml ├── db └── migrate │ ├── 20231117010103_create_locations_user_index.rb │ ├── 20231119010103_create_locations_topic_index.rb │ ├── 20231117010101_create_locations_user_table.rb │ ├── 20231119010101_create_locations_topic_table.rb │ ├── 20231128010101_populate_locations_user_table.rb │ └── 20231128010103_populate_locations_topic_table.rb ├── crowdin.yml ├── app ├── controllers │ └── locations │ │ ├── users_map_controller.rb │ │ └── geocode_controller.rb └── models │ ├── location_country_default_site_setting.rb │ ├── location_geocoding_language_site_setting.rb │ └── locations │ ├── topic_location.rb │ └── user_location.rb ├── config ├── routes.rb └── locales │ ├── server.zh_CN.yml │ ├── client.zh_CN.yml │ ├── client.pt_BR.yml │ ├── client.sl.yml │ ├── client.fi.yml │ ├── client.af.yml │ ├── client.ar.yml │ ├── client.az.yml │ ├── client.be.yml │ ├── client.bg.yml │ ├── client.bn.yml │ ├── client.bo.yml │ ├── client.bs.yml │ ├── client.ca.yml │ ├── client.cs.yml │ ├── client.cy.yml │ ├── client.da.yml │ ├── client.el.yml │ ├── client.eo.yml │ ├── client.et.yml │ ├── client.eu.yml │ ├── client.fa.yml │ ├── client.he.yml │ ├── client.hi.yml │ ├── client.hr.yml │ ├── client.hu.yml │ ├── client.hy.yml │ ├── client.id.yml │ ├── client.is.yml │ ├── client.it.yml │ ├── client.ja.yml │ ├── client.ka.yml │ ├── client.kk.yml │ ├── client.km.yml │ ├── client.kn.yml │ ├── client.ko.yml │ ├── client.ku.yml │ ├── client.lo.yml │ ├── client.lt.yml │ ├── client.lv.yml │ ├── client.mk.yml │ ├── client.ml.yml │ ├── client.mn.yml │ ├── client.ms.yml │ ├── client.ne.yml │ ├── client.nl.yml │ ├── client.om.yml │ ├── client.pa.yml │ ├── client.pl.yml │ ├── client.pt.yml │ ├── client.ro.yml │ ├── client.sd.yml │ ├── client.sk.yml │ ├── client.sq.yml │ ├── client.sr.yml │ └── client.sv.yml ├── package.json ├── README.md ├── COPYRIGHT.txt ├── test └── javascripts │ ├── fixtures │ └── location-fixtures.js │ └── acceptance │ ├── topic-list-category-test.js │ ├── topic-list-test.js │ ├── map-to-do.js │ ├── topic-location-input-fields-disabled-test.js │ ├── topic-and-user-card-test.js │ └── topic-location-input-fields-disabled-short-name-test.js ├── Gemfile.lock └── spec ├── controllers └── geocode_controller_spec.rb └── requests ├── user_controller_location_update_spec.rb ├── directory_items_controller_locations_extensions_spec.rb └── topic_controller_location_update_spec.rb /.gitignore: -------------------------------------------------------------------------------- 1 | gems/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [merefield] 2 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@discourse/lint-configs/eslint"); 2 | -------------------------------------------------------------------------------- /.prettierrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@discourse/lint-configs/prettier"); 2 | -------------------------------------------------------------------------------- /.template-lintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@discourse/lint-configs/template-lint"); 2 | -------------------------------------------------------------------------------- /assets/stylesheets/common/locations-layouts.scss: -------------------------------------------------------------------------------- 1 | .main-content.map { 2 | display: block; 3 | } 4 | -------------------------------------------------------------------------------- /public/images/latitude.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/merefield/discourse-locations/HEAD/public/images/latitude.png -------------------------------------------------------------------------------- /public/images/longitude.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/merefield/discourse-locations/HEAD/public/images/longitude.png -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/user-location-and-website/replace-location.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/leaflet/images/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/merefield/discourse-locations/HEAD/public/leaflet/images/layers.png -------------------------------------------------------------------------------- /public/leaflet/images/layers-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/merefield/discourse-locations/HEAD/public/leaflet/images/layers-2x.png -------------------------------------------------------------------------------- /public/leaflet/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/merefield/discourse-locations/HEAD/public/leaflet/images/marker-icon.png -------------------------------------------------------------------------------- /public/leaflet/images/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/merefield/discourse-locations/HEAD/public/leaflet/images/marker-shadow.png -------------------------------------------------------------------------------- /public/leaflet/images/marker-icon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/merefield/discourse-locations/HEAD/public/leaflet/images/marker-icon-2x.png -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source 'https://rubygems.org' 4 | 5 | group :development do 6 | gem 'rubocop-discourse' 7 | gem "racc" 8 | end 9 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/users-route-map.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | this.route("locations", function () { 3 | this.route("users-map", { path: "/users_map" }); 4 | }); 5 | } 6 | -------------------------------------------------------------------------------- /.discourse-compatibility: -------------------------------------------------------------------------------- 1 | < 3.5.0.beta2-dev: 5f9d63ba5ec2a796f6f0fbb4aba787816579d6c6 2 | < 3.4.0.beta4-dev: ab73cdf83d27499192e33100bcbbe1bff65d3941 3 | 3.1.999: 58c5eabb47237b1485e76c93501433ee02011430 4 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/routes/locations/users-map.js: -------------------------------------------------------------------------------- 1 | import DiscourseRoute from "discourse/routes/discourse"; 2 | 3 | export default DiscourseRoute.extend({ 4 | templateName: "locations/users-map", 5 | }); 6 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/category-custom-settings/set-location.js: -------------------------------------------------------------------------------- 1 | export default { 2 | setupComponent(attrs) { 3 | if (!attrs.category.custom_fields) { 4 | attrs.category.custom_fields = {}; 5 | } 6 | }, 7 | }; 8 | -------------------------------------------------------------------------------- /.github/workflows/discourse-plugin.yml: -------------------------------------------------------------------------------- 1 | name: Discourse Plugin 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | 9 | jobs: 10 | ci: 11 | uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1 12 | -------------------------------------------------------------------------------- /lib/locations/helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ::Locations 4 | class Helper 5 | def self.parse_location(location) 6 | location.is_a?(String) ? ::JSON.parse(location) : location 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_gem: 2 | rubocop-discourse: default.yml 3 | 4 | RSpec/ContextWording: 5 | Enabled: false 6 | 7 | RSpec/DescribeClass: 8 | Enabled: false 9 | 10 | AllCops: 11 | Exclude: 12 | - "**/gems/**/*" 13 | - "**/vendor/**/*" 14 | -------------------------------------------------------------------------------- /lib/locations/engine.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module ::Locations 3 | class Engine < ::Rails::Engine 4 | engine_name PLUGIN_NAME 5 | isolate_namespace Locations 6 | config.autoload_paths << File.join(config.root, "lib") 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/composer-fields/composer-controls-location.js: -------------------------------------------------------------------------------- 1 | import { set } from "@ember/object"; 2 | 3 | export default { 4 | actions: { 5 | updateLocation(location) { 6 | set(this.model, "location", location); 7 | }, 8 | }, 9 | }; 10 | -------------------------------------------------------------------------------- /db/migrate/20231117010103_create_locations_user_index.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | class CreateLocationsUserIndex < ActiveRecord::Migration[7.0] 3 | def change 4 | add_index :locations_user, [:latitude, :longitude], name: 'composite_index_on_locations_user' 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /db/migrate/20231119010103_create_locations_topic_index.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | class CreateLocationsTopicIndex < ActiveRecord::Migration[7.0] 3 | def change 4 | add_index :locations_topic, [:latitude, :longitude], name: 'composite_index_on_locations_topic' 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /crowdin.yml: -------------------------------------------------------------------------------- 1 | pull_request_title: "i18n: Update translations" 2 | files: 3 | - source: /config/locales/client.en.yml 4 | translation: /config/locales/client.%two_letters_code%.yml 5 | - source: /config/locales/server.en.yml 6 | translation: /config/locales/server.%two_letters_code%.yml 7 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/composer-fields/composer-controls-location.hbs: -------------------------------------------------------------------------------- 1 | {{#if this.model.showLocationControls}} 2 | {{add-location-controls 3 | location=this.model.location 4 | category=this.model.category 5 | noText=this.site.mobileView 6 | updateLocation=this.updateLocation 7 | }} 8 | {{/if}} -------------------------------------------------------------------------------- /app/controllers/locations/users_map_controller.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module ::Locations 3 | class UsersMapController < ::ApplicationController 4 | requires_plugin PLUGIN_NAME 5 | before_action :ensure_plugin_enabled 6 | 7 | def index 8 | render json: success_json 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/helpers/geo-location-format.js: -------------------------------------------------------------------------------- 1 | import { htmlSafe } from "@ember/template"; 2 | import Site from "discourse/models/site"; 3 | import { geoLocationFormat } from "../lib/location-utilities"; 4 | 5 | export default function _geoLocationFormat(geoLocation, opts) { 6 | return htmlSafe( 7 | geoLocationFormat(geoLocation, Site.currentProp("country_codes"), opts) 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | Locations::Engine.routes.draw do 3 | get 'search' => 'geocode#search' 4 | get 'validate' => 'geocode#validate' 5 | get 'countries' => 'geocode#countries' 6 | get "users_map" => "users_map#index" 7 | end 8 | 9 | Discourse::Application.routes.draw do 10 | get 'map_feed' => 'list#map_feed' 11 | mount ::Locations::Engine, at: 'locations' 12 | end 13 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/topic-title/location-details.gjs: -------------------------------------------------------------------------------- 1 | import LocationLabelContainer from "./../../components/location-label-container"; 2 | 3 | 15 | -------------------------------------------------------------------------------- /app/models/location_country_default_site_setting.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require_dependency 'enum_site_setting' 3 | 4 | class LocationCountryDefaultSiteSetting < ::EnumSiteSetting 5 | def self.valid_value?(val) 6 | return true if val == "" 7 | values.any? { |v| v[:value].to_s == val.to_s } 8 | end 9 | 10 | def self.values 11 | @values ||= Locations::Country.codes.map do |c| 12 | { 13 | name: c[:name], 14 | value: c[:code] 15 | } 16 | end 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /lib/locations/map.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ::Locations 4 | 5 | class Map 6 | def self.sorted_list_filters 7 | @sorted_list_filters ||= [] 8 | end 9 | 10 | def self.list_filters 11 | sorted_list_filters.map { |h| { block: h[:block] } } 12 | end 13 | 14 | def self.add_list_filter(priority = 0, &block) 15 | sorted_list_filters << { priority: priority, block: block } 16 | @sorted_list_filters.sort_by! { |h| -h[:priority] } 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /app/models/location_geocoding_language_site_setting.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require_dependency 'enum_site_setting' 3 | 4 | class LocationGeocodingLanguageSiteSetting < EnumSiteSetting 5 | def self.valid_value?(val) 6 | values.any? { |v| v[:value].to_s == val.to_s } 7 | end 8 | 9 | def self.values 10 | @values ||= ['default', 'user'].map do |v| 11 | { 12 | name: I18n.t("site_settings.location_geocoding_language_#{v}"), 13 | value: v 14 | } 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/components/locations-map-wrapper.gjs: -------------------------------------------------------------------------------- 1 | import Component from "@glimmer/component"; 2 | import { tracked } from "@glimmer/tracking"; 3 | import LocationsMap from "./locations-map"; 4 | 5 | export default class LocationMapWrapperComponent extends Component { 6 | @tracked mapType = ""; 7 | 8 | constructor() { 9 | super(...arguments); 10 | this.mapType = this.args.params.mapType; 11 | } 12 | 13 | 16 | } 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "discourse-locations", 3 | "version": "1.0.0", 4 | "repository": "git@github.com:paviliondev/discourse-locations.git", 5 | "author": "Pavilion", 6 | "license": "GPL V2", 7 | "private": true, 8 | "devDependencies": { 9 | "@discourse/lint-configs": "1.3.10", 10 | "ember-template-lint": "6.0.0", 11 | "eslint": "8.57.1", 12 | "prettier": "2.8.8", 13 | "@babel/plugin-proposal-decorators": "^7.25.7" 14 | }, 15 | "engines": { 16 | "node": ">= 18", 17 | "npm": "please-use-pnpm", 18 | "yarn": "please-use-pnpm", 19 | "pnpm": ">= 9" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/topic-list-after-badges/location-label.gjs: -------------------------------------------------------------------------------- 1 | /* eslint-disable ember/no-empty-glimmer-component-classes */ 2 | 3 | import Component from "@glimmer/component"; 4 | import LocationLabelContainer from "../../components/location-label-container"; 5 | 6 | export default class LocationLabel extends Component { 7 | 17 | } 18 | -------------------------------------------------------------------------------- /lib/locations/country.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module ::Locations 3 | class Country 4 | def self.codes 5 | raw_codes = YAML.safe_load(File.read(File.join(Rails.root, 'plugins', 'discourse-locations', 'config', 'country_codes.yml'))) 6 | formatted_codes = [] 7 | 8 | raw_codes.map do |code, name| 9 | formatted_codes.push(code: code, name: name) 10 | end 11 | 12 | formatted_codes 13 | end 14 | 15 | def self.bounding_boxes 16 | YAML.safe_load(File.read(File.join(Rails.root, 'plugins', 'discourse-locations', 'config', 'country_bounding_boxes.yml'))) 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/helpers/location-format.js: -------------------------------------------------------------------------------- 1 | import { htmlSafe } from "@ember/template"; 2 | import Site from "discourse/models/site"; 3 | import { helperContext } from "discourse-common/lib/helpers"; 4 | import { locationFormat } from "../lib/location-utilities"; 5 | 6 | export default function _locationFormat(location, opts) { 7 | let siteSettings = helperContext().siteSettings; 8 | return htmlSafe( 9 | locationFormat( 10 | location, 11 | Site.currentProp("country_codes"), 12 | siteSettings.location_input_fields_enabled, 13 | siteSettings.location_input_fields, 14 | siteSettings.location_short_names, 15 | { ...opts } 16 | ) 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/users-top/map-link.hbs: -------------------------------------------------------------------------------- 1 | {{#if siteSettings.location_users_map}} 2 |
3 | 21 |
22 | {{/if}} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Discourse Locations Plugin 2 | 3 | The Locations Plugin allows you to associate geocoded locations with topics, and list topics with locations on a map. Additionally it allows users to record their position (voluntarily) and this can show up on a map of Users in the Users directory. 4 | 5 | :page_facing_up: [**Read the documentation**](https://coop.pavilion.tech/docs?category=90&solved=false) 6 | 7 | :bug: **[Report a bug](https://coop.pavilion.tech/w/bug-report)** 8 | 9 | ### Documentation Links 10 | 11 | - [Administration Settings](https://coop.pavilion.tech/docs?topic=1620) 12 | - [Locations in Topics](https://coop.pavilion.tech/docs?topic=1763) 13 | - [Locations in Categories](https://coop.pavilion.tech/docs?topic=1550) 14 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/user-card-location-and-website/replace-location.hbs: -------------------------------------------------------------------------------- 1 | {{! template-lint-disable link-rel-noopener }} 2 | 3 | {{#if this.showUserLocation}} 4 | 5 | 6 | 7 | {{/if}} 8 | {{#if this.user.website_name}} 9 | 10 | {{d-icon "globe"}} 11 | {{#if this.linkWebsite}} 12 | {{this.user.website_name}} 17 | {{else}} 18 | {{this.user.website_name}} 19 | {{/if}} 20 | 21 | {{/if}} -------------------------------------------------------------------------------- /assets/javascripts/discourse/components/modal/locations-topic-map-modal.gjs: -------------------------------------------------------------------------------- 1 | import Component from "@ember/component"; 2 | import DModal from "discourse/components/d-modal"; 3 | import { i18n } from "discourse-i18n"; 4 | import LocationsMap from "./../locations-map"; 5 | 6 | export default class LocationsTopicMapModalComponent extends Component { 7 | get title() { 8 | return i18n("map.topic_modal.label", { 9 | topic_title: this.model.topic.title, 10 | }); 11 | } 12 | 13 | 22 | } 23 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/templates/locations/users-map.hbs: -------------------------------------------------------------------------------- 1 |
2 | 20 |
21 |
22 |
23 | 24 |
25 |
-------------------------------------------------------------------------------- /COPYRIGHT.txt: -------------------------------------------------------------------------------- 1 | All code in this repository is Copyright 2020 by Angus McLeod. 2 | 3 | This program is free software; you can redistribute it and/or modify 4 | it under the terms of the GNU General Public License as published by 5 | the Free Software Foundation; either version 2 of the License, or (at 6 | your option) any later version. 7 | 8 | This program is distributed in the hope that it will be useful, but 9 | WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 10 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 11 | for more details. 12 | 13 | You should have received a copy of the GNU General Public License 14 | along with this program as the file LICENSE.txt; if not, please see 15 | http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 16 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/components/geo-location-result.gjs: -------------------------------------------------------------------------------- 1 | import Component from "@ember/component"; 2 | import { fn } from "@ember/helper"; 3 | import { on } from "@ember/modifier"; 4 | import geoLocationFormat from "../helpers/geo-location-format"; 5 | 6 | export default class GeoLocationResultComponent extends Component { 7 | 21 | } 22 | -------------------------------------------------------------------------------- /db/migrate/20231117010101_create_locations_user_table.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class CreateLocationsUserTable < ActiveRecord::Migration[7.0] 4 | def change 5 | create_table :locations_user do |t| 6 | t.integer :user_id, null: false, index: { unique: true }, foreign_key: true 7 | t.float :latitude, null: false 8 | t.float :longitude, null: false 9 | t.string :street, null: true 10 | t.string :district, null: true 11 | t.string :city, null: true 12 | t.string :state, null: true 13 | t.string :postalcode, null: true 14 | t.string :country, null: true 15 | t.string :countrycode, null: true 16 | t.string :international_code, null: true 17 | t.string :locationtype, null: true 18 | t.float :boundingbox, array: true, null: true 19 | t.timestamps 20 | end 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/edit-topic/edit-location-details.gjs: -------------------------------------------------------------------------------- 1 | import Component from "@glimmer/component"; 2 | import { tracked } from "@glimmer/tracking"; 3 | import { action, get, set } from "@ember/object"; 4 | import AddLocationControls from "../../components/add-location-controls"; 5 | 6 | export default class EditLocationDetails extends Component { 7 | @tracked location = get(this.args.outletArgs.buffered, "location"); 8 | 9 | @action 10 | updateLocation(location) { 11 | set(this.args.outletArgs.buffered, "location", location); 12 | this.location = location; 13 | } 14 | 15 | 24 | } 25 | -------------------------------------------------------------------------------- /db/migrate/20231119010101_create_locations_topic_table.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class CreateLocationsTopicTable < ActiveRecord::Migration[7.0] 4 | def change 5 | create_table :locations_topic do |t| 6 | t.integer :topic_id, null: false, index: { unique: true }, foreign_key: true 7 | t.float :latitude, null: false 8 | t.float :longitude, null: false 9 | t.string :name, null: true 10 | t.string :street, null: true 11 | t.string :district, null: true 12 | t.string :city, null: true 13 | t.string :state, null: true 14 | t.string :postalcode, null: true 15 | t.string :country, null: true 16 | t.string :countrycode, null: true 17 | t.string :international_code, null: true 18 | t.string :locationtype, null: true 19 | t.float :boundingbox, array: true, null: true 20 | t.timestamps 21 | end 22 | end 23 | end 24 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/category-custom-settings/set-location.hbs: -------------------------------------------------------------------------------- 1 |
2 |

{{i18n "category.location_settings_label"}}

3 | 4 |
5 | 9 |
10 | 11 |
12 | 19 |
20 | 21 |
22 | 29 |
30 | 31 |
-------------------------------------------------------------------------------- /assets/lib/leaflet/MarkerCluster.css: -------------------------------------------------------------------------------- 1 | .leaflet-cluster-anim .leaflet-marker-icon, 2 | .leaflet-cluster-anim .leaflet-marker-shadow { 3 | -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in; 4 | -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in; 5 | -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in; 6 | transition: transform 0.3s ease-out, opacity 0.3s ease-in; 7 | } 8 | 9 | .leaflet-cluster-spider-leg { 10 | /* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */ 11 | -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, 12 | -webkit-stroke-opacity 0.3s ease-in; 13 | -moz-transition: -moz-stroke-dashoffset 0.3s ease-out, 14 | -moz-stroke-opacity 0.3s ease-in; 15 | -o-transition: -o-stroke-dashoffset 0.3s ease-out, 16 | -o-stroke-opacity 0.3s ease-in; 17 | transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in; 18 | } 19 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/templates/discovery/map.hbs: -------------------------------------------------------------------------------- 1 | 5 | <:navigation> 6 | 20 | 21 | 22 | <:list> 23 |
24 | 25 |
26 | 27 |
-------------------------------------------------------------------------------- /assets/stylesheets/desktop/locations.scss: -------------------------------------------------------------------------------- 1 | #reply-control .composer-fields .title-and-category.show-location-controls { 2 | align-items: flex-start; 3 | 4 | &.location-add-no-text { 5 | & > div:last-of-type { 6 | margin-right: 0; 7 | } 8 | } 9 | 10 | .category-input { 11 | flex: 1 0 30%; 12 | 13 | .select-kit { 14 | min-width: 200px; 15 | } 16 | } 17 | } 18 | 19 | #reply-control .with-tags .title-and-category.show-location-controls { 20 | .category-input { 21 | flex: 1 0 20%; 22 | } 23 | 24 | .mini-tag-chooser { 25 | flex: 1 1 20%; 26 | margin-right: 5px; 27 | } 28 | } 29 | 30 | .composer-controls-location .location-label { 31 | display: flex; 32 | 33 | button { 34 | min-width: 35px; 35 | text-align: left; 36 | 37 | &.no-text { 38 | text-align: center; 39 | 40 | .fa { 41 | margin-right: 0; 42 | } 43 | } 44 | } 45 | } 46 | 47 | .composer-controls-location .btn:not(:hover) { 48 | background: var(--secondary); 49 | } 50 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/post-metadata/user-location-wrapper.gjs: -------------------------------------------------------------------------------- 1 | import Component from "@glimmer/component"; 2 | import { service } from "@ember/service"; 3 | import { geoLocationFormat } from "../../lib/location-utilities"; 4 | 5 | export default class LocationMapComponent extends Component { 6 | @service siteSettings; 7 | @service site; 8 | 9 | get locationText() { 10 | let model = this.args.post; 11 | 12 | if (model.user_custom_fields && model.user_custom_fields["geo_location"]) { 13 | let format = this.siteSettings.location_user_post_format.split("|"); 14 | let opts = {}; 15 | 16 | if (format.length) { 17 | opts["geoAttrs"] = format; 18 | } 19 | 20 | return geoLocationFormat( 21 | model.user_custom_fields["geo_location"], 22 | this.site.country_codes, 23 | opts 24 | ); 25 | } 26 | return ""; 27 | } 28 | 29 | 33 | } 34 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/user-card-location-and-website/replace-location.js: -------------------------------------------------------------------------------- 1 | import { scheduleOnce } from "@ember/runloop"; 2 | 3 | export default { 4 | setupComponent(args, component) { 5 | const enabled = component.siteSettings.location_users_map; 6 | 7 | component.deferredWork = () => { 8 | let element = component.element; 9 | 10 | // Traverse up the DOM tree to find the closest ancestor with the class "location-and-website" 11 | while (element && !element.classList.contains("location-and-website")) { 12 | element = element.parentElement; 13 | } 14 | 15 | // If a matching parent is found, add the class "map-location-enabled" 16 | if (element) { 17 | element.classList.add("map-location-enabled"); 18 | } 19 | }; 20 | 21 | if (enabled) { 22 | scheduleOnce("afterRender", this, this.deferredWork); 23 | component.set("showUserLocation", !!args.user.geo_location); 24 | component.set("linkWebsite", !args.user.isBasic); 25 | } 26 | }, 27 | }; 28 | -------------------------------------------------------------------------------- /test/javascripts/fixtures/location-fixtures.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "location.json": { 3 | locations: [ 4 | { 5 | lat: 53.4058473, 6 | lon: -2.995843140624263, 7 | address: 8 | "Royal Liver Building, Water Street, Ropewalks, Liverpool, Liverpool City Region, England, L3 1EG, United Kingdom", 9 | countrycode: "gb", 10 | city: "Liverpool", 11 | state: "England", 12 | country: "United Kingdom", 13 | postalcode: "L3 1EG", 14 | boundingbox: ["53.4054453", "53.4062412", "-2.996602", "-2.9950854"], 15 | type: "attraction", 16 | }, 17 | { 18 | lat: 53.4060366, 19 | lon: -2.9950421, 20 | address: 21 | "city bike - Royal Liver Building, George's Dock Gates, Ropewalks, Liverpool, Liverpool City Region, England, L3 1BH, United Kingdom", 22 | countrycode: "gb", 23 | city: "Liverpool", 24 | state: "England", 25 | country: "United Kingdom", 26 | postalcode: "L3 1BH", 27 | boundingbox: ["53.4059866", "53.4060866", "-2.9950921", "-2.9949921"], 28 | type: "bicycle_rental", 29 | }, 30 | ], 31 | provider: "nominatim", 32 | }, 33 | }; 34 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | ast (2.4.2) 5 | json (2.6.3) 6 | parallel (1.23.0) 7 | parser (3.2.2.1) 8 | ast (~> 2.4.1) 9 | rainbow (3.1.1) 10 | regexp_parser (2.8.0) 11 | rexml (3.2.5) 12 | rubocop (1.50.2) 13 | json (~> 2.3) 14 | parallel (~> 1.10) 15 | parser (>= 3.2.0.0) 16 | rainbow (>= 2.2.2, < 4.0) 17 | regexp_parser (>= 1.8, < 3.0) 18 | rexml (>= 3.2.5, < 4.0) 19 | rubocop-ast (>= 1.28.0, < 2.0) 20 | ruby-progressbar (~> 1.7) 21 | unicode-display_width (>= 2.4.0, < 3.0) 22 | rubocop-ast (1.28.1) 23 | parser (>= 3.2.1.0) 24 | rubocop-capybara (2.18.0) 25 | rubocop (~> 1.41) 26 | rubocop-discourse (3.2.0) 27 | rubocop (>= 1.1.0) 28 | rubocop-rspec (>= 2.0.0) 29 | rubocop-factory_bot (2.22.0) 30 | rubocop (~> 1.33) 31 | rubocop-rspec (2.22.0) 32 | rubocop (~> 1.33) 33 | rubocop-capybara (~> 2.17) 34 | rubocop-factory_bot (~> 2.22) 35 | ruby-progressbar (1.13.0) 36 | unicode-display_width (2.4.2) 37 | 38 | PLATFORMS 39 | arm64-darwin-21 40 | x86_64-linux 41 | 42 | DEPENDENCIES 43 | rubocop-discourse 44 | 45 | BUNDLED WITH 46 | 2.4.6 47 | -------------------------------------------------------------------------------- /lib/users_map.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module DirectoryItemsControllerExtension 3 | def index 4 | if params[:period] === 'location' 5 | raise Discourse::InvalidAccess.new(:enable_user_directory) unless SiteSetting.enable_user_directory? 6 | raise Discourse::InvalidAccess.new(:location_users_map) unless SiteSetting.location_users_map? 7 | raise Discourse::InvalidAccess.new(:hide_user_profiles_from_public) if SiteSetting.hide_user_profiles_from_public? && !current_user 8 | 9 | limit = SiteSetting.location_users_map_limit.to_i 10 | 11 | result = DirectoryItem.joins("INNER JOIN locations_user ON directory_items.user_id = locations_user.user_id") 12 | .where("period_type = 5").includes(:user).limit(limit) 13 | 14 | serializer_opts = {} 15 | serializer_opts[:attributes] = [] 16 | 17 | serialized = serialize_data(result, DirectoryItemSerializer, serializer_opts) 18 | render_json_dump(directory_items: serialized, 19 | meta: {} 20 | ) 21 | else 22 | super 23 | end 24 | end 25 | end 26 | 27 | require_dependency 'directory_items_controller' 28 | class ::DirectoryItemsController 29 | prepend DirectoryItemsControllerExtension 30 | end 31 | -------------------------------------------------------------------------------- /test/javascripts/acceptance/topic-list-category-test.js: -------------------------------------------------------------------------------- 1 | import { visit } from "@ember/test-helpers"; 2 | import { test } from "qunit"; 3 | import { acceptance, query } from "discourse/tests/helpers/qunit-helpers"; 4 | import { cloneJSON } from "discourse-common/lib/object"; 5 | import siteFixtures from "../fixtures/site-fixtures"; 6 | import topicListFixtures from "../fixtures/topic-list-with-location-category"; 7 | 8 | acceptance( 9 | "Topic List- Show Correct Topic Location Format for Category", 10 | function (needs) { 11 | needs.user(); 12 | needs.settings({ 13 | location_enabled: true, 14 | }); 15 | needs.site(cloneJSON(siteFixtures["site.json"])); 16 | needs.pretender((server, helper) => { 17 | const topicListResponse = cloneJSON(topicListFixtures["/latest.json"]); 18 | server.get("/latest.json", () => helper.response(topicListResponse)); 19 | }); 20 | 21 | test("topic on topic list location - shows correct format", async function (assert) { 22 | await visit("/latest"); 23 | 24 | assert.equal( 25 | query( 26 | 'tr[data-topic-id="142"] span.location-after-title .location-text .label-text' 27 | ).innerText, 28 | "L1 7BL, Liverpool, United Kingdom" 29 | ); 30 | }); 31 | } 32 | ); 33 | -------------------------------------------------------------------------------- /.github/workflows/plugin-metadata.yml: -------------------------------------------------------------------------------- 1 | name: Metadata 2 | 3 | on: 4 | pull_request: 5 | 6 | jobs: 7 | build: 8 | runs-on: ubuntu-latest 9 | 10 | steps: 11 | - name: Checkout head repository 12 | uses: actions/checkout@v2 13 | 14 | - name: Store head version 15 | run: | 16 | sed -n -e 's/^.*version: /head_version=/p' plugin.rb >> $GITHUB_ENV 17 | 18 | - name: Checkout base repository 19 | uses: actions/checkout@v2 20 | with: 21 | ref: "${{ github.base_ref }}" 22 | 23 | - name: Store base version 24 | run: | 25 | sed -n -e 's/^.*version: /base_version=/p' plugin.rb >> $GITHUB_ENV 26 | 27 | - name: Setup node 28 | uses: actions/setup-node@v2 29 | with: 30 | node-version: 14 31 | 32 | - name: Install semver 33 | run: npm install --include=dev 34 | 35 | - name: Check version 36 | uses: actions/github-script@v5 37 | with: 38 | script: | 39 | const semver = require('semver'); 40 | const { head_version, base_version } = process.env; 41 | 42 | if (semver.lte(head_version, base_version)) { 43 | core.setFailed("Head version is equal to or lower than base version."); 44 | } 45 | -------------------------------------------------------------------------------- /assets/stylesheets/mobile/locations.scss: -------------------------------------------------------------------------------- 1 | #reply-control .title-and-category { 2 | align-items: start; 3 | } 4 | 5 | #reply-control .add-location-btn.no-text { 6 | position: relative; 7 | margin-left: 4px; 8 | 9 | &:not(.btn-primary) { 10 | background: var(--secondary); 11 | } 12 | } 13 | 14 | #reply-control .show-location-controls .title-input { 15 | display: flex; 16 | flex-flow: wrap; 17 | 18 | input#reply-title { 19 | width: initial; 20 | flex: 1 1 auto; 21 | } 22 | } 23 | 24 | .add-location .control-group { 25 | width: 100%; 26 | 27 | .input-location, 28 | input { 29 | width: 100%; 30 | box-sizing: border-box; 31 | } 32 | 33 | .location-name { 34 | min-height: 36px; 35 | } 36 | } 37 | 38 | .location-selector + .autocomplete { 39 | width: 90%; 40 | } 41 | 42 | .map-container.small { 43 | width: 100%; 44 | } 45 | 46 | .locations-map.expanded { 47 | top: 55px; 48 | height: calc(100vh - 55px); 49 | } 50 | 51 | .user-main 52 | .about 53 | .primary 54 | .primary-textual 55 | .location-and-website.map-location-enabled { 56 | > span { 57 | max-width: 100%; 58 | padding: 0px; 59 | } 60 | } 61 | 62 | .private_message .topic-body .user-location { 63 | margin-left: 44px; 64 | } 65 | 66 | .d-modal__body .locations-map { 67 | height: 350px; 68 | } 69 | -------------------------------------------------------------------------------- /config/locales/server.zh_CN.yml: -------------------------------------------------------------------------------- 1 | zh_CN: 2 | site_settings: 3 | location_sidebar_menu_map_link: "" 4 | location_input_fields: "" 5 | location_input_fields_enabled: "" 6 | location_geocoding: "" 7 | location_geocoding_api_key: "" 8 | location_geocoding_provider: | 9 | location_geocoding_timeout: "" 10 | location_geocoding_rate_limit: "" 11 | location_geocoding_debounce: "" 12 | location_map_tile_layer: "" 13 | location_map_tile_layer_subdomains: "" 14 | location_map_attribution: "" 15 | location_category_map_filter: "" 16 | location_topic_map: "" 17 | location_topic_status_icon: "" 18 | location_map_filter_closed: "" 19 | location_map_marker_zoom: "" 20 | location_map_zoom: "" 21 | location_map_expanded_zoom: "" 22 | location_map_center_lat: "" 23 | location_map_center_lon: "" 24 | location_map_max_topics: "" 25 | location_layouts_map_search_enabled: "" 26 | location_layouts_map_show_avatar: "" 27 | location_users_map: "" 28 | location_users_map_limit: "" 29 | location_add_no_text: "" 30 | location_country_default: "" 31 | 32 | location: 33 | errors: 34 | invalid: "" 35 | socket: "" 36 | timeout: "" 37 | request_denied: "" 38 | request_invalid: "" 39 | query_limit: "" 40 | api_key: "" 41 | service_unavailable: "" 42 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/templates/modal/add-location.hbs: -------------------------------------------------------------------------------- 1 | 2 | 16 |
17 |
18 | 19 |
20 | 25 |
26 |
{{i18n "location.name.desc"}}
27 |
28 |
29 | 30 | -------------------------------------------------------------------------------- /test/javascripts/acceptance/topic-list-test.js: -------------------------------------------------------------------------------- 1 | import { visit } from "@ember/test-helpers"; 2 | import { test } from "qunit"; 3 | import { acceptance, query } from "discourse/tests/helpers/qunit-helpers"; 4 | import { cloneJSON } from "discourse-common/lib/object"; 5 | import siteFixtures from "../fixtures/site-fixtures"; 6 | import topicListFixtures from "../fixtures/topic-list-with-location"; 7 | 8 | acceptance("Topic List- Show Correct Topic Location Format", function (needs) { 9 | needs.user(); 10 | needs.settings({ 11 | location_enabled: true, 12 | }); 13 | needs.site(cloneJSON(siteFixtures["site.json"])); 14 | needs.pretender((server, helper) => { 15 | const topicListResponse = cloneJSON(topicListFixtures["/latest.json"]); 16 | server.get("/latest.json", () => helper.response(topicListResponse)); 17 | }); 18 | 19 | test("topic on topic list location - shows correct format", async function (assert) { 20 | await visit("/latest"); 21 | 22 | assert.equal( 23 | query( 24 | 'tr[data-topic-id="36"] span.location-after-title .location-text .label-text' 25 | ).innerText, 26 | "Pompidou, Paris, France" 27 | ); 28 | }); 29 | 30 | test("topic on topic list location - doesn't include location after title span when there is no location", async function (assert) { 31 | await visit("/latest"); 32 | 33 | assert.equal( 34 | query('tr[data-topic-id="35"] span.location-after-title'), 35 | null 36 | ); 37 | }); 38 | }); 39 | -------------------------------------------------------------------------------- /assets/lib/leaflet/MarkerCluster.Default.css: -------------------------------------------------------------------------------- 1 | .marker-cluster-small { 2 | background-color: rgba(181, 226, 140, 0.6); 3 | } 4 | .marker-cluster-small div { 5 | background-color: rgba(110, 204, 57, 0.6); 6 | } 7 | 8 | .marker-cluster-medium { 9 | background-color: rgba(241, 211, 87, 0.6); 10 | } 11 | .marker-cluster-medium div { 12 | background-color: rgba(240, 194, 12, 0.6); 13 | } 14 | 15 | .marker-cluster-large { 16 | background-color: rgba(253, 156, 115, 0.6); 17 | } 18 | .marker-cluster-large div { 19 | background-color: rgba(241, 128, 23, 0.6); 20 | } 21 | 22 | /* IE 6-8 fallback colors */ 23 | .leaflet-oldie .marker-cluster-small { 24 | background-color: rgb(181, 226, 140); 25 | } 26 | .leaflet-oldie .marker-cluster-small div { 27 | background-color: rgb(110, 204, 57); 28 | } 29 | 30 | .leaflet-oldie .marker-cluster-medium { 31 | background-color: rgb(241, 211, 87); 32 | } 33 | .leaflet-oldie .marker-cluster-medium div { 34 | background-color: rgb(240, 194, 12); 35 | } 36 | 37 | .leaflet-oldie .marker-cluster-large { 38 | background-color: rgb(253, 156, 115); 39 | } 40 | .leaflet-oldie .marker-cluster-large div { 41 | background-color: rgb(241, 128, 23); 42 | } 43 | 44 | .marker-cluster { 45 | background-clip: padding-box; 46 | border-radius: 20px; 47 | } 48 | .marker-cluster div { 49 | width: 30px; 50 | height: 30px; 51 | margin-left: 5px; 52 | margin-top: 5px; 53 | 54 | text-align: center; 55 | border-radius: 15px; 56 | font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif; 57 | } 58 | .marker-cluster span { 59 | line-height: 30px; 60 | } 61 | -------------------------------------------------------------------------------- /db/migrate/20231128010101_populate_locations_user_table.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | class PopulateLocationsUserTable < ActiveRecord::Migration[7.0] 3 | def up 4 | DB.exec <<~SQL 5 | INSERT INTO locations_user (user_id, latitude, longitude, street, district, city, state, postalcode, country, countrycode, international_code, locationtype, boundingbox, updated_at, created_at) ( 6 | SELECT 7 | uc.user_id, 8 | (uc.value::json->>'lat')::FLOAT, 9 | (uc.value::json->>'lon')::FLOAT, 10 | uc.value::json->>'street', 11 | uc.value::json->>'district', 12 | uc.value::json->>'city', 13 | uc.value::json->>'state', 14 | uc.value::json->>'postalcode', 15 | uc.value::json->>'country', 16 | uc.value::json->>'countrycode', 17 | uc.value::json->>'international_code', 18 | uc.value::json->>'type', 19 | ARRAY[ 20 | (uc.value::json->'boundingbox'->>0)::FLOAT, 21 | (uc.value::json->'boundingbox'->>1)::FLOAT, 22 | (uc.value::json->'boundingbox'->>2)::FLOAT, 23 | (uc.value::json->'boundingbox'->>3)::FLOAT 24 | ], 25 | uc.updated_at, 26 | uc.created_at 27 | FROM user_custom_fields uc 28 | WHERE uc.name = 'geo_location' 29 | AND uc.value NOT IN ('"{}"', '{}', '') 30 | AND uc.value::json->>'lat' IS NOT NULL 31 | AND uc.value::json->>'lon' IS NOT NULL 32 | ) 33 | ON CONFLICT DO NOTHING 34 | SQL 35 | end 36 | 37 | def down 38 | ::Locations::UserLocation.delete_all 39 | end 40 | end 41 | -------------------------------------------------------------------------------- /app/models/locations/topic_location.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ::Locations 4 | class TopicLocation < ActiveRecord::Base 5 | extend Geocoder::Model::ActiveRecord 6 | self.table_name = 'locations_topic' 7 | 8 | belongs_to :topic 9 | validates :longitude, presence: true 10 | validates :latitude, presence: true 11 | geocoded_by :address 12 | after_validation :geocode 13 | reverse_geocoded_by :latitude, :longitude 14 | after_validation :reverse_geocode 15 | 16 | def address 17 | [street, city, state, postalcode, country].compact.join(', ') 18 | end 19 | end 20 | end 21 | 22 | # == Schema Information 23 | # 24 | # Table name: locations_topic 25 | # 26 | # id :bigint not null, primary key 27 | # boundingbox :float is an Array 28 | # city :string 29 | # country :string 30 | # countrycode :string 31 | # district :string 32 | # international_code :string 33 | # latitude :float not null 34 | # locationtype :string 35 | # longitude :float not null 36 | # name :string 37 | # postalcode :string 38 | # state :string 39 | # street :string 40 | # created_at :datetime not null 41 | # updated_at :datetime not null 42 | # topic_id :integer not null 43 | # 44 | # Indexes 45 | # 46 | # composite_index_on_locations_topic (latitude,longitude) 47 | # index_locations_topic_on_topic_id (topic_id) UNIQUE 48 | # 49 | -------------------------------------------------------------------------------- /app/models/locations/user_location.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ::Locations 4 | class UserLocation < ActiveRecord::Base 5 | extend Geocoder::Model::ActiveRecord 6 | self.table_name = 'locations_user' 7 | 8 | belongs_to :user 9 | validates :user_id, presence: true, uniqueness: true 10 | validates :longitude, presence: true 11 | validates :latitude, presence: true 12 | geocoded_by :address 13 | after_validation :geocode 14 | reverse_geocoded_by :latitude, :longitude 15 | after_validation :reverse_geocode 16 | 17 | def address 18 | [street, city, state, postalcode, country].compact.join(', ') 19 | end 20 | end 21 | end 22 | 23 | # == Schema Information 24 | # 25 | # Table name: locations_user 26 | # 27 | # id :bigint not null, primary key 28 | # boundingbox :float is an Array 29 | # city :string 30 | # country :string 31 | # countrycode :string 32 | # district :string 33 | # international_code :string 34 | # latitude :float not null 35 | # locationtype :string 36 | # longitude :float not null 37 | # postalcode :string 38 | # state :string 39 | # street :string 40 | # created_at :datetime not null 41 | # updated_at :datetime not null 42 | # user_id :integer not null 43 | # 44 | # Indexes 45 | # 46 | # composite_index_on_locations_user (latitude,longitude) 47 | # index_locations_user_on_user_id (user_id) UNIQUE 48 | # 49 | -------------------------------------------------------------------------------- /app/controllers/locations/geocode_controller.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module ::Locations 3 | class GeocodeController < ::ApplicationController 4 | def search 5 | params.require(:request) 6 | 7 | rate_limit = SiteSetting.location_geocoding_rate_limit 8 | RateLimiter.new(current_user, 'geocode_search', rate_limit, 1.minute).performed! 9 | 10 | error = nil 11 | 12 | begin 13 | result = Locations::Geocode.search(current_user, params[:request]) 14 | rescue => error 15 | error = error 16 | end 17 | 18 | if error 19 | render json: failed_json.merge(message: error.message) 20 | else 21 | render_json_dump( 22 | locations: serialize_data(result[:locations], Locations::GeoLocationSerializer), 23 | provider: result[:provider] 24 | ) 25 | end 26 | end 27 | 28 | def validate 29 | params.require(:geo_location) 30 | params.permit(:context) 31 | 32 | messages = [] 33 | geo_location = params[:geo_location] 34 | context = params[:context] || nil 35 | 36 | Locations::Geocode.validators.each do |validator| 37 | if response = validator[:block].call(geo_location, context) 38 | geo_location = response['geo_location'] if response['geo_location'] 39 | messages.push(response['message']) if response['message'] 40 | end 41 | end 42 | 43 | render json: success_json.merge(messages: messages, geo_location: geo_location) 44 | end 45 | 46 | def countries 47 | render json: Locations::Country.codes 48 | end 49 | end 50 | end 51 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/components/replace-location.gjs: -------------------------------------------------------------------------------- 1 | import Component from "@glimmer/component"; 2 | import { service } from "@ember/service"; 3 | import bodyClass from "discourse/helpers/body-class"; 4 | import icon from "discourse-common/helpers/d-icon"; 5 | import UserLocation from "./user-location"; 6 | 7 | export default class ReplaceLocationComponent extends Component { 8 | @service siteSettings; 9 | 10 | get showUserLocation() { 11 | return ( 12 | !!this.args.model.custom_fields?.geo_location && 13 | this.args.model.custom_fields?.geo_location !== "{}" 14 | ); 15 | } 16 | 17 | get linkWebsite() { 18 | return !this.args.model.isBasic; 19 | } 20 | 21 | get removeNoFollow() { 22 | return ( 23 | this.args.model.trust_level > 2 && !this.siteSettings.tl3_links_no_follow 24 | ); 25 | } 26 | 27 | 52 | } 53 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/initializers/location-map-edits.js: -------------------------------------------------------------------------------- 1 | import { withPluginApi } from "discourse/lib/plugin-api"; 2 | import { default as discourseComputed } from "discourse-common/utils/decorators"; 3 | import I18n from "I18n"; 4 | 5 | const PLUGIN_ID = "locations-plugin"; 6 | 7 | export default { 8 | name: "location-map-renderer", 9 | initialize(container) { 10 | withPluginApi("0.8.12", (api) => { 11 | const siteSettings = container.lookup("site-settings:main"); 12 | const currentUser = container.lookup("service:current-user"); 13 | 14 | if (siteSettings.location_sidebar_menu_map_link) { 15 | api.addCommunitySectionLink({ 16 | name: "map", 17 | route: "discovery.map", 18 | title: I18n.t("filters.map.title"), 19 | text: I18n.t("filters.map.label"), 20 | }); 21 | } 22 | 23 | if ( 24 | siteSettings.location_users_map && 25 | siteSettings.enable_user_directory && 26 | !(!currentUser && siteSettings.hide_user_profiles_from_public) 27 | ) { 28 | api.addCommunitySectionLink({ 29 | name: "users map", 30 | route: "locations.users-map", 31 | title: I18n.t("directory.map.title"), 32 | text: I18n.t("directory.map.title"), 33 | }); 34 | } 35 | 36 | api.modifyClass("component:user-card-contents", { 37 | pluginId: PLUGIN_ID, 38 | 39 | @discourseComputed("user") 40 | hasLocaleOrWebsite(user) { 41 | return ( 42 | user.geo_location || 43 | user.location || 44 | user.website_name || 45 | this.userTimezone 46 | ); 47 | }, 48 | }); 49 | }); 50 | }, 51 | }; 52 | -------------------------------------------------------------------------------- /spec/controllers/geocode_controller_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require 'rails_helper' 3 | 4 | describe ::Locations::GeocodeController do 5 | routes { ::Locations::Engine.routes } 6 | 7 | let!(:user) { log_in(:user) } 8 | let(:category) { Fabricate(:category, custom_fields: { location_enabled: true }) } 9 | 10 | describe 'search' do 11 | it 'works' do 12 | SiteSetting.location_geocoding_provider = :nominatim 13 | 14 | stub_request(:get, 'https://nominatim.openstreetmap.org/search?accept-language=en&addressdetails=1&format=json&q=10%20Downing%20Street') 15 | .with(headers: { 'Accept' => '*/*', 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent' => 'Ruby' }) 16 | .to_return(status: 200, body: '', headers: {}) 17 | 18 | get :search, params: { request: '10 Downing Street' }, format: :json 19 | expect(response).to have_http_status(:successful) 20 | end 21 | 22 | it 'rate limits geocode searches' do 23 | RateLimiter.stubs(:disabled?).returns(false) 24 | RateLimiter.clear_all_global! 25 | 26 | 6.times do 27 | get :search, params: { request: '10 Downing Street' }, format: :json 28 | expect(response).to have_http_status(:successful) 29 | end 30 | 31 | get :search, params: { request: '10 Downing Street' }, format: :json 32 | expect(response).not_to have_http_status(:successful) 33 | end 34 | end 35 | 36 | describe 'country_codes' do 37 | it 'works' do 38 | get :countries, format: :json 39 | expect(response).to have_http_status(:successful) 40 | json = ::JSON.parse(response.body) 41 | 42 | expect(json['geocode'][0]['code']).to eq('af') 43 | end 44 | end 45 | end 46 | -------------------------------------------------------------------------------- /db/migrate/20231128010103_populate_locations_topic_table.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | class PopulateLocationsTopicTable < ActiveRecord::Migration[7.0] 3 | def up 4 | DB.exec <<~SQL 5 | INSERT INTO locations_topic (topic_id, latitude, longitude, name, street, district, city, state, postalcode, country, countrycode, international_code, locationtype, boundingbox, updated_at, created_at) ( 6 | SELECT 7 | tc.topic_id, 8 | (tc.value::json->'geo_location'->>'lat')::FLOAT, 9 | (tc.value::json->'geo_location'->>'lon')::FLOAT, 10 | tc.value::json->'geo_location'->>'name', 11 | tc.value::json->'geo_location'->>'street', 12 | tc.value::json->'geo_location'->>'district', 13 | tc.value::json->'geo_location'->>'city', 14 | tc.value::json->'geo_location'->>'state', 15 | tc.value::json->'geo_location'->>'postalcode', 16 | tc.value::json->'geo_location'->>'country', 17 | tc.value::json->'geo_location'->>'countrycode', 18 | tc.value::json->'geo_location'->>'international_code', 19 | tc.value::json->'geo_location'->>'type', 20 | ARRAY[ 21 | (tc.value::json->'geo_location'->'boundingbox'->>0)::FLOAT, 22 | (tc.value::json->'geo_location'->'boundingbox'->>1)::FLOAT, 23 | (tc.value::json->'geo_location'->'boundingbox'->>2)::FLOAT, 24 | (tc.value::json->'geo_location'->'boundingbox'->>3)::FLOAT 25 | ], 26 | tc.updated_at, 27 | tc.created_at 28 | FROM topic_custom_fields tc 29 | WHERE tc.name = 'location' 30 | AND tc.value NOT IN ('"{}"', '{}', '') 31 | AND tc.value::json->'geo_location'->>'lat' IS NOT NULL 32 | AND tc.value::json->'geo_location'->>'lon' IS NOT NULL 33 | ) 34 | ON CONFLICT DO NOTHING 35 | SQL 36 | end 37 | 38 | def down 39 | ::Locations::TopicLocation.delete_all 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /config/locales/client.zh_CN.yml: -------------------------------------------------------------------------------- 1 | zh_CN: 2 | js: 3 | category: 4 | location_enabled: "允许在本分类的主题中插入位置。" 5 | location_topic_status: "为本分类的题中启用位置状态图标。" 6 | location_map_filter_closed: "将本分类中被关闭的主题过滤出地图主题列表。" 7 | composer: 8 | location: 9 | btn: "添加位置" 10 | title: "添加位置" 11 | location: 12 | address: "地址" 13 | name: 14 | title: "名称(可选)" 15 | desc: "如:补牙张医生" 16 | street: 17 | title: "街道和门牌号" 18 | desc: "如:宛平南路600号" 19 | postalcode: 20 | title: "邮政编码" 21 | desc: "如:100025" 22 | neighbourhood: 23 | title: "小区" 24 | desc: "如:中南海" 25 | city: 26 | title: "城/镇/村" 27 | desc: "如:新乡" 28 | state: 29 | title: "省" 30 | desc: "如:海南" 31 | country_code: 32 | title: "国家" 33 | placeholder: "选择一个国家" 34 | coordinates: "坐标" 35 | lat: 36 | title: "纬度" 37 | desc: "如:-31.9456702" 38 | lon: 39 | title: "经度" 40 | desc: "如:115.8626477" 41 | query: 42 | title: "地址" 43 | desc: "如:新乡市宛平南路600号" 44 | geo: 45 | desc: "位置由 {{provider}} 提供" 46 | btn: 47 | label: "搜索地址" 48 | results: "地址" 49 | no_results: "无结果" 50 | show_map: "显示地图" 51 | label: 52 | add: "添加位置" 53 | title: "显示位置详情" 54 | clear: "清除" 55 | done: "完成" 56 | errors: 57 | search: "寻找给定的地址时出了些幺蛾子。请过 5 秒重试。" 58 | 59 | filters: 60 | map: 61 | title: "地图" 62 | help: "在地图上标记出本分类中有位置的主题。" 63 | map: 64 | search_placeholder: "搜索" 65 | 66 | topic_statuses: 67 | location: 68 | help: "该主题有位置。" 69 | 70 | user: 71 | map_location: 72 | title: "地图位置" 73 | warning: 您给出的位置会公开显示。 74 | 75 | directory: 76 | map: 77 | title: "用户地图" 78 | 79 | list: 80 | title: "用户列表" 81 | -------------------------------------------------------------------------------- /spec/requests/user_controller_location_update_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require 'rails_helper' 3 | 4 | RSpec.describe UsersController do 5 | fab!(:user) 6 | user_field = Fabricate(:user_field, editable: true) 7 | before do 8 | sign_in(user) 9 | SiteSetting.location_enabled = true 10 | SiteSetting.location_users_map = true 11 | end 12 | 13 | context "locations plugin checks for valid geolocation parameters which at minimum need to include both latitude and longitude" do 14 | it "allows user to upload valid geolocation to their profile" do 15 | put "/u/#{user.username}.json", 16 | params: { 17 | custom_fields: { 18 | geo_location: { lat: 10, lon: 12 }, 19 | }, 20 | } 21 | 22 | expect(response.status).to eq(200) 23 | result = response.parsed_body 24 | expect(result["success"]).to eq("OK") 25 | expect(user.custom_fields["geo_location"]["lat"]).to eq("10") 26 | expect(user.custom_fields["geo_location"]["lon"]).to eq("12") 27 | end 28 | 29 | it "doesn't allow user to upload invalid geolocation to their profile" do 30 | put "/u/#{user.username}.json", 31 | params: { 32 | custom_fields: { 33 | geo_location: { lat: 10 }, 34 | }, 35 | } 36 | 37 | expect(response.status).to eq(400) 38 | result = response.parsed_body 39 | expect(result["error_type"]).to eq("invalid_parameters") 40 | end 41 | 42 | it "allows user to upload a different custom user field who doesn't have a location" do 43 | put "/u/#{user.username}.json", 44 | params: { 45 | user_fields: { 46 | user_field.id.to_s => "happy", 47 | }, 48 | } 49 | 50 | expect(response.status).to eq(200) 51 | result = response.parsed_body 52 | expect(result["success"]).to eq("OK") 53 | expect(user.user_fields[user_field.id.to_s]).to eq("happy") 54 | end 55 | end 56 | end 57 | -------------------------------------------------------------------------------- /spec/requests/directory_items_controller_locations_extensions_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require 'rails_helper' 3 | 4 | RSpec.describe DirectoryItemsController do 5 | fab!(:user) 6 | 7 | context "browsing the users map" do 8 | before(:each) do 9 | SiteSetting.location_enabled = true 10 | sign_in(user) 11 | end 12 | it "allows user to browse the users map" do 13 | SiteSetting.location_users_map = true 14 | SiteSetting.enable_user_directory = true 15 | get "/directory_items.json?period=location" 16 | expect(response.status).to eq(200) 17 | end 18 | it "doesn't allow user to browse the users map when user directory is disabled" do 19 | SiteSetting.location_users_map = true 20 | SiteSetting.enable_user_directory = false 21 | get "/directory_items.json?period=location" 22 | expect(response.status).to eq(403) 23 | expect(response.parsed_body["error_type"]).to eq("invalid_access") 24 | end 25 | it "doesn't allow user to browse the users map when user map is disabled" do 26 | SiteSetting.location_users_map = false 27 | SiteSetting.enable_user_directory = true 28 | get "/directory_items.json?period=location" 29 | expect(response.status).to eq(403) 30 | expect(response.parsed_body["error_type"]).to eq("invalid_access") 31 | end 32 | end 33 | context "when the plugin is enabled but the user is not logged in" do 34 | before do 35 | SiteSetting.location_users_map = true 36 | SiteSetting.enable_user_directory = true 37 | SiteSetting.hide_user_profiles_from_public = true 38 | end 39 | it "doesn't allow user to browse the users map when the plugin is enabled but the user is not logged in" do 40 | sign_out 41 | get "/directory_items.json?period=location" 42 | expect(response.status).to eq(403) 43 | expect(response.parsed_body["error_type"]).to eq("invalid_access") 44 | end 45 | end 46 | end 47 | -------------------------------------------------------------------------------- /assets/javascripts/discourse/connectors/user-custom-preferences/map-location.gjs: -------------------------------------------------------------------------------- 1 | import Component from "@glimmer/component"; 2 | import { tracked } from "@glimmer/tracking"; 3 | import { array } from "@ember/helper"; 4 | import { action } from "@ember/object"; 5 | import { service } from "@ember/service"; 6 | import icon from "discourse-common/helpers/d-icon"; 7 | import i18n from "discourse-common/helpers/i18n"; 8 | import LocationSelector from "../../components/location-selector"; 9 | 10 | export default class UserCustomPrefsMapLocation extends Component { 11 | @service siteSettings; 12 | @tracked error = null; 13 | 14 | @action 15 | searchError(error) { 16 | this.error = error; 17 | } 18 | 19 | @action 20 | updateLocation(location) { 21 | this.error = null; 22 | this.args.outletArgs.model.custom_fields.geo_location = location; 23 | } 24 | 25 | 55 | } 56 | -------------------------------------------------------------------------------- /test/javascripts/acceptance/map-to-do.js: -------------------------------------------------------------------------------- 1 | import { visit } from "@ember/test-helpers"; 2 | import { test } from "qunit"; 3 | import { acceptance, exists } from "discourse/tests/helpers/qunit-helpers"; 4 | import { cloneJSON } from "discourse-common/lib/object"; 5 | import altSiteFixtures from "../fixtures/alt-site-fixtures"; 6 | import mapFixtures from "../fixtures/map-fixtures"; 7 | 8 | // TODO This currently won't work because qunit does not currently see the L global variable for Leaflet. Rename file once resolved. 9 | 10 | acceptance("Topic Map - Show Correct Population", function (needs) { 11 | needs.user(); 12 | needs.settings({ 13 | location_enabled: true, 14 | }); 15 | needs.site(cloneJSON(altSiteFixtures["site.json"])); 16 | needs.pretender((server, helper) => { 17 | const categoryMapResponse = cloneJSON(mapFixtures["/category_map.json"]); 18 | server.get("/c/general/announcements/24/l/map.json", () => 19 | helper.response(categoryMapResponse) 20 | ); 21 | const mapResponse = cloneJSON(mapFixtures["/map.json"]); 22 | server.get("/map.json", () => helper.response(mapResponse)); 23 | }); 24 | 25 | test("Category map includes the right topics", async function (assert) { 26 | await visit("/c/general/announcements/24/l/map"); 27 | 28 | assert.ok( 29 | exists( 30 | 'img.leaflet-marker-icon[title="Coolest thing you have seen today"]' 31 | ), 32 | "Announcement Topic Location exists" 33 | ); 34 | 35 | assert.false( 36 | exists('img.leaflet-marker-icon[title="The Room Appreciation Topic"]'), 37 | "Software and Operating Systems Topic Location does not exist" 38 | ); 39 | }); 40 | 41 | test("General map shows topics from all Categories", async function (assert) { 42 | await visit("/map"); 43 | 44 | assert.ok( 45 | exists( 46 | 'img.leaflet-marker-icon[title="Coolest thing you have seen today"]' 47 | ), 48 | "Announcement Topic Location exists" 49 | ); 50 | 51 | assert.ok( 52 | exists('img.leaflet-marker-icon[title="The Room Appreciation Topic"]'), 53 | "Software and Operating Systems Topic Location does exist" 54 | ); 55 | }); 56 | }); 57 | -------------------------------------------------------------------------------- /spec/requests/topic_controller_location_update_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require "rails_helper" 3 | 4 | RSpec.describe TopicsController do 5 | fab!(:user) { Fabricate(:user, refresh_auto_groups: true) } 6 | fab!(:category) { Fabricate(:category, custom_fields: { location_enabled: true }) } 7 | 8 | before do 9 | sign_in(user) 10 | SiteSetting.location_enabled = true 11 | end 12 | 13 | describe "#create" do 14 | it "should create topic with custom fields and create TopicLocation" do 15 | post "/posts.json", 16 | params: { 17 | raw: "this is the test content", 18 | title: "this is the test title for the topic", 19 | category: category.id, 20 | location: { 21 | geo_location: { 22 | lat: 10, 23 | lon: 12, 24 | }, 25 | }, 26 | } 27 | expect(response.status).to eq(200) 28 | 29 | result = response.parsed_body 30 | topic = Topic.find(result["topic_id"]) 31 | 32 | expect(topic.custom_fields).to eq( 33 | { 34 | "has_geo_location" => true, 35 | "location" => { 36 | "geo_location" => { 37 | "lat" => "10", 38 | "lon" => "12", 39 | }, 40 | }, 41 | }, 42 | ) 43 | expect(::Locations::TopicLocation.find_by(topic: topic)).to be_present 44 | end 45 | end 46 | 47 | describe "#update" do 48 | fab!(:topic) { Fabricate(:topic, user: user) } 49 | fab!(:post) { Fabricate(:post, user: user, topic: topic) } 50 | 51 | it "should update topic with custom fields and create TopicLocation" do 52 | put "/t/#{topic.id}.json", params: { location: { geo_location: { lat: 10, lon: 12 } } } 53 | 54 | expect(response.status).to eq(200) 55 | 56 | topic.reload 57 | expect(topic.custom_fields).to eq( 58 | { 59 | "has_geo_location" => true, 60 | "location" => { 61 | "geo_location" => { 62 | "lat" => "10", 63 | "lon" => "12", 64 | }, 65 | }, 66 | }, 67 | ) 68 | expect(::Locations::TopicLocation.find_by(topic: topic)).to be_present 69 | end 70 | end 71 | end 72 | -------------------------------------------------------------------------------- /test/javascripts/acceptance/topic-location-input-fields-disabled-test.js: -------------------------------------------------------------------------------- 1 | import { click, fillIn, visit } from "@ember/test-helpers"; 2 | import { test } from "qunit"; 3 | import { acceptance, visible } from "discourse/tests/helpers/qunit-helpers"; 4 | import { cloneJSON } from "discourse-common/lib/object"; 5 | import locationFixtures from "../fixtures/location-fixtures"; 6 | import siteFixtures from "../fixtures/site-fixtures"; 7 | import topicFixtures from "../fixtures/topic-fixtures"; 8 | 9 | acceptance( 10 | "Topic - Show Correct Location after entering location with Input Fields Disabled", 11 | function (needs) { 12 | needs.user({ 13 | username: "demetria_gutmann", 14 | id: 134, 15 | }); 16 | needs.settings({ 17 | location_enabled: true, 18 | location_input_fields_enabled: false, 19 | location_auto_infer_street_from_address_data: false, 20 | location_short_names: false, 21 | }); 22 | needs.site(cloneJSON(siteFixtures["site.json"])); 23 | needs.pretender((server, helper) => { 24 | const topicResponse = cloneJSON(topicFixtures["/t/51/1.json"]); 25 | server.get("/t/51/1.json", () => helper.response(topicResponse)); 26 | const locationResponse = cloneJSON(locationFixtures["location.json"]); 27 | server.get("/locations/search", () => helper.response(locationResponse)); 28 | }); 29 | 30 | test("enter Topic location via dialogue without address fields", async function (assert) { 31 | await visit("/t/online-learning/51/1"); 32 | await click("a.fancy-title"); 33 | await click("button.add-location-btn"); 34 | assert.ok(visible(".add-location-modal"), "add location modal is shown"); 35 | await click(".location-selector .d-multi-select-trigger"); 36 | await fillIn(".d-multi-select__search-input", "liver building"); 37 | await click(".location-form-result:first-child label"); 38 | 39 | assert 40 | .dom(".location-selector .d-multi-select-trigger__selection-label") 41 | .hasText( 42 | "Royal Liver Building, Water Street, Ropewalks, Liverpool, Liverpool City Region, England, L3 1EG, United Kingdom" 43 | ); 44 | 45 | await fillIn(".location-name", "Home Sweet Home"); 46 | await click("#save-location"); 47 | 48 | assert 49 | .dom("button.add-location-btn span.d-button-label") 50 | .hasText("Home Sweet Home, L3 1EG, Liverpool, United Kingdom"); 51 | }); 52 | } 53 | ); 54 | -------------------------------------------------------------------------------- /test/javascripts/acceptance/topic-and-user-card-test.js: -------------------------------------------------------------------------------- 1 | import { click, visit } from "@ember/test-helpers"; 2 | import { test } from "qunit"; 3 | import { acceptance, query } from "discourse/tests/helpers/qunit-helpers"; 4 | import { cloneJSON } from "discourse-common/lib/object"; 5 | import locationFixtures from "../fixtures/location-fixtures"; 6 | import siteFixtures from "../fixtures/site-fixtures"; 7 | import topicFixtures from "../fixtures/topic-fixtures"; 8 | import userFixtures from "../fixtures/user-fixtures"; 9 | 10 | acceptance( 11 | "Topic & User Card - Show Correct User Location Format", 12 | function (needs) { 13 | needs.user({ 14 | username: "demetria_gutmann", 15 | id: 134, 16 | }); 17 | needs.settings({ 18 | location_enabled: true, 19 | location_user_profile_format: "city|countrycode", 20 | location_user_post_format: "city|countrycode", 21 | location_input_fields_enabled: true, 22 | location_auto_infer_street_from_address_data: true, 23 | location_user_post: true, 24 | location_users_map: true, 25 | hide_user_profiles_from_public: false, 26 | }); 27 | needs.site(cloneJSON(siteFixtures["site.json"])); 28 | needs.pretender((server, helper) => { 29 | const cardResponse = cloneJSON(userFixtures["/u/merefield/card.json"]); 30 | server.get("/u/merefield/card.json", () => helper.response(cardResponse)); 31 | const topicResponse = cloneJSON(topicFixtures["/t/51/1.json"]); 32 | server.get("/t/51/1.json", () => helper.response(topicResponse)); 33 | const locationResponse = cloneJSON(locationFixtures["location.json"]); 34 | server.get("/locations/search", () => helper.response(locationResponse)); 35 | }); 36 | 37 | test("topic title location, post user & user card location - shows correct format", async function (assert) { 38 | await visit("/t/online-learning/51/1"); 39 | assert.equal( 40 | query("span.location-text").innerText, 41 | "Pompidou, Paris, France" 42 | ); 43 | 44 | assert.equal( 45 | query(".small-action-desc.timegap").innerText, 46 | "2 years later" 47 | ); 48 | 49 | assert.equal(query("#post_3 .user-location").innerText, "Paris, France"); 50 | 51 | await click('a[data-user-card="merefield"]'); 52 | 53 | assert.equal( 54 | query(".user-card .location-label").innerText, 55 | "London, United Kingdom" 56 | ); 57 | }); 58 | } 59 | ); 60 | -------------------------------------------------------------------------------- /config/locales/client.pt_BR.yml: -------------------------------------------------------------------------------- 1 | pt_BR: 2 | js: 3 | category: 4 | location_enabled: "Permitir adicionar localizações nos tópicos desta categoria. " 5 | location_topic_status: "Ativar ícones em tópicos com localizações nesta categoria." 6 | location_map_filter_closed: "Filtrar tópicos fechados do mapa nesta categoria." 7 | composer: 8 | location: 9 | btn: "Adicionar uma localização. " 10 | title: "Adicionar uma localização." 11 | location: 12 | address: "Endereço" 13 | name: 14 | title: "Nome (opcional)" 15 | desc: "Ex: Consultório da Ana" 16 | street: 17 | title: "Número e Rua" 18 | desc: "Ex: Rua A, 42" 19 | postalcode: 20 | title: "Código Postal (CEP)" 21 | desc: "Ex: 31110090" 22 | neighbourhood: 23 | title: "Bairro" 24 | desc: "Ex: Centro" 25 | city: 26 | title: "Cidade" 27 | desc: "Ex: São Paulo" 28 | state: 29 | title: "Estado" 30 | desc: "Ex: Minas Gerais" 31 | country_code: 32 | title: "País" 33 | placeholder: "Selecione um país" 34 | coordinates: "Coordenadas" 35 | lat: 36 | title: "Latitude" 37 | desc: "Ex: -31.9456702" 38 | lon: 39 | title: "Longitude" 40 | desc: "Ex: 115.8626477" 41 | query: 42 | title: "Endereço" 43 | desc: "Ex: Rua A, 52, São Paulo." 44 | geo: 45 | desc: "Localização fornecida por {{provider}}" 46 | btn: 47 | label: "Pesquisar endereço" 48 | results: "Endereços" 49 | no_results: "Sem resultados." 50 | show_map: "Mostrar mapa" 51 | label: 52 | add: "Adicionar uma localização." 53 | title: "Mostrar detalhes" 54 | clear: "Limpo" 55 | done: "Concluído." 56 | errors: 57 | search: "Houve um problema na pesquisa desse endereço. Tente novamente em 5 segundos. " 58 | 59 | filters: 60 | map: 61 | title: "Mapa" 62 | help: "Marcar tópicos com localizações nessa categoria em um mapa." 63 | map: 64 | search_placeholder: "Pesquisar" 65 | 66 | topic_statuses: 67 | location: 68 | help: "Este tópico tem uma localização." 69 | 70 | user: 71 | map_location: 72 | title: "Localização do mapa" 73 | warning: "Sua localização será visível publicamente. " 74 | 75 | directory: 76 | map: 77 | title: "Mapa dos Usuários " 78 | 79 | list: 80 | title: "Lista dos Usuários" 81 | -------------------------------------------------------------------------------- /test/javascripts/acceptance/topic-location-input-fields-disabled-short-name-test.js: -------------------------------------------------------------------------------- 1 | import { click, fillIn, visit } from "@ember/test-helpers"; 2 | import { test } from "qunit"; 3 | import { acceptance, visible } from "discourse/tests/helpers/qunit-helpers"; 4 | import { cloneJSON } from "discourse-common/lib/object"; 5 | import locationFixtures from "../fixtures/location-fixtures"; 6 | import siteFixtures from "../fixtures/site-fixtures"; 7 | import topicFixtures from "../fixtures/topic-fixtures"; 8 | 9 | acceptance( 10 | "Topic - Show Correct Location with Input Fields Disabled and Short Names setting", 11 | function (needs) { 12 | needs.user({ 13 | username: "demetria_gutmann", 14 | id: 134, 15 | }); 16 | needs.settings({ 17 | location_enabled: true, 18 | location_input_fields_enabled: false, 19 | location_auto_infer_street_from_address_data: false, 20 | location_short_names: true, 21 | }); 22 | needs.site(cloneJSON(siteFixtures["site.json"])); 23 | needs.pretender((server, helper) => { 24 | const topicResponse = cloneJSON(topicFixtures["/t/51/1.json"]); 25 | server.get("/t/51/1.json", () => helper.response(topicResponse)); 26 | const locationResponse = cloneJSON(locationFixtures["location.json"]); 27 | server.get("/locations/search", () => helper.response(locationResponse)); 28 | }); 29 | 30 | test("enter Topic location via dialogue without address fields", async function (assert) { 31 | await visit("/t/online-learning/51/1"); 32 | await click("a.fancy-title"); 33 | await click("button.add-location-btn"); 34 | assert.ok(visible(".add-location-modal"), "add location modal is shown"); 35 | await click(".location-selector .d-multi-select-trigger"); 36 | await fillIn(".d-multi-select__search-input", "liver building"); 37 | await click(".location-form-result:first-child label"); 38 | 39 | assert 40 | .dom(".location-selector .d-multi-select-trigger__selection-label") 41 | .hasText( 42 | "Royal Liver Building, Water Street, Ropewalks, Liverpool, Liverpool City Region, England, L3 1EG, United Kingdom" 43 | ); 44 | 45 | await fillIn(".location-name", "Home Sweet Home"); 46 | await click("#save-location"); 47 | 48 | assert 49 | .dom("button.add-location-btn span.d-button-label") 50 | .hasText("Home Sweet Home, L3 1EG, Liverpool, United Kingdom"); 51 | 52 | await click("button.submit-edit"); 53 | assert 54 | .dom(".location-label-container .location-text") 55 | .hasText("Home Sweet Home"); 56 | }); 57 | } 58 | ); 59 | -------------------------------------------------------------------------------- /config/locales/client.sl.yml: -------------------------------------------------------------------------------- 1 | sl: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Dovoli dodajanje lokacije na teme v tej kategoriji" 6 | location_topic_status: "Omogoči ikone lokacije na seznamu tem v tej kategoriji." 7 | location_map_filter_closed: "Ne prikaži zaprtih tem na zemljevidu v tej kategoriji." 8 | composer: 9 | location: 10 | btn: "Dodaj lokacijo" 11 | title: "Dodaj lokacijo" 12 | location: 13 | address: "Naslov" 14 | name: 15 | title: "Opis (neobvezno)" 16 | desc: "npr. J. Novak mehanik" 17 | street: 18 | title: "Ulica in številka" 19 | desc: "npr. Ukmarjev trg 2" 20 | postalcode: 21 | title: "Poštna številka" 22 | desc: "npr. 6310" 23 | neighbourhood: 24 | title: "Soseska" 25 | desc: "npr. Bežigrad" 26 | city: 27 | title: "Mesto" 28 | desc: "npr. Izola" 29 | state: 30 | title: "Dežela ali pokrajina" 31 | desc: "npr. Primorska" 32 | country_code: 33 | title: "Država" 34 | placeholder: "Izberite državo" 35 | coordinates: "Koordinate" 36 | lat: 37 | title: "Z. širina" 38 | desc: "npr. -31.9456702" 39 | lon: 40 | title: "Z. dolžina" 41 | desc: "npr. 115.8626477" 42 | query: 43 | title: "Naslov" 44 | desc: "npr. Ukmarjev trg 2, Koper" 45 | geo: 46 | desc: "Lokacije zagotavlja {{provider}}" 47 | btn: 48 | label: "Poišči naslov" 49 | results: "Naslovi" 50 | no_results: "Ni zadetkov." 51 | show_map: "Pokaži zemljevid" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Dodaj lokacijo" 55 | title: "Pokaži podrobnosti lokacije" 56 | clear: "počisti" 57 | done: "Shrani" 58 | errors: 59 | search: "Prišlo je do napake pri iskanju naslova. Počakajte 5 minut in poskusite ponovno." 60 | filters: 61 | map: 62 | title: "Zemljevid" 63 | help: "Označi teme z lokacijami v tej kategoriji na zemljevidu." 64 | map: 65 | search_placeholder: "Išči" 66 | topic_statuses: 67 | location: 68 | help: "Ta tema ima lokacijo." 69 | user: 70 | map_location: 71 | title: "Lokacija na zemljevidu" 72 | warning: Vaša lokacija bo prikazana javno. 73 | directory: 74 | map: 75 | title: "Zemljevid uporabnikov" 76 | list: 77 | title: "Seznam uporabnikov" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.fi.yml: -------------------------------------------------------------------------------- 1 | fi: 2 | js: 3 | category: 4 | location_settings_label: "Sijainnit" 5 | location_enabled: "Salli sijaintien lisääminen tämän alueen ketjuihin." 6 | location_topic_status: "Ota käyttöön sijaintien ikonit ketjulistauksessa tällä alueella." 7 | location_map_filter_closed: "Älä näytä suljettuja ketjuja kartalla tällä alueella." 8 | composer: 9 | location: 10 | btn: "Lisää sijainti" 11 | title: "Lisää sijainti" 12 | location: 13 | address: "Osoite" 14 | name: 15 | title: "Nimi (valinnainen)" 16 | desc: "esim. Rautatientori" 17 | street: 18 | title: "Katuosoite" 19 | desc: "esim. Kaivokatu 1" 20 | postalcode: 21 | title: "Postinumero" 22 | desc: "esim. 00100" 23 | neighbourhood: 24 | title: "Kaupunginosa" 25 | desc: "esim. Käpylä" 26 | city: 27 | title: "Kaupunki" 28 | desc: "esim. Helsinki" 29 | state: 30 | title: "Kunta tia maakunta" 31 | desc: "esim. Uusimaa" 32 | country_code: 33 | title: "Maa" 34 | placeholder: "Valitse maa..." 35 | coordinates: "Koordinaatit" 36 | lat: 37 | title: "Leveysaste (latitudi)" 38 | desc: "esim. -31.9456702" 39 | lon: 40 | title: "Pituusaste (longitudi)" 41 | desc: "esim. 115.8626477" 42 | query: 43 | title: "Osoite" 44 | desc: "esim. Kaivokatu 1, Helsinki." 45 | geo: 46 | desc: "Sijainnit tarjoaa {{provider}}" 47 | btn: 48 | label: "Etsi osoite" 49 | results: "Osoitteet" 50 | no_results: "Ei tuloksia." 51 | show_map: "Näytä kartta" 52 | hide_map: "Piilota kartta" 53 | label: 54 | add: "Lisää sijainti" 55 | title: "Näytä tarkat sijaintitiedot" 56 | clear: "Tyhjennä" 57 | done: "Valmis" 58 | errors: 59 | search: "Sijaintitietoja haettaessa tapahtui virhe. Yritä uudelleen 5 sekunnin kuluttua." 60 | filters: 61 | map: 62 | title: "Kartta" 63 | help: "Merkitse tämän alueen ketjujen sijaintitiedot karttaan." 64 | map: 65 | search_placeholder: "Haku" 66 | topic_statuses: 67 | location: 68 | help: "Tälle ketjulle on asetettu sijainti." 69 | user: 70 | map_location: 71 | title: "Sijainti" 72 | warning: Sijaintisi näytetään julkisesti profiilissasi. 73 | directory: 74 | map: 75 | title: "Kartta" 76 | list: 77 | title: "Käyttäjät" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.af.yml: -------------------------------------------------------------------------------- 1 | af: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ar.yml: -------------------------------------------------------------------------------- 1 | ar: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.az.yml: -------------------------------------------------------------------------------- 1 | az: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.be.yml: -------------------------------------------------------------------------------- 1 | be: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.bg.yml: -------------------------------------------------------------------------------- 1 | bg: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.bn.yml: -------------------------------------------------------------------------------- 1 | bn: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.bo.yml: -------------------------------------------------------------------------------- 1 | bo: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.bs.yml: -------------------------------------------------------------------------------- 1 | bs: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ca.yml: -------------------------------------------------------------------------------- 1 | ca: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.cs.yml: -------------------------------------------------------------------------------- 1 | cs: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.cy.yml: -------------------------------------------------------------------------------- 1 | cy: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.da.yml: -------------------------------------------------------------------------------- 1 | da: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.el.yml: -------------------------------------------------------------------------------- 1 | el: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.eo.yml: -------------------------------------------------------------------------------- 1 | eo: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.et.yml: -------------------------------------------------------------------------------- 1 | et: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.eu.yml: -------------------------------------------------------------------------------- 1 | eu: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.fa.yml: -------------------------------------------------------------------------------- 1 | fa: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.he.yml: -------------------------------------------------------------------------------- 1 | he: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.hi.yml: -------------------------------------------------------------------------------- 1 | hi: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.hr.yml: -------------------------------------------------------------------------------- 1 | hr: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.hu.yml: -------------------------------------------------------------------------------- 1 | hu: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.hy.yml: -------------------------------------------------------------------------------- 1 | hy: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.id.yml: -------------------------------------------------------------------------------- 1 | id: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.is.yml: -------------------------------------------------------------------------------- 1 | is: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.it.yml: -------------------------------------------------------------------------------- 1 | it: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ja.yml: -------------------------------------------------------------------------------- 1 | ja: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ka.yml: -------------------------------------------------------------------------------- 1 | ka: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.kk.yml: -------------------------------------------------------------------------------- 1 | kk: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.km.yml: -------------------------------------------------------------------------------- 1 | km: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.kn.yml: -------------------------------------------------------------------------------- 1 | kn: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ko.yml: -------------------------------------------------------------------------------- 1 | ko: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ku.yml: -------------------------------------------------------------------------------- 1 | ku: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.lo.yml: -------------------------------------------------------------------------------- 1 | lo: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.lt.yml: -------------------------------------------------------------------------------- 1 | lt: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.lv.yml: -------------------------------------------------------------------------------- 1 | lv: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.mk.yml: -------------------------------------------------------------------------------- 1 | mk: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ml.yml: -------------------------------------------------------------------------------- 1 | ml: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.mn.yml: -------------------------------------------------------------------------------- 1 | mn: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ms.yml: -------------------------------------------------------------------------------- 1 | ms: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ne.yml: -------------------------------------------------------------------------------- 1 | ne: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.nl.yml: -------------------------------------------------------------------------------- 1 | nl: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.om.yml: -------------------------------------------------------------------------------- 1 | om: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.pa.yml: -------------------------------------------------------------------------------- 1 | pa: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.pl.yml: -------------------------------------------------------------------------------- 1 | pl: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.pt.yml: -------------------------------------------------------------------------------- 1 | pt: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.ro.yml: -------------------------------------------------------------------------------- 1 | ro: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.sd.yml: -------------------------------------------------------------------------------- 1 | sd: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.sk.yml: -------------------------------------------------------------------------------- 1 | sk: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.sq.yml: -------------------------------------------------------------------------------- 1 | sq: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.sr.yml: -------------------------------------------------------------------------------- 1 | sr: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | -------------------------------------------------------------------------------- /config/locales/client.sv.yml: -------------------------------------------------------------------------------- 1 | sv: 2 | js: 3 | category: 4 | location_settings_label: "Locations" 5 | location_enabled: "Allow locations to be added to topics in this category" 6 | location_topic_status: "Enable location topic status icons for topic lists in this category." 7 | location_map_filter_closed: "Filter closed topics from the map topic list in this category." 8 | composer: 9 | location: 10 | btn: "Add Location" 11 | title: "Add a Location" 12 | location: 13 | address: "Address" 14 | name: 15 | title: "Name (optional)" 16 | desc: "e.g. P. Sherman Dentist" 17 | street: 18 | title: "Number and Street" 19 | desc: "e.g. 42 Wallaby Way" 20 | postalcode: 21 | title: "Postal Code (Zip)" 22 | desc: "e.g. 2548" 23 | neighbourhood: 24 | title: "Neighbourhood" 25 | desc: "e.g. Cremorne Point" 26 | city: 27 | title: "City, Town or Village" 28 | desc: "e.g. Sydney" 29 | state: 30 | title: "State or Province" 31 | desc: "e.g. New South Wales" 32 | country_code: 33 | title: "Country" 34 | placeholder: "Select a Country" 35 | coordinates: "Coordinates" 36 | lat: 37 | title: "Latitude" 38 | desc: "e.g. -31.9456702" 39 | lon: 40 | title: "Longitude" 41 | desc: "e.g. 115.8626477" 42 | query: 43 | title: "Address" 44 | desc: "e.g. 42 Wallaby Way, Sydney." 45 | geo: 46 | desc: "Locations provided by {{provider}}" 47 | btn: 48 | label: "Find Address" 49 | results: "Addresses" 50 | no_results: "No results." 51 | show_map: "Show Map" 52 | hide_map: "Hide Map" 53 | label: 54 | add: "Add a Location" 55 | title: "Show Location Details" 56 | clear: "Clear" 57 | done: "Done" 58 | errors: 59 | search: "There was a problem looking up that address. Please wait 5 seconds and try again." 60 | filters: 61 | map: 62 | title: "Map" 63 | help: "Mark topics with locations in this category on a map." 64 | map: 65 | search_placeholder: "Search" 66 | topic_statuses: 67 | location: 68 | help: "This topic has a location." 69 | user: 70 | map_location: 71 | title: "Map Location" 72 | warning: Your location will be displayed publicly. 73 | directory: 74 | map: 75 | title: "Users Map" 76 | list: 77 | title: "Users List" 78 | admin_js: 79 | admin: 80 | wizard: 81 | field: 82 | type: 83 | location: "Location (Locations Plugin)" 84 | --------------------------------------------------------------------------------