[glom] Fix an ouput->output typo in a translatable string.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Fix an ouput->output typo in a translatable string.
- Date: Tue, 15 Dec 2015 09:03:56 +0000 (UTC)
commit d61e89c20759ee91a1a054664e2bc95ef5688d5b
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Dec 15 09:10:50 2015 +0100
Fix an ouput->output typo in a translatable string.
And in some variable names.
Bug #754838 (Anders Jonsson)
glom/glom_export_po.cc | 12 ++++++------
glom/glom_export_po_all.cc | 2 +-
glom/libglom/report_builder.cc | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/glom/glom_export_po.cc b/glom/glom_export_po.cc
index aa9c364..b63d425 100644
--- a/glom/glom_export_po.cc
+++ b/glom/glom_export_po.cc
@@ -184,13 +184,13 @@ int main(int argc, char* argv[])
//Get a URI (file://something) from the filepath:
Glib::RefPtr<Gio::File> file_output = Gio::File::create_for_commandline_arg(group.m_arg_filepath_output);
- const auto ouput_uri = file_output->get_uri();
+ const auto output_uri = file_output->get_uri();
/* Silently overwriting is easier when we use this in a batch:
if(file_output->query_exists())
{
std::cerr << _("Glom: The output file aready exists.") << std::endl;
- std::cerr << G_STRFUNC << ": uri: " << ouput_uri << std::endl;
+ std::cerr << G_STRFUNC << ": uri: " << output_uri << std::endl;
std::cerr << std::endl << context.get_help() << std::endl;
return EXIT_FAILURE;
@@ -214,26 +214,26 @@ int main(int argc, char* argv[])
if(group.m_arg_template)
{
const bool succeeded =
- Glom::write_pot_file(&document, ouput_uri);
+ Glom::write_pot_file(&document, output_uri);
if(!succeeded)
{
std::cerr << _("Pot file creation failed.") << std::endl;
return EXIT_FAILURE;
}
- std::cout << Glib::ustring::compose(_("Pot file created at: %1"), ouput_uri) << std::endl;
+ std::cout << Glib::ustring::compose(_("Pot file created at: %1"), output_uri) << std::endl;
}
else
{
const bool succeeded =
- Glom::write_translations_to_po_file(&document, ouput_uri, group.m_arg_locale_id);
+ Glom::write_translations_to_po_file(&document, output_uri, group.m_arg_locale_id);
if(!succeeded)
{
std::cerr << _("Po file creation failed.") << std::endl;
return EXIT_FAILURE;
}
- std::cout << Glib::ustring::compose(_("Po file created at: %1"), ouput_uri) << std::endl;
+ std::cout << Glib::ustring::compose(_("Po file created at: %1"), output_uri) << std::endl;
}
Glom::libglom_deinit();
diff --git a/glom/glom_export_po_all.cc b/glom/glom_export_po_all.cc
index 11c7414..9d66ae5 100644
--- a/glom/glom_export_po_all.cc
+++ b/glom/glom_export_po_all.cc
@@ -171,7 +171,7 @@ int main(int argc, char* argv[])
{
if(!(file_output->make_directory_with_parents()))
{
- std::cerr << _("The ouput directory could not be created.") << std::endl;
+ std::cerr << _("The output directory could not be created.") << std::endl;
return EXIT_FAILURE;
}
}
diff --git a/glom/libglom/report_builder.cc b/glom/libglom/report_builder.cc
index c8ab0b1..181bd61 100644
--- a/glom/libglom/report_builder.cc
+++ b/glom/libglom/report_builder.cc
@@ -303,7 +303,7 @@ bool ReportBuilder::report_build_groupby(const FoundSet& found_set_parent, xmlpp
}
else
{
- //There is no group-by field, so ouput all the found records.
+ //There is no group-by field, so output all the found records.
//For instance, the user could use the GroupBy part just to specify a sort, though that would be a bit
of a hack:
auto nodeGroupBy = parent_node.add_child_element(group_by->get_report_part_id()); //We need this to
create the HTML table.
XmlUtils::set_node_attribute_value_as_decimal_double(nodeGroupBy, "border_width",
group_by->get_border_width());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]