# # # patch "NEWS" # from [26f9aed02a2f79609b9443b34eca8f754a60a4d7] # to [094a1af1005a039cbbfa1035d79569ac4d710245] # # patch "cmd_diff_log.cc" # from [aac2aabe76bf2ba7b53a07325861479f56f8ff9d] # to [0eeb9f429df8095df0919aae1b76321d9d4975fb] # ============================================================ --- NEWS 26f9aed02a2f79609b9443b34eca8f754a60a4d7 +++ NEWS 094a1af1005a039cbbfa1035d79569ac4d710245 @@ -4,6 +4,9 @@ Changes + - Cert labels in the output of the 'log' command are now + localized. + New features Bugs fixed ============================================================ --- cmd_diff_log.cc aac2aabe76bf2ba7b53a07325861479f56f8ff9d +++ cmd_diff_log.cc 0eeb9f429df8095df0919aae1b76321d9d4975fb @@ -1087,7 +1087,7 @@ CMD(log, "log", "", CMD_REF(informative) else { out << string(65, '-') << '\n'; - out << "Revision: " << rid << '\n'; + out << _("Revision: ") << rid << '\n'; changes_summary csum; @@ -1102,12 +1102,12 @@ CMD(log, "log", "", CMD_REF(informative) for (set::const_iterator anc = ancestors.begin(); anc != ancestors.end(); ++anc) - out << "Ancestor: " << *anc << '\n'; + out << _("Ancestor: ") << *anc << '\n'; - log_certs(certs, out, author_name, "Author: ", false); - log_date_certs(certs, out, date_fmt, "Date: ", false); - log_certs(certs, out, branch_name, "Branch: ", false); - log_certs(certs, out, tag_name, "Tag: ", false); + log_certs(certs, out, author_name, _("Author: "), false); + log_date_certs(certs, out, date_fmt, _("Date: "), false); + log_certs(certs, out, branch_name, _("Branch: "), false); + log_certs(certs, out, tag_name, _("Tag: "), false); if (!app.opts.no_files && !csum.cs.empty()) { @@ -1116,8 +1116,8 @@ CMD(log, "log", "", CMD_REF(informative) out << '\n'; } - log_certs(certs, out, changelog_name, "ChangeLog: ", true); - log_certs(certs, out, comment_name, "Comments: ", true); + log_certs(certs, out, changelog_name, _("ChangeLog: "), true); + log_certs(certs, out, comment_name, _("Comments: "), true); } if (app.opts.diffs)