mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
I18N - L10N
- Localized first strings in Context.
This commit is contained in:
parent
da88dfe15a
commit
531cffdc7f
3 changed files with 6 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
#include "text.h"
|
||||
#include "util.h"
|
||||
#include "task.h"
|
||||
#include "i18n.h"
|
||||
#include "../auto.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -199,7 +200,9 @@ void Context::loadCorrectConfigFile (int argc, char** argv)
|
|||
|
||||
struct passwd* pw = getpwuid (getuid ());
|
||||
if (!pw)
|
||||
throw std::string ("Could not read home directory from passwd file.");
|
||||
throw std::string (
|
||||
stringtable.get (SHELL_READ_PASSWD,
|
||||
"Could not read home directory from the passwd file."));
|
||||
|
||||
std::string file = pw->pw_dir;
|
||||
config.createDefault (file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue