igorsiem / ensync

0 stars 0 forks source link

String resource table #14

Closed igorsiem closed 7 years ago

igorsiem commented 7 years ago

Statements

As a Contributor and Developer, I want a managed table of string resources to store human-readable messages, so that I can support multiple human languages as easily as possible.

Acceptance Criteria

String resource table is:

Additional Notes

This is important sooner rather than later, so that human-readable strings are encoded in this table 'from the beginning', rather than needing to 'retrofit' them later.

igorsiem commented 7 years ago

Implemented as described above (see PR https://github.com/igorsiem/ensync/pull/15). Note that a retrieval function taking a proper 'modern C++' style enum class has been implemented to act as a message index. This will help prevent improper indices being passed to the underlying vector.