mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
I18N L10N - Sequence
- Sequence object localized. - StringTable changed to inherit from std::map. - StringTable copy constructor, assignment operator removed. - Various source files tagged for further l10n work.
This commit is contained in:
parent
76aa3c535e
commit
f43e47a739
9 changed files with 185 additions and 182 deletions
|
@ -30,19 +30,14 @@
|
|||
#include <map>
|
||||
#include <string>
|
||||
|
||||
class StringTable
|
||||
class StringTable : public std::map <int, std::string>
|
||||
{
|
||||
public:
|
||||
StringTable (); // Default constructor
|
||||
StringTable (const StringTable&); // Copy constructor
|
||||
StringTable& operator= (const StringTable&); // Assignment operator
|
||||
~StringTable (); // Destructor
|
||||
|
||||
void load (const std::string&);
|
||||
std::string get (int, const std::string&);
|
||||
|
||||
private:
|
||||
std::map <int, std::string> mMapping;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue