mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Removed unused 'locale' configuration setting.
This commit is contained in:
parent
a49d1bfbc0
commit
d12a33989a
3 changed files with 1 additions and 7 deletions
1
NEWS
1
NEWS
|
@ -28,6 +28,7 @@ Removed features in 2.4.0
|
|||
- Version 1.x sort columns no longer supported.
|
||||
- Old-style color names including underscores are no longer supported.
|
||||
- Removed priority counts from the 'projects' commands.
|
||||
- Removed the unused 'locale' configuration variable.
|
||||
|
||||
Known Issues
|
||||
|
||||
|
|
|
@ -199,12 +199,6 @@ int Context::initialize (int argc, const char** argv)
|
|||
// TODO Instantiate extension UDA objects.
|
||||
// TODO Instantiate extension format objects.
|
||||
|
||||
// If there is a locale variant (en-US.<variant>), then strip it.
|
||||
std::string locale = config.get ("locale");
|
||||
std::string::size_type period = locale.find ('.');
|
||||
if (period != std::string::npos)
|
||||
locale = locale.substr (0, period);
|
||||
|
||||
// Initialize the database.
|
||||
tdb2.set_location (data_dir);
|
||||
|
||||
|
|
|
@ -163,7 +163,6 @@ int CmdShow::execute (std::string& output)
|
|||
" json.array"
|
||||
" list.all.projects"
|
||||
" list.all.tags"
|
||||
" locale"
|
||||
" locking"
|
||||
" monthsperline"
|
||||
" nag"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue