"wants to access your current location." is not a sentence

Bug #1534940 reported by GunChleoc
This bug affects 1 person
Affects Status Importance Assigned to Milestone
location-service (Ubuntu RTM)
Fix Committed

Bug Description

The following string:

    wants to access your current location.
    Located in /home/tvoss/ubuntu/scratch/fix-prompt-string/src/location_service/com/ubuntu/location/service/trust_store_permission_manager.cpp:149

Is not a sentence. I need a placeholder for the username, e.g.

    %s wants to access your current location.

So I can translate it as:

    Wants %s your current location to access.

My language's grammar does not allow me to put the appname at the front.

If a placeholder is not possible, I will need a screenshot so I know which workaround to use for my translation.

GunChleoc (gunchleoc)
description: updated
Revision history for this message
David Planella (dpm) wrote :

Looking at http://bazaar.launchpad.net/~phablet-team/location-service/trunk/view/head:/src/location_service/com/ubuntu/location/service/trust_store_permission_manager.cpp#L149 it seems a placeholder is already there, but the extra '%' seems to confuse gettext?

std::string description = i18n::tr("%1% wants to access your current location.");

Revision history for this message
GunChleoc (gunchleoc) wrote :

Looks like someone already fixed it.

Changed in location-service (Ubuntu RTM):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers