Skip to content

Commit

Permalink
Merge pull request #1 from dashea/master
Browse files Browse the repository at this point in the history
Use N_ for translatable strings at the module level
  • Loading branch information
vpodzime committed Feb 7, 2014
2 parents 5e34fba + d319dd8 commit 41eb1d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions org_fedora_hello_world/tui/spokes/hello_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class HelloWorldSpoke(FirstbootSpokeMixIn, NormalTUISpoke):
### class attributes defined by API ###

# title of the spoke
title = _("Hello World")
title = N_("Hello World")

# categories in text mode are simple strings that are not shown anywhere,
# every hub just has a list of categories it should display spokes from
Expand Down Expand Up @@ -222,7 +222,7 @@ def __init__(self):
class HelloWorldEditSpoke(EditTUISpoke):
"""Example class demonstrating usage of EditTUISpoke inheritance"""

title = _("Hello World Edit")
title = N_("Hello World Edit")
category = "localization"

# simple RE used to specify we only accept a single word as a valid input
Expand Down

0 comments on commit 41eb1d1

Please sign in to comment.