diff options
author | Nikola Pajkovsky <npajkovs@redhat.com> | 2009-09-02 11:39:27 +0200 |
---|---|---|
committer | Nikola Pajkovsky <npajkovs@redhat.com> | 2009-09-02 11:39:27 +0200 |
commit | 84ae8a43927b479a8b3565e43d0b3a109b164c21 (patch) | |
tree | 80a7bed6a04fdb9628b0b039b72050bc6175b712 /lib/Plugins/CCpp.cpp | |
parent | 6f27b31e64229bf15670b48a19b0348888b0ca28 (diff) | |
download | abrt-84ae8a43927b479a8b3565e43d0b3a109b164c21.tar.gz abrt-84ae8a43927b479a8b3565e43d0b3a109b164c21.tar.xz abrt-84ae8a43927b479a8b3565e43d0b3a109b164c21.zip |
add gettext support for all plugins
Diffstat (limited to 'lib/Plugins/CCpp.cpp')
-rw-r--r-- | lib/Plugins/CCpp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index 9b10c752..b6e47a07 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -79,7 +79,7 @@ static std::string CreateHash(const std::string& pInput) static void InstallDebugInfos(const std::string& pPackage) { - update_client("Searching for debug-info packages..."); + update_client(_("Searching for debug-info packages...")); std::string packageName = pPackage.substr(0, pPackage.rfind("-", pPackage.rfind("-")-1)); char buff[1024]; @@ -117,7 +117,7 @@ static void InstallDebugInfos(const std::string& pPackage) safe_write(pipein[1], "y\n", sizeof("y\n")-1); close(pipein[1]); - update_client("Downloading and installing debug-info packages..."); + update_client(_("Downloading and installing debug-info packages...")); FILE *pipeout_fp = fdopen(pipeout[0], "r"); if (pipeout_fp == NULL) /* never happens */ @@ -177,7 +177,7 @@ static void InstallDebugInfos(const std::string& pPackage) static void GetBacktrace(const std::string& pDebugDumpDir, std::string& pBacktrace) { - update_client("Getting backtrace..."); + update_client(_("Getting backtrace...")); std::string tmpFile = "/tmp/" + pDebugDumpDir.substr(pDebugDumpDir.rfind("/")); std::ofstream fTmp; @@ -426,7 +426,7 @@ I think the below code has absolutely the same effect: std::string CAnalyzerCCpp::GetLocalUUID(const std::string& pDebugDumpDir) { - update_client("Getting local universal unique identification..."); + update_client(_("Getting local universal unique identification...")); CDebugDump dd; std::string UID; @@ -450,7 +450,7 @@ std::string CAnalyzerCCpp::GetLocalUUID(const std::string& pDebugDumpDir) std::string CAnalyzerCCpp::GetGlobalUUID(const std::string& pDebugDumpDir) { - update_client("Getting global universal unique identification..."); + update_client(_("Getting global universal unique identification...")); std::string backtrace; std::string executable; @@ -468,7 +468,7 @@ std::string CAnalyzerCCpp::GetGlobalUUID(const std::string& pDebugDumpDir) void CAnalyzerCCpp::CreateReport(const std::string& pDebugDumpDir) { - update_client("Starting report creation..."); + update_client(_("Starting report creation...")); std::string package; std::string backtrace; |