In this PR we overhaul the data model to account for future development of #10 and #6.
It's been decided to remove the TranslationKey object in favour of a generic TextEntry one.
Everything now is a TextEntry, whether it's the text picked from the views in the default locale, to translated versions.
TextEntries are linked together through the translation model. The translation model now represent the translation from a given text entry to another, in a target locale. This made more sense, and will enable variations of the base untranslated texts.
In this PR we overhaul the data model to account for future development of #10 and #6.
It's been decided to remove the
TranslationKey
object in favour of a genericTextEntry
one.Everything now is a TextEntry, whether it's the text picked from the views in the default locale, to translated versions.
TextEntries are linked together through the translation model. The translation model now represent the translation from a given text entry to another, in a target locale. This made more sense, and will enable variations of the base untranslated texts.