Merge branch 'fix-231' into 'master'

Fixes #231 - category translations were reverting to english.

Minor fix - feel free to hold off before stable (and then we can do a 0.88-test pretty soon after stable with my other change, as we did last time), or feel free to merge beforehand and do another -test.

There are two places where translations get populated. One of them (when the fragment is initialized) translates the categories. The other place (when the "installed app cache" background process completes) did not translate the category names. They are now both translated.

See merge request !69
This commit is contained in:
Daniel Martí 2015-04-20 22:42:45 +00:00
commit 249af82d7d

View File

@ -92,8 +92,8 @@ public class AvailableAppsFragment extends AppListFragment implements
return;
}
adapter.clear();
List<String> catList = AppProvider.Helper.categories(getActivity());
ArrayAdapterCompat.addAll(adapter, catList);
categories = AppProvider.Helper.categories(getActivity());
ArrayAdapterCompat.addAll(adapter, translateCategories(categories));
}
});
}