diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-03-28 16:11:10 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-03-28 16:11:10 +0000 |
commit | 09ea83b558583d43a6b709b9e509c4820d8a21a1 (patch) | |
tree | 63aa311c26b38b98006f8d5ee407582d75076f53 /src/menu.cpp | |
parent | 2a62b1c03ef3f80ea7817f342c7eace0c1993d29 (diff) | |
parent | 7d5e6f355f9a6020274cf5bea5426e265ea22877 (diff) | |
download | ayatana-indicator-datetime-09ea83b558583d43a6b709b9e509c4820d8a21a1.tar.gz ayatana-indicator-datetime-09ea83b558583d43a6b709b9e509c4820d8a21a1.tar.bz2 ayatana-indicator-datetime-09ea83b558583d43a6b709b9e509c4820d8a21a1.zip |
Improved translator comments for better time/date localization. Fixes: 1001595
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(); |