diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/KiwixGroups.java b/controller/app/src/main/java/org/iiab/controller/redesign/KiwixGroups.java
new file mode 100644
index 000000000..894044b4a
--- /dev/null
+++ b/controller/app/src/main/java/org/iiab/controller/redesign/KiwixGroups.java
@@ -0,0 +1,73 @@
+/*
+ * ============================================================================
+ * Name : KiwixGroups.java
+ * Author : AppDevForAll
+ * Copyright : Copyright (c) 2026 AppDevForAll
+ * Description : ADFA-5033. Static theme grouping for the ZIM catalog category index. Maps each of the
+ * ~23 categories (KiwixCategories) to one of 5 groups, used by the browse screen's filter
+ * chips (short label) and the "See all" section headers (longer label). Pure client-side
+ * table shipped with the app; the same shape is meant to back other content types (e.g.
+ * Kolibri) later. A category not listed falls into "media" (the catch-all) so the grouped
+ * view is always complete. DRAFT map — under team review (ADFA-5033).
+ *
+ * Template conventions (respect when copying this pattern to Kolibri/Books):
+ * controller/docs/CATALOG_BROWSE_TEMPLATE.md
+ * ============================================================================
+ */
+package org.iiab.controller.redesign;
+
+import org.iiab.controller.R;
+
+import java.util.HashMap;
+import java.util.Map;
+
+public final class KiwixGroups {
+ private KiwixGroups() {}
+
+ /** A theme group: a short chip label and a longer section header, both string resources. */
+ public static final class Group {
+ public final String key;
+ public final int chipLabel; // short — used on the filter chip
+ public final int headerLabel; // longer — used as the "See all" section header
+ Group(String key, int chipLabel, int headerLabel) {
+ this.key = key; this.chipLabel = chipLabel; this.headerLabel = headerLabel;
+ }
+ }
+
+ /** Display + filter order (chips and See-all sections follow this). */
+ public static final Group[] ALL = {
+ new Group("reference", R.string.k2go_zim_grp_reference, R.string.k2go_zim_grp_reference_hdr),
+ new Group("learning", R.string.k2go_zim_grp_learning, R.string.k2go_zim_grp_learning_hdr),
+ new Group("tools", R.string.k2go_zim_grp_tools, R.string.k2go_zim_grp_tools_hdr),
+ new Group("media", R.string.k2go_zim_grp_media, R.string.k2go_zim_grp_media_hdr),
+ new Group("kids", R.string.k2go_zim_grp_kids, R.string.k2go_zim_grp_kids_hdr),
+ };
+
+ private static final String CATCH_ALL = "media";
+
+ // category key -> group key. DRAFT (ADFA-5033); balance/placement pending team review.
+ private static final Map MAP = new HashMap<>();
+ static {
+ put("reference", "wikipedia", "wiktionary", "wikiquote", "wikisource", "wikinews", "psiram");
+ put("learning", "freecodecamp", "phet", "wikiversity", "wikibooks", "libretexts", "mooc");
+ put("tools", "devdocs", "stack_exchange", "ifixit");
+ put("media", "ted", "videos", "gutenberg", "zimit", "wikivoyage", "other", "maps");
+ put("kids", "vikidia");
+ }
+
+ private static void put(String group, String... catKeys) {
+ for (String k : catKeys) MAP.put(k, group);
+ }
+
+ /** Group key for a category (catch-all "media" if unmapped, so grouping is always complete). */
+ public static String groupOf(String categoryKey) {
+ String g = MAP.get(categoryKey);
+ return g != null ? g : CATCH_ALL;
+ }
+
+ /** Look up a group by key (null if unknown). */
+ public static Group byKey(String groupKey) {
+ for (Group g : ALL) if (g.key.equals(groupKey)) return g;
+ return null;
+ }
+}
diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/ZimCategoryFragment.java b/controller/app/src/main/java/org/iiab/controller/redesign/ZimCategoryFragment.java
index 34b87cbb5..d1bcb74a2 100644
--- a/controller/app/src/main/java/org/iiab/controller/redesign/ZimCategoryFragment.java
+++ b/controller/app/src/main/java/org/iiab/controller/redesign/ZimCategoryFragment.java
@@ -72,7 +72,7 @@ private static final class Entry {
private long freeMb = 0, totalMb = 0;
private LinearLayout list;
- private TextView freeLabel, sortSize, sortName, sortGroup, langChip, langCurrent, langSub;
+ private TextView freeLabel, sortSize, sortName, sortGroup, count, langCurrent, langSub;
private ProgressBar bar;
private Button add;
@@ -101,10 +101,10 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
sortSize = root.findViewById(R.id.k2go_zc_sort_size);
sortName = root.findViewById(R.id.k2go_zc_sort_name);
sortGroup = root.findViewById(R.id.k2go_zc_sort_group);
- langChip = root.findViewById(R.id.k2go_zc_lang); // informative label only (not a button)
+ count = root.findViewById(R.id.k2go_zc_count); // ADFA-5033: item count, list metadata
langCurrent = root.findViewById(R.id.k2go_zc_lang_current);
langSub = root.findViewById(R.id.k2go_zc_lang_sub);
- root.findViewById(R.id.k2go_zc_change).setOnClickListener(v -> pickLanguage());
+ root.findViewById(R.id.k2go_zc_lang_box).setOnClickListener(v -> pickLanguage()); // ADFA-5033: whole-row control
android.widget.EditText search = root.findViewById(R.id.k2go_zc_search);
search.setHint(getString(R.string.k2go_zc_search_hint, cat != null ? cat.title : project));
@@ -181,11 +181,14 @@ private String label(String creator, String flavour) {
}
private void render() {
- langChip.setText(getString(R.string.k2go_zc_lang_fmt, langDisplay(lang), entries.size()));
+ int shownCount = 0;
+ for (Entry e : entries) if (passes(e)) shownCount++;
+ // ADFA-5033: "N items" normally, live "N results" while searching — no language (that's the selector).
+ count.setText(getString(query.isEmpty() ? R.string.k2go_zc_count_items : R.string.k2go_zc_count_results, shownCount));
langCurrent.setText(getString(R.string.k2go_zim_lang_fmt, langDisplay(lang)));
boolean manual = (getActivity() instanceof SetupLibraryActivity)
&& ((SetupLibraryActivity) getActivity()).isZimLangManual();
- langSub.setText(manual ? R.string.k2go_zim_lang_sub_manual : R.string.k2go_zim_lang_sub);
+ langSub.setText(manual ? R.string.k2go_zim_lang_state_manual : R.string.k2go_zim_lang_state_system);
sortSize.setText(getString(R.string.k2go_zc_sort_size) + (sizeDir < 0 ? " ▼" : " ▲"));
sortName.setText((nameDir > 0 ? getString(R.string.k2go_zc_sort_name) : getString(R.string.k2go_zc_sort_name_desc))
+ (nameDir > 0 ? " ▼" : " ▲"));
@@ -279,57 +282,91 @@ private void chip(TextView t, boolean on) {
t.setTextColor(ContextCompat.getColor(requireContext(), on ? android.R.color.white : R.color.k2go_ink));
}
+ // ADFA-5033: flat list row (spec §10) — a simple line with a hairline between rows, NOT a card.
+ // The only rounded/filled shape is the SELECTED row's highlight; unselected rows are plain.
private View row(Entry e, String labelText, int indent) {
boolean fits = freeMb <= 0 || (e.bytes / (1024L * 1024L)) <= freeMb;
+ boolean selected = e.checked && fits;
- LinearLayout r = new LinearLayout(requireContext());
- r.setOrientation(LinearLayout.VERTICAL);
- LinearLayout.LayoutParams rlp = new LinearLayout.LayoutParams(
+ LinearLayout wrap = new LinearLayout(requireContext());
+ wrap.setOrientation(LinearLayout.VERTICAL);
+ LinearLayout.LayoutParams wlp = new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);
- rlp.bottomMargin = px(8); rlp.leftMargin = indent;
- r.setLayoutParams(rlp);
- r.setBackgroundResource(R.drawable.k2go_card_bg);
- r.setPadding(px(12), px(10), px(12), px(10));
+ wlp.leftMargin = indent;
+ wrap.setLayoutParams(wlp);
+
+ LinearLayout content = new LinearLayout(requireContext());
+ content.setOrientation(LinearLayout.VERTICAL);
+ content.setPadding(px(12), px(10), px(12), px(10));
+ if (selected) content.setBackground(selectedHighlight()); // the one rounded/filled shape
LinearLayout top = new LinearLayout(requireContext());
top.setOrientation(LinearLayout.HORIZONTAL);
top.setGravity(Gravity.CENTER_VERTICAL);
+ top.setMinimumHeight(px(36));
CheckBox cb = new CheckBox(requireContext());
- cb.setChecked(e.checked && fits);
+ cb.setChecked(selected);
cb.setEnabled(fits);
cb.setClickable(false);
cb.setFocusable(false);
top.addView(cb);
TextView name = new TextView(requireContext());
- name.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodyMedium);
+ name.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodyLarge);
name.setText(labelText);
name.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_ink));
+ if (selected) name.setTypeface(name.getTypeface(), android.graphics.Typeface.BOLD);
LinearLayout.LayoutParams nlp = new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 1f);
- nlp.leftMargin = px(6);
+ nlp.leftMargin = px(8);
top.addView(name, nlp);
TextView size = new TextView(requireContext());
- size.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodySmall);
+ size.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodyMedium);
size.setText(gb(e.bytes / (1024L * 1024L)));
size.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_muted));
+ size.setGravity(Gravity.END);
top.addView(size);
- r.addView(top);
+ content.addView(top);
if (!fits) {
TextView warn = new TextView(requireContext());
warn.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodySmall);
warn.setText(getString(R.string.k2go_zc_nospace, gb(e.bytes / (1024L * 1024L)), gb(freeMb)));
warn.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_amber_text));
- LinearLayout.LayoutParams wlp = new LinearLayout.LayoutParams(
+ LinearLayout.LayoutParams warnLp = new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT);
- wlp.topMargin = px(2); wlp.leftMargin = px(34);
- r.addView(warn, wlp);
+ warnLp.topMargin = px(2); warnLp.leftMargin = px(36);
+ content.addView(warn, warnLp);
} else {
- r.setOnClickListener(v -> { e.checked = !e.checked; cb.setChecked(e.checked); updateTotals(); });
+ content.setOnClickListener(v -> {
+ e.checked = !e.checked;
+ cb.setChecked(e.checked); // fits is true in this branch
+ content.setBackground(e.checked ? selectedHighlight() : null);
+ name.setTypeface(null, e.checked ? android.graphics.Typeface.BOLD : android.graphics.Typeface.NORMAL);
+ updateTotals();
+ });
}
- return r;
+
+ wrap.addView(content);
+ wrap.addView(hairline());
+ return wrap;
+ }
+
+ /** Rounded, subtly-filled highlight for the selected row (the only non-flat shape in the list). */
+ private android.graphics.drawable.GradientDrawable selectedHighlight() {
+ android.graphics.drawable.GradientDrawable g = new android.graphics.drawable.GradientDrawable();
+ g.setCornerRadius(px(10));
+ g.setColor(androidx.core.graphics.ColorUtils.setAlphaComponent(
+ ContextCompat.getColor(requireContext(), R.color.k2go_teal), 0x33));
+ return g;
+ }
+
+ private View hairline() {
+ View v = new View(requireContext());
+ v.setBackgroundColor(ContextCompat.getColor(requireContext(), R.color.k2go_hairline));
+ v.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, px(1)));
+ return v;
}
private long checkedMb() {
diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/ZimLandingFragment.java b/controller/app/src/main/java/org/iiab/controller/redesign/ZimLandingFragment.java
index 856db0c39..becc4576e 100644
--- a/controller/app/src/main/java/org/iiab/controller/redesign/ZimLandingFragment.java
+++ b/controller/app/src/main/java/org/iiab/controller/redesign/ZimLandingFragment.java
@@ -41,17 +41,19 @@
public class ZimLandingFragment extends Fragment {
- private static final int COLLAPSED = 15;
+ private static final int TOP_N = 6; // ADFA-5033: categories shown by default before "See all"
private JSONObject catalog;
private long freeMb = 0, totalMb = 0;
private LinearLayout cats;
+ private LinearLayout chipRow;
private TextView status, langLabel, langSub, storageLabel;
private ProgressBar storageBar;
private Button review;
private View bottomBar;
private String query = "";
private boolean expanded = false;
+ private String selectedGroup = null; // ADFA-5033: null = "All"; otherwise a KiwixGroups key
private int px(int dp) { return Math.round(dp * getResources().getDisplayMetrics().density); }
@@ -72,6 +74,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
back.setOnClickListener(v -> requireActivity().getSupportFragmentManager().popBackStack());
cats = root.findViewById(R.id.k2go_zim_cats);
+ chipRow = root.findViewById(R.id.k2go_zim_chips);
status = root.findViewById(R.id.k2go_zim_status);
langLabel = root.findViewById(R.id.k2go_zim_lang);
langSub = root.findViewById(R.id.k2go_zim_lang_sub);
@@ -92,7 +95,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
}
@Override public void afterTextChanged(android.text.Editable s) {}
});
- root.findViewById(R.id.k2go_zim_change).setOnClickListener(v -> pickLanguage());
+ root.findViewById(R.id.k2go_zim_lang_box).setOnClickListener(v -> pickLanguage());
try {
StatFs st = new StatFs(requireContext().getFilesDir().getPath());
@@ -102,6 +105,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
updateLangLabel();
updateStorage();
+ buildChips();
status.setText(R.string.k2go_zim_loading);
KiwixCatalog.getOrFetch(requireContext(), new KiwixCatalog.Listener() {
@@ -129,10 +133,12 @@ public void onResume() {
}
private void updateLangLabel() {
+ // ADFA-5033: one-control selector — bold language + a muted source sub-line ("From system" /
+ // "Manually selected"); the "· filters the catalog" clause is dropped (redundant).
langLabel.setText(getString(R.string.k2go_zim_lang_fmt, langDisplay(lang())));
boolean manual = (getActivity() instanceof SetupLibraryActivity)
&& ((SetupLibraryActivity) getActivity()).isZimLangManual();
- langSub.setText(manual ? R.string.k2go_zim_lang_sub_manual : R.string.k2go_zim_lang_sub);
+ langSub.setText(manual ? R.string.k2go_zim_lang_state_manual : R.string.k2go_zim_lang_state_system);
}
private String langDisplay(String code) {
@@ -169,33 +175,126 @@ private String gb(long mb) { // ADFA-4910: one standard size formatter for the
return org.iiab.controller.util.ByteFormatter.humanMb(mb);
}
+ // ADFA-5033: "breathe" — show less by default (top-N + See all), group in See-all, filter by chip,
+ // and collapse unavailable categories out of the flow instead of greying them in place.
private void buildRows() {
+ if (catalog == null) return;
cats.removeAllViews();
- String lang = lang();
-
- // Counts + ordering reflect the SELECTED language (not the all-languages total), so the
- // language selector is meaningful: e.g. Wikipedia in Spanish shows its ~dozens, not 2,465.
- final String L = lang;
- List ordered = new ArrayList<>();
- Collections.addAll(ordered, KiwixCategories.ALL);
- Collections.sort(ordered, (a, b) ->
- Integer.compare(KiwixCatalog.count(catalog, b.key, L), KiwixCatalog.count(catalog, a.key, L)));
-
- List shown = new ArrayList<>();
- for (KiwixCategories.Category c : ordered) if (matches(c, query)) shown.add(c);
-
- // Collapse to the first 15 only when not searching; searching shows every match so a
- // low-count category (e.g. TED) is always findable even though it sorts far down.
- boolean limiting = query.isEmpty() && !expanded && shown.size() > COLLAPSED;
- int limit = limiting ? COLLAPSED : shown.size();
-
- for (int i = 0; i < limit; i++) {
- KiwixCategories.Category c = shown.get(i);
- cats.addView(categoryRow(c, KiwixCatalog.count(catalog, c.key, L)));
+ final String L = lang();
+
+ // Search overrides everything: a flat list of matching categories across the whole catalog.
+ if (!query.isEmpty()) {
+ int shown = 0;
+ for (KiwixCategories.Category c : availableSorted(L)) {
+ if (!matches(c, query)) continue;
+ cats.addView(categoryRow(c, countOf(c, L)));
+ shown++;
+ }
+ status.setText(shown == 0 ? getString(R.string.k2go_zim_no_match) : "");
+ return;
+ }
+ status.setText("");
+
+ List available = availableSorted(L);
+ int unavailable = KiwixCategories.ALL.length - available.size();
+
+ // A group chip is selected: just that group's available categories (already filtered). Add the
+ // header only once we know the group has at least one available category (no empty header).
+ if (selectedGroup != null) {
+ KiwixGroups.Group g = KiwixGroups.byKey(selectedGroup);
+ boolean headerAdded = false;
+ for (KiwixCategories.Category c : available) {
+ if (!selectedGroup.equals(KiwixGroups.groupOf(c.key))) continue;
+ if (!headerAdded && g != null) { cats.addView(sectionHeader(getString(g.headerLabel))); headerAdded = true; }
+ cats.addView(categoryRow(c, countOf(c, L)));
+ }
+ // Nothing in this group is available in the current language → offer to change language.
+ if (!headerAdded && unavailable > 0) cats.addView(unavailableLine(unavailable, L));
+ return;
+ }
+
+ // "All": default = MOST CONTENT top-N + See all; expanded = grouped by theme.
+ if (!expanded) {
+ cats.addView(sectionHeader(getString(R.string.k2go_zim_most_content)));
+ int top = Math.min(TOP_N, available.size());
+ for (int i = 0; i < top; i++) cats.addView(categoryRow(available.get(i), countOf(available.get(i), L)));
+ cats.addView(seeAllRow(KiwixCategories.ALL.length));
+ if (unavailable > 0) cats.addView(unavailableLine(unavailable, L));
+ } else {
+ for (KiwixGroups.Group g : KiwixGroups.ALL) {
+ boolean headerAdded = false;
+ for (KiwixCategories.Category c : available) {
+ if (!g.key.equals(KiwixGroups.groupOf(c.key))) continue;
+ if (!headerAdded) { cats.addView(sectionHeader(getString(g.headerLabel))); headerAdded = true; }
+ cats.addView(categoryRow(c, countOf(c, L)));
+ }
+ }
+ if (unavailable > 0) cats.addView(unavailableRow(unavailable, L));
+ }
+ }
+
+ private int countOf(KiwixCategories.Category c, String L) { return KiwixCatalog.count(catalog, c.key, L); }
+
+ /** Categories with content in the current language, most first. Unavailable ones drop out here. */
+ private List availableSorted(String L) {
+ List list = new ArrayList<>();
+ for (KiwixCategories.Category c : KiwixCategories.ALL) if (countOf(c, L) > 0) list.add(c);
+ Collections.sort(list, (a, b) -> Integer.compare(countOf(b, L), countOf(a, L)));
+ return list;
+ }
+
+ // ---- chips (one horizontally-scrollable line; never wraps) -----------------------------------
+
+ private void buildChips() {
+ if (chipRow == null) return;
+ chipRow.removeAllViews();
+ chipRow.addView(chip(getString(R.string.k2go_zim_grp_all), null));
+ for (KiwixGroups.Group g : KiwixGroups.ALL) chipRow.addView(chip(getString(g.chipLabel), g.key));
+ }
+
+ private View chip(String label, String groupKey) {
+ boolean selected = (groupKey == null) ? (selectedGroup == null) : groupKey.equals(selectedGroup);
+ int teal = ContextCompat.getColor(requireContext(), R.color.k2go_teal);
+ TextView t = new TextView(requireContext());
+ t.setText(label);
+ t.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_LabelLarge);
+ t.setGravity(Gravity.CENTER);
+ t.setMinHeight(px(48)); // ADFA-5033: ≥48dp tap target (spec §9)
+ t.setPadding(px(14), px(6), px(14), px(6));
+ android.graphics.drawable.GradientDrawable bg = new android.graphics.drawable.GradientDrawable();
+ bg.setShape(android.graphics.drawable.GradientDrawable.RECTANGLE);
+ bg.setCornerRadius(px(24)); // full pill at 48dp
+ if (selected) {
+ bg.setColor(teal);
+ t.setTextColor(android.graphics.Color.WHITE);
+ } else {
+ bg.setColor(android.graphics.Color.TRANSPARENT);
+ bg.setStroke(Math.max(1, Math.round(1.4f * getResources().getDisplayMetrics().density)), teal);
+ t.setTextColor(teal);
}
- if (limiting) cats.addView(seeAllRow(ordered.size(), totalItems(ordered, L)));
- if (shown.isEmpty()) status.setText(getString(R.string.k2go_zim_no_match));
- else status.setText("");
+ t.setBackground(bg);
+ LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(
+ LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT);
+ lp.rightMargin = px(8);
+ t.setLayoutParams(lp);
+ t.setOnClickListener(v -> {
+ selectedGroup = groupKey;
+ expanded = false;
+ buildChips();
+ buildRows();
+ });
+ return t;
+ }
+
+ /** Teal caps section header (MOST CONTENT / group headers). */
+ private View sectionHeader(String label) {
+ TextView t = new TextView(requireContext());
+ t.setText(label);
+ t.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_LabelMedium);
+ t.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_teal));
+ t.setLetterSpacing(0.06f);
+ t.setPadding(0, px(16), 0, px(8));
+ return t;
}
/** Material icon per category (first pass; the team can refine the set later). */
@@ -233,43 +332,95 @@ private boolean matches(KiwixCategories.Category c, String q) {
|| c.key.toLowerCase(Locale.ROOT).contains(q);
}
- private int totalItems(List all, String lang) {
- int n = 0;
- for (KiwixCategories.Category c : all) n += KiwixCatalog.count(catalog, c.key, lang);
- return n;
+ /** "See all N categories ›" — expands the default list into the grouped view. */
+ private View seeAllRow(int catCount) {
+ LinearLayout wrap = new LinearLayout(requireContext());
+ wrap.setOrientation(LinearLayout.VERTICAL);
+ LinearLayout row = flatRow();
+ TextView label = new TextView(requireContext());
+ label.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_LabelLarge);
+ label.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_teal));
+ label.setText(getString(R.string.k2go_zim_see_all_cats_fmt, catCount));
+ row.addView(label, new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 1f));
+ row.addView(chevron());
+ row.setOnClickListener(v -> { expanded = true; buildRows(); });
+ wrap.addView(row);
+ wrap.addView(hairline());
+ return wrap;
}
- private View seeAllRow(int catCount, int itemCount) {
+ /** Default state: one muted line summarizing the categories hidden by the current language. */
+ private View unavailableLine(int count, String L) {
TextView t = new TextView(requireContext());
- t.setText(getString(R.string.k2go_zim_see_all_fmt, catCount, itemCount));
- t.setGravity(Gravity.CENTER);
- t.setPadding(px(12), px(12), px(12), px(12));
- t.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_teal));
- t.setTypeface(t.getTypeface(), android.graphics.Typeface.BOLD);
- t.setClickable(true);
- t.setOnClickListener(v -> { expanded = true; buildRows(); });
+ t.setText(getString(R.string.k2go_zim_unavail_line_fmt, count, langDisplay(L)));
+ t.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodySmall);
+ t.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_muted));
+ t.setPadding(0, px(14), 0, px(4));
+ t.setOnClickListener(v -> pickLanguage());
return t;
}
- private View categoryRow(KiwixCategories.Category c, int n) {
- boolean enabled = n > 0;
+ /** See-all state: the unavailable categories collapsed into a single muted row (tap = change lang). */
+ private View unavailableRow(int count, String L) {
+ LinearLayout wrap = new LinearLayout(requireContext());
+ wrap.setOrientation(LinearLayout.VERTICAL);
+ LinearLayout row = flatRow();
+ TextView label = new TextView(requireContext());
+ label.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodyLarge);
+ label.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_muted));
+ label.setText(getString(R.string.k2go_zim_unavail_row_fmt, langDisplay(L)));
+ row.addView(label, new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 1f));
+ TextView n = new TextView(requireContext());
+ n.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodyMedium);
+ n.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_muted));
+ n.setText(String.valueOf(count));
+ row.addView(n);
+ row.addView(chevron());
+ row.setOnClickListener(v -> pickLanguage());
+ wrap.addView(row);
+ wrap.addView(hairline());
+ return wrap;
+ }
+ /** A flat, horizontal content row (no card): centred vertically, ≥56dp, grid padding. */
+ private LinearLayout flatRow() {
LinearLayout row = new LinearLayout(requireContext());
row.setOrientation(LinearLayout.HORIZONTAL);
row.setGravity(Gravity.CENTER_VERTICAL);
- LinearLayout.LayoutParams rlp = new LinearLayout.LayoutParams(
- LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);
- rlp.bottomMargin = px(8);
- row.setLayoutParams(rlp);
- row.setBackgroundResource(R.drawable.k2go_card_bg);
- row.setPadding(px(14), px(12), px(14), px(12));
- row.setAlpha(enabled ? 1f : 0.5f);
+ row.setMinimumHeight(px(56));
+ row.setPadding(0, px(10), 0, px(10));
+ return row;
+ }
+
+ private View hairline() {
+ View v = new View(requireContext());
+ v.setBackgroundColor(ContextCompat.getColor(requireContext(), R.color.k2go_hairline));
+ v.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, px(1)));
+ return v;
+ }
+
+ private TextView chevron() {
+ TextView ch = new TextView(requireContext());
+ ch.setText("›");
+ ch.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_TitleMedium);
+ ch.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_muted));
+ ch.setPadding(px(10), 0, 0, 0);
+ return ch;
+ }
+
+ // ADFA-5033: flat, light row — no per-row card. Icon + name/subtitle + right-aligned count column
+ // (teal, redundant with the number) + chevron, over a hairline. Only available categories reach here.
+ private View categoryRow(KiwixCategories.Category c, int n) {
+ LinearLayout wrap = new LinearLayout(requireContext());
+ wrap.setOrientation(LinearLayout.VERTICAL);
+
+ LinearLayout row = flatRow();
ImageView icon = new ImageView(requireContext());
icon.setImageResource(iconFor(c.key));
icon.setColorFilter(ContextCompat.getColor(requireContext(), R.color.k2go_teal));
- LinearLayout.LayoutParams ilp = new LinearLayout.LayoutParams(px(26), px(26));
- ilp.rightMargin = px(12);
+ LinearLayout.LayoutParams ilp = new LinearLayout.LayoutParams(px(24), px(24));
+ ilp.rightMargin = px(16);
row.addView(icon, ilp);
LinearLayout text = new LinearLayout(requireContext());
@@ -278,20 +429,24 @@ private View categoryRow(KiwixCategories.Category c, int n) {
text.addView(text(c.subtitle, R.color.k2go_muted, false));
row.addView(text, new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 1f));
- TextView right = new TextView(requireContext());
- right.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodyMedium);
- right.setTextColor(ContextCompat.getColor(requireContext(), enabled ? R.color.k2go_ink : R.color.k2go_muted));
- right.setText(enabled ? (n + " ›") : getString(R.string.k2go_zim_cat_unavailable));
- row.addView(right);
+ TextView count = new TextView(requireContext());
+ count.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodyMedium);
+ count.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_teal));
+ count.setText(String.valueOf(n));
+ count.setGravity(Gravity.END);
+ count.setMinWidth(px(28));
+ row.addView(count);
+ row.addView(chevron());
+
+ row.setOnClickListener(v -> {
+ if (getActivity() instanceof SetupLibraryActivity) {
+ ((SetupLibraryActivity) getActivity()).openZimCategory(c.key);
+ }
+ });
- if (enabled) {
- row.setOnClickListener(v -> {
- if (getActivity() instanceof SetupLibraryActivity) {
- ((SetupLibraryActivity) getActivity()).openZimCategory(c.key);
- }
- });
- }
- return row;
+ wrap.addView(row);
+ wrap.addView(hairline());
+ return wrap;
}
private TextView text(String s, int color, boolean bold) {
diff --git a/controller/app/src/main/res/layout/fragment_k2go_zim_category.xml b/controller/app/src/main/res/layout/fragment_k2go_zim_category.xml
index c2ae8c5c5..158af94ef 100644
--- a/controller/app/src/main/res/layout/fragment_k2go_zim_category.xml
+++ b/controller/app/src/main/res/layout/fragment_k2go_zim_category.xml
@@ -2,6 +2,7 @@
@@ -24,43 +25,27 @@
android:textAppearance="?attr/textAppearanceBodyMedium"
android:textColor="@color/k2go_teal" />
-
+
+ android:textAppearance="?attr/textAppearanceHeadlineMedium"
+ android:textColor="@color/k2go_ink" />
-
-
-
-
-
-
-
+
@@ -82,18 +67,17 @@
android:id="@+id/k2go_zc_lang_sub"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/k2go_zim_lang_sub"
android:textAppearance="?attr/textAppearanceBodySmall"
android:textColor="@color/k2go_muted" />
-
+
+
+
+
diff --git a/controller/app/src/main/res/layout/fragment_k2go_zim_landing.xml b/controller/app/src/main/res/layout/fragment_k2go_zim_landing.xml
index 7584a49ce..d10237fca 100644
--- a/controller/app/src/main/res/layout/fragment_k2go_zim_landing.xml
+++ b/controller/app/src/main/res/layout/fragment_k2go_zim_landing.xml
@@ -3,6 +3,7 @@
selection' button is pinned to the bottom so it's always reachable. 'See all N categories'
sits at the end of the scrolling list. -->
@@ -38,13 +39,17 @@
android:textAppearance="?attr/textAppearanceHeadlineMedium"
android:textColor="@color/k2go_ink" />
-
+
@@ -66,18 +71,17 @@
android:id="@+id/k2go_zim_lang_sub"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/k2go_zim_lang_sub"
android:textAppearance="?attr/textAppearanceBodySmall"
android:textColor="@color/k2go_muted" />
-
+
@@ -122,14 +126,22 @@
android:textColor="@color/k2go_ink"
android:textColorHint="@color/k2go_muted" />
-
+
+ android:layout_marginTop="14dp"
+ android:scrollbars="none"
+ android:overScrollMode="never">
+
+
+
إعادة التثبيت من الصفر؟هذا يمحو النظام الحالي وكل ما فيه — الكتب والخرائط والتنزيلات والإعدادات — ثم يثبّت نسخة نظيفة. لا يمكن التراجع عنه. أنشئ نسخة احتياطية أولاً إذا أردت الاحتفاظ بأي شيء. يتطلب اتصالاً بالإنترنت.محو وإعادة تثبيت
+
+ من النظام
+ محدد يدويًا
+ أكثر المحتوى
+ عرض كل %1$d فئة
+ %1$d فئات غير متوفرة بـ %2$s · تغيير اللغة
+ غير متوفر بـ %1$s
+ الكل
+ مرجع
+ مرجع وموسوعة
+ تعلّم
+ التعلّم والصناعة
+ أدوات
+ أدوات وتقنية
+ وسائط
+ وسائط والمزيد
+ أطفال
+ أطفال
+ %1$d عنصرًا
+ %1$d نتيجة
diff --git a/controller/app/src/main/res/values-az/strings_k2go.xml b/controller/app/src/main/res/values-az/strings_k2go.xml
index 36d018af8..ef113167a 100644
--- a/controller/app/src/main/res/values-az/strings_k2go.xml
+++ b/controller/app/src/main/res/values-az/strings_k2go.xml
@@ -706,4 +706,24 @@
Sıfırdan yenidən quraşdırılsın?Bu, cari sistemi və içindəki hər şeyi — kitablar, xəritələr, endirmələr və parametrlər — silir, sonra təmiz nüsxə quraşdırır. Geri qaytarıla bilməz. Nə isə saxlamaq istəyirsinizsə, əvvəlcə ehtiyat nüsxə çıxarın. İnternet bağlantısı tələb olunur.Sil və yenidən quraşdır
+
+ Sistemdən
+ Əl ilə seçilib
+ ƏN ÇOX MƏZMUN
+ Bütün %1$d kateqoriyaya baxın
+ %1$d kateqoriya %2$s dilində mövcud deyil · Dili dəyişin
+ %1$s dilində mövcud deyil
+ Hamısı
+ İstinad
+ İSTİNAD VƏ ENSİKLOPEDİYA
+ Öyrənmə
+ ÖYRƏNMƏ VƏ YARATMA
+ Alətlər
+ ALƏTLƏR VƏ TEXNOLOGİYA
+ Media
+ MEDİA VƏ DAHA ÇOX
+ Uşaqlar
+ UŞAQLAR
+ %1$d element
+ %1$d nəticə
diff --git a/controller/app/src/main/res/values-bg/strings_k2go.xml b/controller/app/src/main/res/values-bg/strings_k2go.xml
index 07c14c33d..aeffb220f 100644
--- a/controller/app/src/main/res/values-bg/strings_k2go.xml
+++ b/controller/app/src/main/res/values-bg/strings_k2go.xml
@@ -706,4 +706,24 @@
Преинсталиране от нулата?Това изтрива текущата система и всичко в нея — книги, карти, изтегляния и настройки — и инсталира чисто копие. Не може да се отмени. Първо направете резервно копие, ако искате да запазите нещо. Изисква интернет връзка.Изтриване и преинсталиране
+
+ От системата
+ Ръчно избрано
+ НАЙ-МНОГО СЪДЪРЖАНИЕ
+ Всички %1$d категории
+ %1$d категории не са налични на %2$s · Смяна на езика
+ Не е налично на %1$s
+ Всички
+ Справочници
+ СПРАВОЧНИЦИ И ЕНЦИКЛОПЕДИИ
+ Обучение
+ ОБУЧЕНИЕ И ТВОРЧЕСТВО
+ Инструменти
+ ИНСТРУМЕНТИ И ТЕХНОЛОГИИ
+ Медия
+ МЕДИЯ И ОЩЕ
+ Деца
+ ДЕЦА
+ %1$d елемента
+ %1$d резултата
diff --git a/controller/app/src/main/res/values-bn/strings_k2go.xml b/controller/app/src/main/res/values-bn/strings_k2go.xml
index 013b21f92..76538f8c2 100644
--- a/controller/app/src/main/res/values-bn/strings_k2go.xml
+++ b/controller/app/src/main/res/values-bn/strings_k2go.xml
@@ -706,4 +706,24 @@
গোড়া থেকে পুনরায় ইনস্টল করবেন?এটি বর্তমান সিস্টেম এবং এর মধ্যে থাকা সবকিছু — বই, মানচিত্র, ডাউনলোড এবং সেটিংস — মুছে ফেলে, তারপর একটি পরিষ্কার কপি ইনস্টল করে। এটি ফেরানো যায় না। কিছু রাখতে চাইলে আগে ব্যাকআপ নিন। ইন্টারনেট সংযোগ প্রয়োজন।মুছুন এবং পুনরায় ইনস্টল করুন
+
+ সিস্টেম থেকে
+ ম্যানুয়ালি নির্বাচিত
+ সর্বাধিক কনটেন্ট
+ সব %1$dটি বিভাগ দেখুন
+ %2$s ভাষায় %1$dটি বিভাগ উপলব্ধ নয় · ভাষা পরিবর্তন করুন
+ %1$s ভাষায় উপলব্ধ নয়
+ সব
+ রেফারেন্স
+ রেফারেন্স ও বিশ্বকোষ
+ শেখা
+ শেখা ও তৈরি
+ সরঞ্জাম
+ সরঞ্জাম ও প্রযুক্তি
+ মিডিয়া
+ মিডিয়া ও আরও
+ শিশু
+ শিশু
+ %1$dটি আইটেম
+ %1$dটি ফলাফল
diff --git a/controller/app/src/main/res/values-cs/strings_k2go.xml b/controller/app/src/main/res/values-cs/strings_k2go.xml
index 0c8723f26..de6cadf0b 100644
--- a/controller/app/src/main/res/values-cs/strings_k2go.xml
+++ b/controller/app/src/main/res/values-cs/strings_k2go.xml
@@ -706,4 +706,24 @@
Přeinstalovat od začátku?Tímto se smaže aktuální systém a vše v něm — knihy, mapy, stažené soubory a nastavení — a nainstaluje se čistá kopie. Nelze vzít zpět. Pokud si chcete něco ponechat, nejprve vytvořte zálohu. Vyžaduje připojení k internetu.Smazat a přeinstalovat
+
+ Ze systému
+ Ručně vybráno
+ NEJVÍCE OBSAHU
+ Zobrazit všech %1$d kategorií
+ %1$d kategorií není dostupných v jazyce %2$s · Změnit jazyk
+ Není dostupné v jazyce %1$s
+ Vše
+ Referenční
+ REFERENČNÍ A ENCYKLOPEDIE
+ Učení
+ UČENÍ A TVORBA
+ Nástroje
+ NÁSTROJE A TECHNIKA
+ Média
+ MÉDIA A DALŠÍ
+ Děti
+ DĚTI
+ %1$d položek
+ %1$d výsledků
diff --git a/controller/app/src/main/res/values-de/strings_k2go.xml b/controller/app/src/main/res/values-de/strings_k2go.xml
index e4013af94..a74809311 100644
--- a/controller/app/src/main/res/values-de/strings_k2go.xml
+++ b/controller/app/src/main/res/values-de/strings_k2go.xml
@@ -707,4 +707,24 @@
Von Grund auf neu installieren?Dies löscht das aktuelle System und alles darin — Bücher, Karten, Downloads und Einstellungen — und installiert dann eine saubere Kopie. Das kann nicht rückgängig gemacht werden. Erstellen Sie zuerst ein Backup, wenn Sie etwas behalten möchten. Erfordert eine Internetverbindung.Löschen und neu installieren
+
+ Vom System
+ Manuell ausgewählt
+ MEISTE INHALTE
+ Alle %1$d Kategorien anzeigen
+ %1$d Kategorien sind auf %2$s nicht verfügbar · Sprache ändern
+ Nicht verfügbar auf %1$s
+ Alle
+ Referenz
+ REFERENZ & ENZYKLOPÄDIE
+ Lernen
+ LERNEN & MACHEN
+ Werkzeuge
+ WERKZEUGE & TECHNIK
+ Medien
+ MEDIEN & MEHR
+ Kinder
+ KINDER
+ %1$d Elemente
+ %1$d Ergebnisse
diff --git a/controller/app/src/main/res/values-el/strings_k2go.xml b/controller/app/src/main/res/values-el/strings_k2go.xml
index 6a6d6fd2a..2a9b02025 100644
--- a/controller/app/src/main/res/values-el/strings_k2go.xml
+++ b/controller/app/src/main/res/values-el/strings_k2go.xml
@@ -707,4 +707,24 @@
Επανεγκατάσταση από την αρχή;Αυτό διαγράφει το τρέχον σύστημα και ό,τι περιέχει — βιβλία, χάρτες, λήψεις και ρυθμίσεις — και έπειτα εγκαθιστά ένα καθαρό αντίγραφο. Δεν αναιρείται. Κάντε πρώτα αντίγραφο ασφαλείας αν θέλετε να κρατήσετε κάτι. Απαιτεί σύνδεση στο διαδίκτυο.Διαγραφή και επανεγκατάσταση
+
+ Από το σύστημα
+ Μη αυτόματη επιλογή
+ ΠΕΡΙΣΣΟΤΕΡΟ ΠΕΡΙΕΧΟΜΕΝΟ
+ Δείτε και τις %1$d κατηγορίες
+ %1$d κατηγορίες δεν είναι διαθέσιμες στα %2$s · Αλλαγή γλώσσας
+ Μη διαθέσιμο στα %1$s
+ Όλα
+ Αναφορά
+ ΑΝΑΦΟΡΑ ΚΑΙ ΕΓΚΥΚΛΟΠΑΙΔΕΙΑ
+ Μάθηση
+ ΜΑΘΗΣΗ ΚΑΙ ΔΗΜΙΟΥΡΓΙΑ
+ Εργαλεία
+ ΕΡΓΑΛΕΙΑ ΚΑΙ ΤΕΧΝΟΛΟΓΙΑ
+ Πολυμέσα
+ ΠΟΛΥΜΕΣΑ ΚΑΙ ΑΛΛΑ
+ Παιδιά
+ ΠΑΙΔΙΑ
+ %1$d στοιχεία
+ %1$d αποτελέσματα
diff --git a/controller/app/src/main/res/values-es/strings_k2go.xml b/controller/app/src/main/res/values-es/strings_k2go.xml
index 711bf110c..1f132907a 100644
--- a/controller/app/src/main/res/values-es/strings_k2go.xml
+++ b/controller/app/src/main/res/values-es/strings_k2go.xml
@@ -706,4 +706,24 @@
¿Reinstalar desde cero?Esto borra el sistema actual y todo lo que contiene —libros, mapas, descargas y ajustes— y luego instala una copia limpia. No se puede deshacer. Haz un respaldo primero si quieres conservar algo. Necesita conexión a internet.Borrar y reinstalar
+
+ Del sistema
+ Seleccionado manualmente
+ MÁS CONTENIDO
+ Ver las %1$d categorías
+ %1$d categorías no están disponibles en %2$s · Cambiar idioma
+ No disponible en %1$s
+ Todo
+ Referencia
+ REFERENCIA Y ENCICLOPEDIA
+ Aprendizaje
+ APRENDIZAJE Y CREACIÓN
+ Herramientas
+ HERRAMIENTAS Y TECNOLOGÍA
+ Multimedia
+ MULTIMEDIA Y MÁS
+ Niños
+ NIÑOS
+ %1$d elementos
+ %1$d resultados
diff --git a/controller/app/src/main/res/values-fa/strings_k2go.xml b/controller/app/src/main/res/values-fa/strings_k2go.xml
index 3951337ae..af5325b48 100644
--- a/controller/app/src/main/res/values-fa/strings_k2go.xml
+++ b/controller/app/src/main/res/values-fa/strings_k2go.xml
@@ -706,4 +706,24 @@
نصب مجدد از ابتدا؟این کار سیستم فعلی و همه چیز داخل آن — کتابها، نقشهها، دانلودها و تنظیمات — را پاک میکند و سپس یک نسخهٔ تمیز نصب میکند. قابل بازگشت نیست. اگر میخواهید چیزی را نگه دارید ابتدا نسخهٔ پشتیبان بگیرید. به اتصال اینترنت نیاز دارد.پاک کردن و نصب مجدد
+
+ از سیستم
+ انتخاب دستی
+ بیشترین محتوا
+ دیدن همه %1$d دسته
+ %1$d دسته به زبان %2$s در دسترس نیست · تغییر زبان
+ به زبان %1$s در دسترس نیست
+ همه
+ مرجع
+ مرجع و دانشنامه
+ یادگیری
+ یادگیری و ساخت
+ ابزارها
+ ابزارها و فناوری
+ رسانه
+ رسانه و بیشتر
+ کودکان
+ کودکان
+ %1$d مورد
+ %1$d نتیجه
diff --git a/controller/app/src/main/res/values-fr/strings_k2go.xml b/controller/app/src/main/res/values-fr/strings_k2go.xml
index 921a8128b..88d57cdfd 100644
--- a/controller/app/src/main/res/values-fr/strings_k2go.xml
+++ b/controller/app/src/main/res/values-fr/strings_k2go.xml
@@ -716,4 +716,24 @@
Réinstaller à neuf ?Ceci efface le système actuel et tout son contenu — livres, cartes, téléchargements et réglages — puis installe une copie propre. C\'est irréversible. Sauvegardez d\'abord si vous voulez conserver quelque chose. Nécessite une connexion internet.Effacer et réinstaller
+
+ Du système
+ Sélectionné manuellement
+ PLUS DE CONTENU
+ Voir les %1$d catégories
+ %1$d catégories ne sont pas disponibles en %2$s · Changer de langue
+ Non disponible en %1$s
+ Tout
+ Référence
+ RÉFÉRENCE ET ENCYCLOPÉDIE
+ Apprentissage
+ APPRENTISSAGE ET CRÉATION
+ Outils
+ OUTILS ET TECH
+ Médias
+ MÉDIAS ET PLUS
+ Enfants
+ ENFANTS
+ %1$d éléments
+ %1$d résultats
diff --git a/controller/app/src/main/res/values-gu/strings_k2go.xml b/controller/app/src/main/res/values-gu/strings_k2go.xml
index 3974b0f24..1587d076d 100644
--- a/controller/app/src/main/res/values-gu/strings_k2go.xml
+++ b/controller/app/src/main/res/values-gu/strings_k2go.xml
@@ -706,4 +706,24 @@
શરૂઆતથી ફરીથી ઇન્સ્ટોલ કરવું?આ વર્તમાન સિસ્ટમ અને તેમાંનું બધું — પુસ્તકો, નકશા, ડાઉનલોડ અને સેટિંગ્સ — ભૂંસી નાખે છે, પછી એક સ્વચ્છ નકલ ઇન્સ્ટોલ કરે છે. તેને પાછું લઈ શકાતું નથી. કંઈક રાખવું હોય તો પહેલાં બેકઅપ લો. ઇન્ટરનેટ કનેક્શન જરૂરી છે.ભૂંસો અને ફરીથી ઇન્સ્ટોલ કરો
+
+ સિસ્ટમમાંથી
+ મેન્યુઅલી પસંદ કરેલ
+ સૌથી વધુ સામગ્રી
+ બધી %1$d શ્રેણીઓ જુઓ
+ %2$s માં %1$d શ્રેણીઓ ઉપલબ્ધ નથી · ભાષા બદલો
+ %1$s માં ઉપલબ્ધ નથી
+ બધું
+ સંદર્ભ
+ સંદર્ભ અને જ્ઞાનકોશ
+ શિક્ષણ
+ શિક્ષણ અને સર્જન
+ સાધનો
+ સાધનો અને ટેક
+ મીડિયા
+ મીડિયા અને વધુ
+ બાળકો
+ બાળકો
+ %1$d આઇટમ
+ %1$d પરિણામ
diff --git a/controller/app/src/main/res/values-hi/strings_k2go.xml b/controller/app/src/main/res/values-hi/strings_k2go.xml
index 0e2a1765f..a61f605f7 100644
--- a/controller/app/src/main/res/values-hi/strings_k2go.xml
+++ b/controller/app/src/main/res/values-hi/strings_k2go.xml
@@ -706,4 +706,24 @@
शुरू से फिर से इंस्टॉल करें?यह वर्तमान सिस्टम और उसमें मौजूद सब कुछ — किताबें, मानचित्र, डाउनलोड और सेटिंग्स — मिटा देता है, फिर एक साफ़ प्रति इंस्टॉल करता है. इसे पूर्ववत नहीं किया जा सकता. अगर आप कुछ रखना चाहते हैं तो पहले बैकअप बनाएँ. इंटरनेट कनेक्शन आवश्यक है.मिटाएँ और फिर से इंस्टॉल करें
+
+ सिस्टम से
+ मैन्युअल रूप से चयनित
+ सर्वाधिक सामग्री
+ सभी %1$d श्रेणियाँ देखें
+ %2$s में %1$d श्रेणियाँ उपलब्ध नहीं हैं · भाषा बदलें
+ %1$s में उपलब्ध नहीं
+ सभी
+ संदर्भ
+ संदर्भ और विश्वकोश
+ सीखना
+ सीखना और बनाना
+ उपकरण
+ उपकरण और तकनीक
+ मीडिया
+ मीडिया और अधिक
+ बच्चे
+ बच्चे
+ %1$d आइटम
+ %1$d परिणाम
diff --git a/controller/app/src/main/res/values-hu/strings_k2go.xml b/controller/app/src/main/res/values-hu/strings_k2go.xml
index 6582c1a42..b3b821c78 100644
--- a/controller/app/src/main/res/values-hu/strings_k2go.xml
+++ b/controller/app/src/main/res/values-hu/strings_k2go.xml
@@ -706,4 +706,24 @@
Újratelepítés a nulláról?Ez törli a jelenlegi rendszert és mindent benne — könyvek, térképek, letöltések és beállítások —, majd tiszta másolatot telepít. Nem vonható vissza. Előbb készíts biztonsági mentést, ha meg akarsz tartani valamit. Internetkapcsolat szükséges.Törlés és újratelepítés
+
+ Rendszerből
+ Kézzel kiválasztva
+ LEGTÖBB TARTALOM
+ Mind a(z) %1$d kategória
+ %1$d kategória nem érhető el ezen: %2$s · Nyelv módosítása
+ Nem érhető el ezen: %1$s
+ Mind
+ Referencia
+ REFERENCIA ÉS ENCIKLOPÉDIA
+ Tanulás
+ TANULÁS ÉS ALKOTÁS
+ Eszközök
+ ESZKÖZÖK ÉS TECHNIKA
+ Média
+ MÉDIA ÉS TÖBB
+ Gyerekek
+ GYEREKEK
+ %1$d elem
+ %1$d találat
diff --git a/controller/app/src/main/res/values-in/strings_k2go.xml b/controller/app/src/main/res/values-in/strings_k2go.xml
index b1603749f..c306b4b77 100644
--- a/controller/app/src/main/res/values-in/strings_k2go.xml
+++ b/controller/app/src/main/res/values-in/strings_k2go.xml
@@ -706,4 +706,24 @@
Instal ulang dari awal?Ini menghapus sistem saat ini dan semua isinya — buku, peta, unduhan, dan pengaturan — lalu menginstal salinan bersih. Tidak dapat dibatalkan. Cadangkan dulu jika ingin menyimpan sesuatu. Perlu koneksi internet.Hapus dan instal ulang
+
+ Dari sistem
+ Dipilih manual
+ PALING BANYAK KONTEN
+ Lihat semua %1$d kategori
+ %1$d kategori tidak tersedia dalam %2$s · Ubah bahasa
+ Tidak tersedia dalam %1$s
+ Semua
+ Referensi
+ REFERENSI & ENSIKLOPEDIA
+ Pembelajaran
+ PEMBELAJARAN & KREASI
+ Alat
+ ALAT & TEKNOLOGI
+ Media
+ MEDIA & LAINNYA
+ Anak
+ ANAK
+ %1$d item
+ %1$d hasil
diff --git a/controller/app/src/main/res/values-it/strings_k2go.xml b/controller/app/src/main/res/values-it/strings_k2go.xml
index 5ce035ddd..2f63f5cca 100644
--- a/controller/app/src/main/res/values-it/strings_k2go.xml
+++ b/controller/app/src/main/res/values-it/strings_k2go.xml
@@ -706,4 +706,24 @@
Reinstallare da zero?Questo cancella il sistema attuale e tutto il suo contenuto — libri, mappe, download e impostazioni — poi installa una copia pulita. Non è reversibile. Fai prima un backup se vuoi conservare qualcosa. Richiede una connessione a internet.Cancella e reinstalla
+
+ Dal sistema
+ Selezionato manualmente
+ PIÙ CONTENUTI
+ Vedi tutte le %1$d categorie
+ %1$d categorie non sono disponibili in %2$s · Cambia lingua
+ Non disponibile in %1$s
+ Tutto
+ Riferimento
+ RIFERIMENTO ED ENCICLOPEDIA
+ Apprendimento
+ APPRENDIMENTO E CREAZIONE
+ Strumenti
+ STRUMENTI E TECNOLOGIA
+ Media
+ MEDIA E ALTRO
+ Bambini
+ BAMBINI
+ %1$d elementi
+ %1$d risultati
diff --git a/controller/app/src/main/res/values-ja/strings_k2go.xml b/controller/app/src/main/res/values-ja/strings_k2go.xml
index a0e1b6465..aa4f3b038 100644
--- a/controller/app/src/main/res/values-ja/strings_k2go.xml
+++ b/controller/app/src/main/res/values-ja/strings_k2go.xml
@@ -706,4 +706,24 @@
最初から再インストールしますか?これは現在のシステムとその中のすべて — 書籍、地図、ダウンロード、設定 — を消去し、クリーンなコピーをインストールします。元に戻せません。何か残したい場合は先にバックアップしてください。インターネット接続が必要です。消去して再インストール
+
+ システムから
+ 手動で選択
+ コンテンツが多い順
+ %1$d件のカテゴリをすべて表示
+ %2$sでは%1$d件のカテゴリを利用できません · 言語を変更
+ %1$sでは利用できません
+ すべて
+ リファレンス
+ リファレンスと百科事典
+ 学習
+ 学習と創作
+ ツール
+ ツールとテクノロジー
+ メディア
+ メディアとその他
+ 子ども
+ 子ども
+ %1$d件
+ %1$d件の結果
diff --git a/controller/app/src/main/res/values-ko/strings_k2go.xml b/controller/app/src/main/res/values-ko/strings_k2go.xml
index d389dda5e..c5b709c70 100644
--- a/controller/app/src/main/res/values-ko/strings_k2go.xml
+++ b/controller/app/src/main/res/values-ko/strings_k2go.xml
@@ -706,4 +706,24 @@
처음부터 다시 설치할까요?현재 시스템과 그 안의 모든 것 — 도서, 지도, 다운로드, 설정 — 을 지우고 깨끗한 사본을 설치합니다. 되돌릴 수 없습니다. 무언가를 남기려면 먼저 백업하세요. 인터넷 연결이 필요합니다.지우고 다시 설치
+
+ 시스템에서
+ 직접 선택
+ 콘텐츠 많은 순
+ %1$d개 카테고리 모두 보기
+ %2$s에서 %1$d개 카테고리를 사용할 수 없습니다 · 언어 변경
+ %1$s에서 사용할 수 없음
+ 전체
+ 참고
+ 참고 및 백과사전
+ 학습
+ 학습 및 제작
+ 도구
+ 도구 및 기술
+ 미디어
+ 미디어 및 기타
+ 어린이
+ 어린이
+ %1$d개 항목
+ %1$d개 결과
diff --git a/controller/app/src/main/res/values-lt/strings_k2go.xml b/controller/app/src/main/res/values-lt/strings_k2go.xml
index cc6ae6354..08ad8cd56 100644
--- a/controller/app/src/main/res/values-lt/strings_k2go.xml
+++ b/controller/app/src/main/res/values-lt/strings_k2go.xml
@@ -716,4 +716,24 @@
Įdiegti iš naujo nuo nulio?Tai ištrina dabartinę sistemą ir viską joje — knygas, žemėlapius, atsisiuntimus ir nustatymus — ir įdiegia švarią kopiją. Negalima atšaukti. Pirmiausia sukurkite atsarginę kopiją, jei norite ką nors išsaugoti. Reikia interneto ryšio.Ištrinti ir įdiegti iš naujo
+
+ Iš sistemos
+ Pasirinkta rankiniu būdu
+ DAUGIAUSIA TURINIO
+ Rodyti visas %1$d kategorijas
+ %1$d kategorijų nėra kalba %2$s · Keisti kalbą
+ Nepasiekiama kalba %1$s
+ Visi
+ Žinynas
+ ŽINYNAS IR ENCIKLOPEDIJA
+ Mokymasis
+ MOKYMASIS IR KŪRYBA
+ Įrankiai
+ ĮRANKIAI IR TECHNOLOGIJOS
+ Medija
+ MEDIJA IR DAUGIAU
+ Vaikai
+ VAIKAI
+ %1$d elementų
+ %1$d rezultatų
diff --git a/controller/app/src/main/res/values-nl/strings_k2go.xml b/controller/app/src/main/res/values-nl/strings_k2go.xml
index e0977a657..717bd7e36 100644
--- a/controller/app/src/main/res/values-nl/strings_k2go.xml
+++ b/controller/app/src/main/res/values-nl/strings_k2go.xml
@@ -706,4 +706,24 @@
Opnieuw installeren vanaf nul?Dit wist het huidige systeem en alles erin — boeken, kaarten, downloads en instellingen — en installeert dan een schone kopie. Dit kan niet ongedaan worden gemaakt. Maak eerst een back-up als je iets wilt bewaren. Vereist een internetverbinding.Wissen en opnieuw installeren
+
+ Van systeem
+ Handmatig geselecteerd
+ MEESTE INHOUD
+ Alle %1$d categorieën bekijken
+ %1$d categorieën zijn niet beschikbaar in %2$s · Taal wijzigen
+ Niet beschikbaar in %1$s
+ Alle
+ Naslag
+ NASLAG & ENCYCLOPEDIE
+ Leren
+ LEREN & MAKEN
+ Gereedschap
+ GEREEDSCHAP & TECH
+ Media
+ MEDIA & MEER
+ Kinderen
+ KINDEREN
+ %1$d items
+ %1$d resultaten
diff --git a/controller/app/src/main/res/values-no/strings_k2go.xml b/controller/app/src/main/res/values-no/strings_k2go.xml
index f81e6a820..1ebed2704 100644
--- a/controller/app/src/main/res/values-no/strings_k2go.xml
+++ b/controller/app/src/main/res/values-no/strings_k2go.xml
@@ -716,4 +716,24 @@
Installere på nytt fra bunnen?Dette sletter det nåværende systemet og alt i det — bøker, kart, nedlastinger og innstillinger — og installerer så en ren kopi. Det kan ikke angres. Ta en sikkerhetskopi først hvis du vil beholde noe. Krever internettforbindelse.Slett og installer på nytt
+
+ Fra systemet
+ Manuelt valgt
+ MEST INNHOLD
+ Se alle %1$d kategorier
+ %1$d kategorier er ikke tilgjengelige på %2$s · Endre språk
+ Ikke tilgjengelig på %1$s
+ Alle
+ Oppslag
+ OPPSLAG OG LEKSIKON
+ Læring
+ LÆRING OG SKAPING
+ Verktøy
+ VERKTØY OG TEKNOLOGI
+ Medier
+ MEDIER OG MER
+ Barn
+ BARN
+ %1$d elementer
+ %1$d resultater
diff --git a/controller/app/src/main/res/values-pl/strings_k2go.xml b/controller/app/src/main/res/values-pl/strings_k2go.xml
index 555d66f20..06c51a664 100644
--- a/controller/app/src/main/res/values-pl/strings_k2go.xml
+++ b/controller/app/src/main/res/values-pl/strings_k2go.xml
@@ -716,4 +716,24 @@
Zainstalować od nowa?Spowoduje to usunięcie bieżącego systemu i całej jego zawartości — książek, map, pobrań i ustawień — a następnie instalację czystej kopii. Nie można tego cofnąć. Najpierw wykonaj kopię zapasową, jeśli chcesz coś zachować. Wymaga połączenia z internetem.Usuń i zainstaluj od nowa
+
+ Z systemu
+ Wybrano ręcznie
+ NAJWIĘCEJ TREŚCI
+ Zobacz wszystkie kategorie: %1$d
+ %1$d kategorii nie jest dostępnych w języku %2$s · Zmień język
+ Niedostępne w języku %1$s
+ Wszystko
+ Źródła
+ ŹRÓDŁA I ENCYKLOPEDIE
+ Nauka
+ NAUKA I TWORZENIE
+ Narzędzia
+ NARZĘDZIA I TECHNOLOGIA
+ Multimedia
+ MULTIMEDIA I WIĘCEJ
+ Dzieci
+ DZIECI
+ %1$d elementów
+ %1$d wyników
diff --git a/controller/app/src/main/res/values-pt/strings_k2go.xml b/controller/app/src/main/res/values-pt/strings_k2go.xml
index 42c96d6e2..9a79cb47c 100644
--- a/controller/app/src/main/res/values-pt/strings_k2go.xml
+++ b/controller/app/src/main/res/values-pt/strings_k2go.xml
@@ -706,4 +706,24 @@
Reinstalar do zero?Isto apaga o sistema atual e tudo nele — livros, mapas, downloads e configurações — e instala uma cópia limpa. Não pode ser desfeito. Faça um backup antes se quiser manter algo. Precisa de conexão com a internet.Apagar e reinstalar
+
+ Do sistema
+ Selecionado manualmente
+ MAIS CONTEÚDO
+ Ver todas as %1$d categorias
+ %1$d categorias não estão disponíveis em %2$s · Alterar idioma
+ Não disponível em %1$s
+ Tudo
+ Referência
+ REFERÊNCIA E ENCICLOPÉDIA
+ Aprendizagem
+ APRENDIZAGEM E CRIAÇÃO
+ Ferramentas
+ FERRAMENTAS E TECNOLOGIA
+ Multimédia
+ MULTIMÉDIA E MAIS
+ Crianças
+ CRIANÇAS
+ %1$d itens
+ %1$d resultados
diff --git a/controller/app/src/main/res/values-ro/strings_k2go.xml b/controller/app/src/main/res/values-ro/strings_k2go.xml
index 5adfc9e8a..286eec8fa 100644
--- a/controller/app/src/main/res/values-ro/strings_k2go.xml
+++ b/controller/app/src/main/res/values-ro/strings_k2go.xml
@@ -706,4 +706,24 @@
Reinstalezi de la zero?Aceasta șterge sistemul actual și tot ce conține — cărți, hărți, descărcări și setări — apoi instalează o copie curată. Nu poate fi anulată. Fă mai întâi o copie de rezervă dacă vrei să păstrezi ceva. Necesită o conexiune la internet.Șterge și reinstalează
+
+ Din sistem
+ Selectat manual
+ CEL MAI MULT CONȚINUT
+ Vezi toate cele %1$d categorii
+ %1$d categorii nu sunt disponibile în %2$s · Schimbă limba
+ Indisponibil în %1$s
+ Toate
+ Referință
+ REFERINȚĂ ȘI ENCICLOPEDIE
+ Învățare
+ ÎNVĂȚARE ȘI CREAȚIE
+ Instrumente
+ INSTRUMENTE ȘI TEHNOLOGIE
+ Media
+ MEDIA ȘI ALTELE
+ Copii
+ COPII
+ %1$d elemente
+ %1$d rezultate
diff --git a/controller/app/src/main/res/values-ru-rRU/strings_k2go.xml b/controller/app/src/main/res/values-ru-rRU/strings_k2go.xml
index 3c524c765..2dd6347e1 100644
--- a/controller/app/src/main/res/values-ru-rRU/strings_k2go.xml
+++ b/controller/app/src/main/res/values-ru-rRU/strings_k2go.xml
@@ -706,4 +706,24 @@
Переустановить с нуля?Это сотрёт текущую систему и всё её содержимое — книги, карты, загрузки и настройки — и установит чистую копию. Отменить нельзя. Сначала сделайте резервную копию, если хотите что-то сохранить. Требуется подключение к интернету.Стереть и переустановить
+
+ Из системы
+ Выбрано вручную
+ ОСНОВНОЙ КОНТЕНТ
+ Показать все %1$d категорий
+ %1$d категорий недоступно на языке %2$s · Сменить язык
+ Недоступно на %1$s
+ Все
+ Справочники
+ СПРАВОЧНИКИ И ЭНЦИКЛОПЕДИИ
+ Обучение
+ ОБУЧЕНИЕ И ТВОРЧЕСТВО
+ Инструменты
+ ИНСТРУМЕНТЫ И ТЕХНОЛОГИИ
+ Медиа
+ МЕДИА И ДРУГОЕ
+ Дети
+ ДЕТИ
+ %1$d элементов
+ %1$d результатов
diff --git a/controller/app/src/main/res/values-sk/strings_k2go.xml b/controller/app/src/main/res/values-sk/strings_k2go.xml
index dd6f5e923..33cee7ba3 100644
--- a/controller/app/src/main/res/values-sk/strings_k2go.xml
+++ b/controller/app/src/main/res/values-sk/strings_k2go.xml
@@ -706,4 +706,24 @@
Preinštalovať od začiatku?Týmto sa vymaže aktuálny systém a všetko v ňom — knihy, mapy, stiahnuté súbory a nastavenia — a nainštaluje sa čistá kópia. Nedá sa vrátiť späť. Ak si chcete niečo ponechať, najprv vytvorte zálohu. Vyžaduje pripojenie na internet.Vymazať a preinštalovať
+
+ Zo systému
+ Ručne vybraté
+ NAJVIAC OBSAHU
+ Zobraziť všetkých %1$d kategórií
+ %1$d kategórií nie je dostupných v jazyku %2$s · Zmeniť jazyk
+ Nedostupné v jazyku %1$s
+ Všetko
+ Referencie
+ REFERENCIE A ENCYKLOPÉDIA
+ Učenie
+ UČENIE A TVORBA
+ Nástroje
+ NÁSTROJE A TECHNIKA
+ Médiá
+ MÉDIÁ A ĎALŠIE
+ Deti
+ DETI
+ %1$d položiek
+ %1$d výsledkov
diff --git a/controller/app/src/main/res/values-sr/strings_k2go.xml b/controller/app/src/main/res/values-sr/strings_k2go.xml
index e34723fcc..ae8f4b18f 100644
--- a/controller/app/src/main/res/values-sr/strings_k2go.xml
+++ b/controller/app/src/main/res/values-sr/strings_k2go.xml
@@ -706,4 +706,24 @@
Поново инсталирати из почетка?Ово брише тренутни систем и све у њему — књиге, мапе, преузимања и подешавања — а затим инсталира чисту копију. Не може се опозвати. Прво направите резервну копију ако желите нешто да задржите. Захтева интернет везу.Обриши и поново инсталирај
+
+ Из система
+ Ручно изабрано
+ НАЈВИШЕ САДРЖАЈА
+ Прикажи свих %1$d категорија
+ %1$d категорија није доступно на %2$s · Промени језик
+ Није доступно на %1$s
+ Све
+ Референце
+ РЕФЕРЕНЦЕ И ЕНЦИКЛОПЕДИЈА
+ Учење
+ УЧЕЊЕ И СТВАРАЊЕ
+ Алатке
+ АЛАТКЕ И ТЕХНОЛОГИЈА
+ Медији
+ МЕДИЈИ И ВИШЕ
+ Деца
+ ДЕЦА
+ %1$d ставки
+ %1$d резултата
diff --git a/controller/app/src/main/res/values-sw/strings_k2go.xml b/controller/app/src/main/res/values-sw/strings_k2go.xml
index dae77e163..e9f545ce4 100644
--- a/controller/app/src/main/res/values-sw/strings_k2go.xml
+++ b/controller/app/src/main/res/values-sw/strings_k2go.xml
@@ -706,4 +706,24 @@
Kusakinisha upya kutoka mwanzo?Hii inafuta mfumo wa sasa na kila kitu ndani yake — vitabu, ramani, vipakuliwa na mipangilio — kisha inasakinisha nakala safi. Haiwezi kutenduliwa. Hifadhi nakala rudufu kwanza ikiwa unataka kuweka chochote. Inahitaji muunganisho wa intaneti.Futa na usakinishe upya
+
+ Kutoka kwa mfumo
+ Imechaguliwa mwenyewe
+ MAUDHUI MENGI ZAIDI
+ Ona kategoria zote %1$d
+ Kategoria %1$d hazipatikani kwa %2$s · Badilisha lugha
+ Haipatikani kwa %1$s
+ Zote
+ Marejeleo
+ MAREJELEO NA ENSAIKLOPIDIA
+ Kujifunza
+ KUJIFUNZA NA KUUNDA
+ Zana
+ ZANA NA TEKNOLOJIA
+ Media
+ MEDIA NA ZAIDI
+ Watoto
+ WATOTO
+ vipengele %1$d
+ matokeo %1$d
diff --git a/controller/app/src/main/res/values-ta/strings_k2go.xml b/controller/app/src/main/res/values-ta/strings_k2go.xml
index ed88fef00..cffc1cb3f 100644
--- a/controller/app/src/main/res/values-ta/strings_k2go.xml
+++ b/controller/app/src/main/res/values-ta/strings_k2go.xml
@@ -706,4 +706,24 @@
புதிதாக மீண்டும் நிறுவவா?இது தற்போதைய அமைப்பையும் அதிலுள்ள அனைத்தையும் — புத்தகங்கள், வரைபடங்கள், பதிவிறக்கங்கள் மற்றும் அமைப்புகள் — அழித்து, பிறகு ஒரு சுத்தமான நகலை நிறுவும். இதைத் திரும்பப்பெற முடியாது. ஏதேனும் வைத்திருக்க விரும்பினால் முதலில் காப்புப்பிரதி எடுக்கவும். இணைய இணைப்பு தேவை.அழித்து மீண்டும் நிறுவு
+
+ கணினியிலிருந்து
+ கைமுறையாக தேர்ந்தெடுக்கப்பட்டது
+ அதிக உள்ளடக்கம்
+ அனைத்து %1$d வகைகளையும் காண்க
+ %2$s இல் %1$d வகைகள் கிடைக்கவில்லை · மொழியை மாற்று
+ %1$s இல் கிடைக்கவில்லை
+ அனைத்தும்
+ குறிப்பு
+ குறிப்பு மற்றும் கலைக்களஞ்சியம்
+ கற்றல்
+ கற்றல் மற்றும் உருவாக்கம்
+ கருவிகள்
+ கருவிகள் மற்றும் தொழில்நுட்பம்
+ ஊடகம்
+ ஊடகம் மற்றும் மேலும்
+ குழந்தைகள்
+ குழந்தைகள்
+ %1$d உருப்படிகள்
+ %1$d முடிவுகள்
diff --git a/controller/app/src/main/res/values-tr/strings_k2go.xml b/controller/app/src/main/res/values-tr/strings_k2go.xml
index 1f322eaa3..4396466c0 100644
--- a/controller/app/src/main/res/values-tr/strings_k2go.xml
+++ b/controller/app/src/main/res/values-tr/strings_k2go.xml
@@ -706,4 +706,24 @@
Sıfırdan yeniden kurulsun mu?Bu, mevcut sistemi ve içindeki her şeyi — kitaplar, haritalar, indirmeler ve ayarlar — siler, ardından temiz bir kopya kurar. Geri alınamaz. Bir şey saklamak istiyorsanız önce yedek alın. İnternet bağlantısı gerekir.Sil ve yeniden kur
+
+ Sistemden
+ Elle seçildi
+ EN ÇOK İÇERİK
+ %1$d kategorinin tümünü gör
+ %1$d kategori %2$s dilinde mevcut değil · Dili değiştir
+ %1$s dilinde mevcut değil
+ Tümü
+ Başvuru
+ BAŞVURU VE ANSİKLOPEDİ
+ Öğrenme
+ ÖĞRENME VE ÜRETME
+ Araçlar
+ ARAÇLAR VE TEKNOLOJİ
+ Medya
+ MEDYA VE DAHASI
+ Çocuklar
+ ÇOCUKLAR
+ %1$d öğe
+ %1$d sonuç
diff --git a/controller/app/src/main/res/values-uk/strings_k2go.xml b/controller/app/src/main/res/values-uk/strings_k2go.xml
index 2d0a84fca..ad97c5b7a 100644
--- a/controller/app/src/main/res/values-uk/strings_k2go.xml
+++ b/controller/app/src/main/res/values-uk/strings_k2go.xml
@@ -706,4 +706,24 @@
Перевстановити з нуля?Це зітре поточну систему й увесь її вміст — книги, карти, завантаження та налаштування — і встановить чисту копію. Скасувати неможливо. Спочатку зробіть резервну копію, якщо хочете щось зберегти. Потрібне підключення до інтернету.Стерти та перевстановити
+
+ Із системи
+ Вибрано вручну
+ НАЙБІЛЬШЕ ВМІСТУ
+ Показати всі %1$d категорії
+ %1$d категорій недоступні мовою %2$s · Змінити мову
+ Недоступно мовою %1$s
+ Усі
+ Довідники
+ ДОВІДНИКИ ТА ЕНЦИКЛОПЕДІЇ
+ Навчання
+ НАВЧАННЯ ТА ТВОРЧІСТЬ
+ Інструменти
+ ІНСТРУМЕНТИ ТА ТЕХНОЛОГІЇ
+ Медіа
+ МЕДІА ТА ІНШЕ
+ Діти
+ ДІТИ
+ %1$d елементів
+ %1$d результатів
diff --git a/controller/app/src/main/res/values-vi/strings_k2go.xml b/controller/app/src/main/res/values-vi/strings_k2go.xml
index 587c32b25..b1a828679 100644
--- a/controller/app/src/main/res/values-vi/strings_k2go.xml
+++ b/controller/app/src/main/res/values-vi/strings_k2go.xml
@@ -706,4 +706,24 @@
Cài đặt lại từ đầu?Thao tác này xóa hệ thống hiện tại và mọi thứ trong đó — sách, bản đồ, tải xuống và cài đặt — rồi cài một bản sạch. Không thể hoàn tác. Hãy sao lưu trước nếu bạn muốn giữ lại thứ gì đó. Cần kết nối internet.Xóa và cài đặt lại
+
+ Từ hệ thống
+ Chọn thủ công
+ NHIỀU NỘI DUNG NHẤT
+ Xem tất cả %1$d danh mục
+ %1$d danh mục không có bằng %2$s · Đổi ngôn ngữ
+ Không có bằng %1$s
+ Tất cả
+ Tham khảo
+ THAM KHẢO VÀ BÁCH KHOA
+ Học tập
+ HỌC TẬP VÀ SÁNG TẠO
+ Công cụ
+ CÔNG CỤ VÀ CÔNG NGHỆ
+ Phương tiện
+ PHƯƠNG TIỆN VÀ HƠN THẾ
+ Trẻ em
+ TRẺ EM
+ %1$d mục
+ %1$d kết quả
diff --git a/controller/app/src/main/res/values-yo/strings_k2go.xml b/controller/app/src/main/res/values-yo/strings_k2go.xml
index 7046c244f..7b3a671c7 100644
--- a/controller/app/src/main/res/values-yo/strings_k2go.xml
+++ b/controller/app/src/main/res/values-yo/strings_k2go.xml
@@ -706,4 +706,24 @@
Tún fi sori ẹrọ láti ìbẹ̀rẹ̀?Èyí ń pa ètò tí ó wà lọ́wọ́lọ́wọ́ àti gbogbo ohun tí ó wà nínú rẹ̀ rẹ́ — àwọn ìwé, àwọn máàpù, àwọn ohun tí a gbà sílẹ̀ àti àwọn ètò — lẹ́yìn náà ó fi ẹ̀dà mímọ́ sori ẹrọ. Kò ṣeé yí padà. Kọ́kọ́ ṣe àkọsílẹ̀ ìdáàbòbò bí o bá fẹ́ pa ohunkóhun mọ́. Ó nílò ìsopọ̀ íntánẹ́ẹ̀tì.Pa rẹ́ kí o sì tún fi sori ẹrọ
+
+ Láti inú ẹ̀rọ
+ Yíyàn pẹ̀lú ọwọ́
+ AKÓÓNÚ TÓ PỌ̀ JÙ
+ Wo gbogbo ẹ̀ka %1$d
+ Ẹ̀ka %1$d kò sí ní %2$s · Yí èdè padà
+ Kò sí ní %1$s
+ Gbogbo
+ Ìtọ́kasí
+ ÌTỌ́KASÍ ATI ÌWÉ-ÌMỌ̀
+ Ìkẹ́kọ̀ọ́
+ ÌKẸ́KỌ̀Ọ́ ATI ÌṢẸ̀DÁ
+ Irinṣẹ́
+ IRINṢẸ́ ATI ÌMỌ̀-ẸROTECH
+ Mídíà
+ MÍDÍÀ ATI SÍWÁJÚ
+ Àwọn ọmọdé
+ ÀWỌN ỌMỌDÉ
+ %1$d nǹkan
+ %1$d àbájáde
diff --git a/controller/app/src/main/res/values-zh-rCN/strings_k2go.xml b/controller/app/src/main/res/values-zh-rCN/strings_k2go.xml
index c73bbe841..835b8350d 100644
--- a/controller/app/src/main/res/values-zh-rCN/strings_k2go.xml
+++ b/controller/app/src/main/res/values-zh-rCN/strings_k2go.xml
@@ -706,4 +706,24 @@
从头重新安装?这会清除当前系统及其中的所有内容——图书、地图、下载和设置——然后安装一个干净的副本。此操作无法撤销。如果想保留任何内容,请先备份。需要互联网连接。清除并重新安装
+
+ 来自系统
+ 手动选择
+ 内容最多
+ 查看全部 %1$d 个分类
+ %1$d 个分类在 %2$s 中不可用 · 更改语言
+ 在 %1$s 中不可用
+ 全部
+ 参考
+ 参考与百科
+ 学习
+ 学习与创作
+ 工具
+ 工具与技术
+ 媒体
+ 媒体与更多
+ 儿童
+ 儿童
+ %1$d 个项目
+ %1$d 个结果
diff --git a/controller/app/src/main/res/values/strings_k2go.xml b/controller/app/src/main/res/values/strings_k2go.xml
index d110450ba..fe5c59d90 100644
--- a/controller/app/src/main/res/values/strings_k2go.xml
+++ b/controller/app/src/main/res/values/strings_k2go.xml
@@ -521,6 +521,10 @@
Language: %1$sFrom system · filters the catalogManually selected · filters the catalog
+
+ From System
+ Manually SelectedChangeSTORAGEUsed %1$s · Your selection %2$s · Free %3$s
@@ -531,6 +535,26 @@
Not availableSee all %1$d categories · %2$d itemsNo categories match your search.
+
+ MOST CONTENT
+ See all %1$d categories
+ %1$d categories aren\'t available in %2$s · Change language
+ Not available in %1$s
+ All
+ Reference
+ REFERENCE & ENCYCLOPEDIA
+ Learning
+ LEARNING & MAKING
+ Tools
+ TOOLS & TECH
+ Media
+ MEDIA & MORE
+ Kids
+ KIDS
+
+ %1$d items
+ %1$d results%1$s · %2$d itemsBy sizeA–Z
diff --git a/controller/docs/CATALOG_BROWSE_TEMPLATE.md b/controller/docs/CATALOG_BROWSE_TEMPLATE.md
new file mode 100644
index 000000000..5f946064b
--- /dev/null
+++ b/controller/docs/CATALOG_BROWSE_TEMPLATE.md
@@ -0,0 +1,86 @@
+# Catalog browse — reusable content-type template (conventions)
+
+Status: living reference · Epic ADFA-1028 · first implemented in ADFA-5033 (ZIM/Wikipedia).
+
+## Why this document
+
+The "Get more content" catalog for **Wikipedia & ZIM** is not a one-off screen — it is the
+**template** for every content type that ships a large, browsable catalog: **Kolibri next, then Books
+and others**. We are investing in the details now so that when a new wave of content arrives, the visual
+and interaction language is already mature and agreed. New content types will hit new problems, but they
+must **reuse this structure** rather than reinvent it — so the app stays integral and standardized.
+
+Treat this as the checklist to respect when copying the pattern to a new content type. The design boards
+(`k2go-catalog-browse-spec`, `k2go-language-control-v1`, `k2go-count-pill-v1`, `k2go-count-overflow-v1`,
+`k2go-sort-vs-group-v1`, `k2go-catalog-list-options-v1`) are the source of truth for pixels; this file is
+the source of truth for the **agreements**.
+
+## Reference implementation (copy these)
+
+- Category index: `redesign/ZimLandingFragment.java` + `layout/fragment_k2go_zim_landing.xml`
+- Item list (inside a category): `redesign/ZimCategoryFragment.java` + `layout/fragment_k2go_zim_category.xml`
+- Static theme grouping: `redesign/KiwixGroups.java` (category → group map + chip/header labels)
+
+A new content type (Kolibri, Books) is a **new instance of the same shape**: provide its taxonomy, its
+counts, and its own `*Groups` map — do not redesign the screen.
+
+## The agreements
+
+### Header — compact, one control per row
+- **Language selector = one whole-row control.** Two lines: `Language: ` (value bold) + the
+ **source** in Title-Case, no middot — `From System` (default) / `Manually Selected`. Trailing caret
+ (`arrow_drop_down`/`ic_expand_more`); **the whole box opens the picker — never an inner "Change"
+ button** (that is the button-in-button we removed). Same control in the index and in the detail.
+- **No redundant language pill.** The language lives only in the selector. Do not repeat it next to the
+ title.
+- **Storage = one line + thin bar**: `used · free · selection N`. Context, not a hero.
+
+### Category index — show less, then search / see-all
+- **Default:** a `MOST CONTENT` section with the **top ~6 categories** by count, then a
+ `See all N categories ›` row. Everything else is one tap (See all) or a search away.
+- **Flat, light rows** — no per-row card. 24dp leading icon, name + one-line subtitle, **right-aligned
+ count column** (teal, redundant with the number) + chevron, a **hairline between rows**. Air comes from
+ alignment and whitespace, not chrome. Row height ≥ 56dp.
+- **See all = grouped by theme** with section headers (teal caps), rows sorted by count within a group.
+ Grouping is a **static category→group map** shipped with the app (`KiwixGroups`); same idea for Kolibri.
+- **Unavailable collapses out of the flow.** Categories with 0 items in the current language are **not**
+ greyed rows. Default: one muted line `N categories aren't available in · Change language`.
+ See-all: a single collapsed row `Not available in N ›`. Never show an empty section header.
+
+### Filter chips — one line, never wrap
+- **One horizontally-scrollable row** (`HorizontalScrollView`), never wraps to a 2nd line (keeps the
+ header light on small screens / long locales like es, de). `All` + one chip per group; filters
+ client-side; `All` resets.
+- **Tap target ≥ 48dp** (even if the pill looks smaller).
+
+### Item list (inside a category) — a selectable list with a budget
+- **Flat rows, not cards.** Whole-row tap toggles selection; leading checkbox shows state; name +
+ **right-aligned size** in a tabular column; hairline between rows. The **only** rounded/filled shape is
+ the **selected** row's highlight (teal ~20%, live on tap) — no ovals on every row.
+- **Sort vs. group is one axis at a time** (mutually exclusive toggles): `By size` / `A–Z` are **flat**
+ (one item per row, no collapse); `Grouped` is **by subject** (language-dependent) and is the only place
+ variant-collapse lives (editions/sizes as chips).
+- **Storage guard**: disable/grey items that don't fit and say why (`Not enough space — needs X, Y free`).
+- **Count = list metadata, on its own line.** Right-aligned above the list, **not** at the end of the
+ scrollable chip row (it would wrap in es/de — see `k2go-count-overflow-v1`). Live: `N items` →
+ `N results` while searching. No language in it.
+
+### Forward action
+- **One fixed bottom bar** — `Review selection · ` (index) / `Add to selection · ` (detail),
+ pinned, never scrolls off; content scrolls under it.
+
+### Cross-cutting
+- **Icons:** Material Symbols **Outlined, weight 400** — same family as the nav.
+- **Colours from theme/tokens** (`colors_k2go.xml`); count colour is redundant with the number, never
+ colour-only.
+- **Accessibility & offline:** tap targets ≥ 48dp; high contrast; everything resolves offline; respect
+ Reduce Motion.
+- **l10n per PR:** new user-facing strings are localized in the PR that adds them (or kept
+ `translatable="false"` only while wording is under design review, then flipped + translated at sign-off).
+
+## When copying to a new content type
+
+1. Reuse the two layouts + the two fragments as the shape; swap the data source (its catalog/counts).
+2. Author a `*Groups` map (category → theme group, with chip + header labels).
+3. Keep every agreement above. If a new content type needs something new, extend the pattern **here**
+ (update this doc) so the next type inherits it — do not fork a divergent design.