Leading/trailing space character in translatable strings / missing placeholders

Bug #1538948 reported by GunChleoc on 2016-01-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu File Manager App

Bug Description

We found a lot of space characters in the translatable strings, and we are wondering which ones are being concatenated with something else. Please note that hard coded string concatenation will create grammar errors in languages that do not have the same word order as English.

For example, " does not exist" should read "%s does not exist".

Here's the list:

does not exist
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:264

Could not remove the item
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:590

Could not create link to
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:694

Could not set permissions to dir
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:706

Could not remove the directory/file
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:813

Could not move the directory/file
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:829

no write permission on folder
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:864 ../src/plugin/folderlistmodel/filesystemaction.cpp:883

Write error in
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:1104

Read error in
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:1120

Set permissions error in
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:1410

Could not create trash info file
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:1494

Could not remove the trash info file
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:1507

GunChleoc (gunchleoc) on 2016-01-28
tags: added: i18n
Changed in ubuntu-filemanager-app:
status: New → In Progress
status: In Progress → Triaged
importance: Undecided → Medium
GunChleoc (gunchleoc) wrote :

Here's another one with a leading whitespace:

Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:1354

This also lacks context - where is it used? Is it a verb or a noun? What comes before the whitespace?

I also need some context for

Set permissions error in
    Located in ../src/plugin/folderlistmodel/filesystemaction.cpp:1410

Is "Set" in the imperative or in the past tense?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers