Bug 156162 - typo - msgid in po file is missing a % symbol
Summary: typo - msgid in po file is missing a % symbol
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-19 09:04 UTC by Praveen A
Modified: 2008-01-19 10:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Praveen A 2008-01-19 09:04:09 UTC
Version:           svn trunk (using Devel)
Installed from:    Compiled sources
OS:                Linux

#: devicenotifier.cpp:256 devicenotifier.cpp:288
#, kde-format
msgid "1 action for this device"
msgid_plural "%1 actions for this device"
msgstr[0] ""
msgstr[1] ""

% symbol missing in singular msgid.
Comment 1 Anne-Marie Mahfouf 2008-01-19 09:20:06 UTC
I think it's not a bug. The placeholder %1 is for the number of actions, if there is only one action then %1 will be 1. If there's more than 1, then %1 will be replaced by the number of actions.

I'll CC the devel to be sure!

Alexis, can you confirm?
Comment 2 Praveen A 2008-01-19 10:00:43 UTC
I don't think that is the case. See this example from systemsettings

#: mainwindow.cpp:459 mainwindow.cpp:480
#, kde-format
msgid "%1 hit in Advanced"
msgid_plural "%1 hits in Advanced"
Comment 3 Anne-Marie Mahfouf 2008-01-19 10:09:29 UTC
I asked the i18n specialist on IRC and he said it's OK, can be 1 or %1, it's exactly the same result!
I am right and you are right :-)

System Settings is also right.