Follow oslo.i18n conventions for log messages

Bug #1379001 reported by Andreas Jaeger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Wishlist
Andreas Jaeger
python-troveclient
Fix Released
Wishlist
jian.song

Bug Description

We should follow the following conventions for log strings and their translation:
* Use _LI and friends.
* Use "," instead of % so that lazy evaluation of debug messages is possible.

Revision history for this message
Amrith Kumar (amrith) wrote :

Per conversation with Andreas Jaeger, I'm assigning this to myself.

Changed in trove:
assignee: nobody → Amrith (amrith)
Changed in trove:
assignee: Amrith (amrith) → Andreas Jaeger (jaegerandi)
status: New → In Progress
Revision history for this message
Amrith Kumar (amrith) wrote :

Launchpad auto-assignment ;)

Changed in trove:
assignee: Andreas Jaeger (jaegerandi) → Amrith (amrith)
Changed in trove:
assignee: Amrith (amrith) → Andreas Jaeger (jaegerandi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/119402
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=ceac1db26303013c5a4b75ab5041944e49234d50
Submitter: Jenkins
Branch: master

commit ceac1db26303013c5a4b75ab5041944e49234d50
Author: Andreas Jaeger <email address hidden>
Date: Fri Sep 5 17:38:10 2014 +0200

    Update some log calls for translation and lazyness

    Update log calls to use _LI and friends.
    Follow oslo.i18n recommendation to use "," instead of % so that
    lazy evaluation of debug messages is possible.

    For details about tagging, see http://docs.openstack.org/developer/oslo.i18n/guidelines.html#log-translation

    Partial-Bug: #1379001

    Change-Id: I4aff674555945e6097283770fe77abecfebd740e

Amrith Kumar (amrith)
Changed in trove:
importance: Undecided → Wishlist
milestone: none → ongoing
jian.song (jiansong)
Changed in python-troveclient:
assignee: nobody → jian.song (jiansong)
Amrith Kumar (amrith)
Changed in python-troveclient:
importance: Undecided → Wishlist
Changed in python-troveclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-troveclient (master)

Reviewed: https://review.openstack.org/362702
Committed: https://git.openstack.org/cgit/openstack/python-troveclient/commit/?id=18bf918086bf2a8300f0cc602e69eefc4f4aae24
Submitter: Jenkins
Branch: master

commit 18bf918086bf2a8300f0cc602e69eefc4f4aae24
Author: jiansong <email address hidden>
Date: Tue Aug 30 01:37:53 2016 -0700

    Use i18n for shell.py

    Help msg and output should support,This can be beneficial to
    the string type

    Partial-Bug: #1379001
    Change-Id: I7d12aead49f5771f0762533ce9f53e477367101c

Zhao Chao (zhaochao1984)
Changed in trove:
milestone: ongoing → none
status: In Progress → Fix Released
Changed in python-troveclient:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.