@@ -0,0 +1,1092 @@
+/**%0A * Created by Robert on 23. 5. 2015.%0A */%0Apublic class Translation %7B%0A%0A    private final String%5B%5D mTranslationsIds;%0A%0A    private final String%5B%5D mResourcesIds;%0A%0A    public Translation(String translation) %7B%0A        String%5B%5D parts = translation.split(%22:%22);%0A%0A        if (parts.length %3C 2) %7B%0A            throw new IllegalArgumentException(String.format(%22Translation string must have at least 2 parts. Given '%25s'.%22, translation));%0A        %7D%0A%0A        if (!parts%5B0%5D.equals(%22T%22)) %7B%0A            throw new IllegalArgumentException(String.format(%22Translation string must start with 'T:'. Given '%25s'.%22, translation));%0A        %7D%0A%0A        mTranslationsIds = new String%5Bparts.length - 1%5D;%0A        mResourcesIds = new String%5Bparts.length - 1%5D;%0A%0A        for (int i = 1; i %3C parts.length; i++) %7B%0A            mTranslationsIds%5Bi - 1%5D = parts%5Bi%5D;%0A            mResourcesIds%5Bi - 1%5D = String.format(%22R.string.%25s%22, parts%5Bi%5D.toLowerCase())%0A        %7D%0A    %7D%0A%0A    public String%5B%5D getTranslationIds() %7B%0A        return mTranslationsIds;%0A    %7D%0A%0A    public String%5B%5D getResourceIds() %7B%0A        return mResourcesIds;%0A    %7D%0A%0A%7D%0A

Add Translation holder object