Browse Source

Add a patch to fix the translation in package gluon-config-mode-geo-location

  This is already fixed in the master branch and can be removed with the
  next gluon release.
Michael Schwarz 5 years ago
parent
commit
23d32bd450
1 changed files with 17 additions and 0 deletions
  1. 17 0
      patches/0002-web-osm-translation-mismatch.patch

+ 17 - 0
patches/0002-web-osm-translation-mismatch.patch

@@ -0,0 +1,17 @@
+From: Michael Schwarz <post@michael-schwarz.name>
+Date: Fre, 18 Jan 2018 09:18:30 +0200
+Subject: gluon: patch gluon-config-mode-geo-location translation
+
+diff --git a/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua b/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua
+index 6a211b64..928b4c5a 100644
+--- a/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua
++++ b/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua
+@@ -15,7 +15,7 @@ return function(form, uci)
+ 	if not text then
+ 		text = pkg_i18n.translate(
+ 			'If you want the location of your node to ' ..
+-			'be displayed on the map, you can enter its coordinates here.'
++			'be displayed on public maps, you can enter its coordinates here.'
+ 		)
+ 		if osm then
+ 			text = text .. ' ' .. osm.help(i18n)