[gnote] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix translator comments
- Date: Fri, 27 Jan 2017 23:55:18 +0000 (UTC)
commit dbc5505bbbb48dd2f0aa295b6937fd8f88630b58
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jan 28 00:54:28 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
src/addins/exporttohtml/exporttohtmlnoteaddin.cpp | 2 +-
.../webdavsyncservice/webdavsyncserviceaddin.cpp | 2 +-
src/preferencesdialog.cpp | 2 +-
src/watchers.cpp | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
b/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
index 1f58341..5dd9692 100644
--- a/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
+++ b/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
@@ -120,8 +120,8 @@ void ExportToHtmlNoteAddin::export_button_clicked(const Glib::VariantBase&)
ERR_OUT(_("Could not open exported note in a web browser: %s"),
ex.what().c_str());
- // TRANSLATORS: %1%: boost format placeholder for the path
Glib::ustring detail = Glib::ustring::compose(
+ // TRANSLATORS: %1%: boost format placeholder for the path
_("Your note was exported to \"%1\"."),
output_path);
diff --git a/src/addins/webdavsyncservice/webdavsyncserviceaddin.cpp
b/src/addins/webdavsyncservice/webdavsyncserviceaddin.cpp
index 0dac2d5..62264f2 100644
--- a/src/addins/webdavsyncservice/webdavsyncserviceaddin.cpp
+++ b/src/addins/webdavsyncservice/webdavsyncserviceaddin.cpp
@@ -259,8 +259,8 @@ void WebDavSyncServiceAddin::save_config_settings(const std::string & url, const
//Preferences.Set ("/apps/tomboy/sync_wdfs_url", url ?? string.Empty);
//Preferences.Set ("/apps/tomboy/sync_wdfs_username", username ?? string.Empty);
- // TRANSLATORS: %1 is the format placeholder for the error message.
Glib::ustring msg = Glib::ustring::compose(
+ // TRANSLATORS: %1 is the format placeholder for the error message.
_("Saving configuration to the GNOME keyring failed with the following message:\n\n%1"),
ke.what());
throw gnote::sync::GnoteSyncException(msg.c_str());
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index 1d96703..4ac8c39 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -312,8 +312,8 @@ namespace gnote {
options_list->attach(*rename_behavior_box, 0, options_list_row++, 1, 1);
// New Note Template
- // TRANSLATORS: This is 'New Note' Template, not New 'Note Template'
Gtk::Grid *template_note_grid = manage(new Gtk::Grid);
+ // TRANSLATORS: This is 'New Note' Template, not New 'Note Template'
label = manage(make_label (_("New Note Template")));
set_widget_tooltip(*label, _("Use the new note template to specify the text "
"that should be used when creating a new note."));
diff --git a/src/watchers.cpp b/src/watchers.cpp
index f55c594..eefab7c 100644
--- a/src/watchers.cpp
+++ b/src/watchers.cpp
@@ -226,8 +226,8 @@ namespace gnote {
get_buffer()->move_mark (get_buffer()->get_selection_bound(), get_title_start());
get_buffer()->move_mark (get_buffer()->get_insert(), get_title_end());
- // TRANSLATORS: %1 is the placeholder for the title.
std::string message = Glib::ustring::compose(
+ // TRANSLATORS: %1 is the placeholder for the title.
_("A note with the title "
"<b>%1</b> already exists. "
"Please choose another name "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]