diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-03-27 19:25:34 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-03-27 19:25:34 -0500 |
commit | 7d5e6f355f9a6020274cf5bea5426e265ea22877 (patch) | |
tree | 42ca36bc7975ec6e2e00a227baf4141a3e4e99e4 /src/menu.cpp | |
parent | e5c36e2aa4cbe30694776549d5f7b142a9e34041 (diff) | |
download | ayatana-indicator-datetime-7d5e6f355f9a6020274cf5bea5426e265ea22877.tar.gz ayatana-indicator-datetime-7d5e6f355f9a6020274cf5bea5426e265ea22877.tar.bz2 ayatana-indicator-datetime-7d5e6f355f9a6020274cf5bea5426e265ea22877.zip |
add comments & examples for translators to help them to fix bug #1001595 for their locale.
Diffstat (limited to 'src/menu.cpp')
-rw-r--r-- | src/menu.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/menu.cpp b/src/menu.cpp index 6cd1585..b4b579a 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -247,7 +247,11 @@ private: else action_name = nullptr; - // add a menuitem that shows the current date + /* Translators, please edit/rearrange these strftime(3) tokens to suit your locale! + Format string for the day on the first menuitem in the datetime indicator. + This format string gives the full weekday, date, month, and year. + en_US example: "%A, %B %e %Y" --> Saturday, October 31 2020" + en_GB example: "%A, %e %B %Y" --> Saturday, 31 October 2020" */ auto label = m_state->clock->localtime().format(_("%A, %e %B %Y")); auto item = g_menu_item_new (label.c_str(), nullptr); auto v = get_serialized_calendar_icon(); |