diff options
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/convert.cc | 4 | ||||
-rw-r--r-- | libs/pbd/pbd/convert.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/convert.cc b/libs/pbd/convert.cc index 60d39c91e2..3b709d8e42 100644 --- a/libs/pbd/convert.cc +++ b/libs/pbd/convert.cc @@ -106,12 +106,12 @@ atof (const string& s) } vector<string> -internationalize (const char **array) +internationalize (const char *package_name, const char **array) { vector<string> v; for (uint32_t i = 0; array[i]; ++i) { - v.push_back (_(array[i])); + v.push_back (dgettext(package_name, array[i])); } return v; diff --git a/libs/pbd/pbd/convert.h b/libs/pbd/pbd/convert.h index 12e63ba6fc..e838b756bc 100644 --- a/libs/pbd/pbd/convert.h +++ b/libs/pbd/pbd/convert.h @@ -33,7 +33,7 @@ void url_decode (std::string&); std::string length2string (const int32_t frames, const float sample_rate); -std::vector<std::string> internationalize (const char **); +std::vector<std::string> internationalize (const char *, const char **); } //namespace PBD |