[Bug 270649] New: Bad use of arguments for translation

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 270649] New: Bad use of arguments for translation

Bugzilla from bald@smail.ee
https://bugs.kde.org/show_bug.cgi?id=270649

           Summary: Bad use of arguments for translation
           Product: digikam
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Metadata
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           unspecified
OS:                Linux

Metadataedit.cpp includes such code:

 setCaption(QString("%1 (%2/%3) - %4 %5 %6 ")
        .arg((*d->currItem).fileName())
        .arg(d->urls.indexOf(*(d->currItem))+1)
        .arg(d->urls.count())
        .arg(i18n("Edit"))
        .arg(tabName)
        .arg(i18n("Metadata")));

which makes almost possible to translate "Edit" and "Metadata" because in other
languages than English the required word sequence may be different. Please
consider making translatable all the sentence (i.e. %1 (%2/%3) - %4 %5 %6 ) ot
only parts of it.

Reproducible: Didn't try

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 270649] Bad use of arguments for translation

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=270649


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[hidden email]
         Resolution|                            |INVALID




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2011-04-11 09:36:58 ---
Source code have been changed in-deep recently in this plugin. This i18n puzzle
have been removed do of big changes in GUI.

Please update translations files...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 270649] Bad use of arguments for translation

Bugzilla from bald@smail.ee
In reply to this post by Bugzilla from bald@smail.ee
https://bugs.kde.org/show_bug.cgi?id=270649





--- Comment #2 from Marek Laane <bald smail ee>  2011-04-11 09:42:27 ---
Translation file is most recent, just an hour ago updated (and
http://quickgit.kde.org/index.php?p=kipi-plugins.git&a=blob&h=3a467f28f1e4b4fcac6dd222c322047ef5a35d0f&hb=627c7bccd6e96037675d9aae006de309c68bcc44&f=metadataedit/plugin/metadataedit.cpp
still includes the forementioned code) but maybe it would need just another
round of scripty to make your changes into translation files. Anyway, if the
new code doesn't includes such word puzzle, it's great!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 270649] Bad use of arguments for translation

Gilles Caulier-4
In reply to this post by Bugzilla from bald@smail.ee
https://bugs.kde.org/show_bug.cgi?id=270649


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-04-11 09:44:43 ---
Ah right... i don't see the last method on the bottom. In fact, this one is not
necessary now (:=))). I will fix it...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 270649] Bad use of arguments for translation

Gilles Caulier-4
In reply to this post by Bugzilla from bald@smail.ee
https://bugs.kde.org/show_bug.cgi?id=270649


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2011-04-11 09:53:10 ---
Git commit 1179d66a92a68ccfccdf63a750b5bac31d9bd17a by Gilles Caulier.
Committed on 11/04/2011 at 09:58.
Pushed by cgilles into branch 'master'.

Remove i18n puzzle in dialog title.
BUGS: 270649

M  +4    -31   metadataedit/plugin/metadataedit.cpp    
M  +0    -1    metadataedit/plugin/metadataedit.h    

http://commits.kde.org/kipi-plugins/1179d66a92a68ccfccdf63a750b5bac31d9bd17a

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 270649] Bad use of arguments for translation

Gilles Caulier-4
In reply to this post by Bugzilla from bald@smail.ee
https://bugs.kde.org/show_bug.cgi?id=270649

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel