OSDN Git Service

Fix the format of wifi_carrier_content string
authorAkiya Utsumi <akiya.x.utsumi@sony.com>
Tue, 31 Oct 2017 02:11:15 +0000 (11:11 +0900)
committerDaichi Ueura <daichi.ueura@sony.com>
Fri, 22 Dec 2017 05:38:12 +0000 (05:38 +0000)
Carrier name is not displayed on the dialog due to the
incorrect format "%1%s". This should be "%1$s".

Test: String change, manually verified
Bug: 70814622
Change-Id: Ie30b8d1eb85d390e4023e0a251e1f1c7fa6deec0

res/values/strings.xml

index 9cbb85e..788c1ac 100644 (file)
     <!-- Message in dialog when the user tries to connect to a carrier network[CHAR_LIMIT=40] -->
     <string name="wifi_carrier_connect">Carrier Wi\u2011Fi network</string>
     <!-- Message in dialog when the user tries to connect to a carrier network[CHAR_LIMIT=60] -->
-    <string name="wifi_carrier_content">Connect via <xliff:g id="name">%1%s</xliff:g></string>
+    <string name="wifi_carrier_content">Connect via <xliff:g id="name">%1$s</xliff:g></string>
 
     <string name="wifi_scan_always_turnon_message">To improve location accuracy and for other purposes, <xliff:g id="app_name">%1$s</xliff:g> wants to turn on network scanning, even when Wi-Fi is off.\n\nAllow this for all apps that want to scan?</string>
     <!-- Message informing the user how to turn off  [CHAR LIMIT=200] -->