[gnome-maps] osmEditDialog: Add support for alternative name forms.
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] osmEditDialog: Add support for alternative name forms.
- Date: Sun, 14 Feb 2016 21:05:56 +0000 (UTC)
commit 4ff4e30869dda9a465dbe02e7e1a51bb4b0b5c95
Author: Marcus Lundblad <ml update uu se>
Date: Sun Feb 14 14:55:05 2016 +0100
osmEditDialog: Add support for alternative name forms.
Adds support for the 'alt_name', 'loc_name', and 'old_name' OSM
tags for alternative, locally-known-as, and historical name forms.
https://bugzilla.gnome.org/show_bug.cgi?id=761640
src/osmEditDialog.js | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/src/osmEditDialog.js b/src/osmEditDialog.js
index 86cc10f..069e883 100644
--- a/src/osmEditDialog.js
+++ b/src/osmEditDialog.js
@@ -103,6 +103,28 @@ const OSM_FIELDS = [
hint: _("The official name. This is typically what appears on signs.")
},
{
+ name: _("Alternative name"),
+ tag: 'alt_name',
+ type: EditFieldType.TEXT,
+ hint: _("Alternative name by which the place may also be known. \
+Adding this when appropriate can enhance searchability of places and locations.")
+ },
+ {
+ name: _("Local name"),
+ tag: 'loc_name',
+ type: EditFieldType.TEXT,
+ hint: _("Local name, or slang name by which a place might be known by \
+local inhabitants. Adding this when appropriate can enhance searchability of \
+places and locations.")
+ },
+ {
+ name: _("Historical name"),
+ tag: 'old_name',
+ type: EditFieldType.TEXT,
+ hint: _("Older name by which the place was previously known. \
+Adding this when appropriate can enhance searchability of places and locations.")
+ },
+ {
name: _("Website"),
tag: 'website',
type: EditFieldType.TEXT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]