diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/ConnectFragment.java b/controller/app/src/main/java/org/iiab/controller/redesign/ConnectFragment.java index 5f908e2e0..c8dcb611e 100644 --- a/controller/app/src/main/java/org/iiab/controller/redesign/ConnectFragment.java +++ b/controller/app/src/main/java/org/iiab/controller/redesign/ConnectFragment.java @@ -3,7 +3,6 @@ import android.Manifest; import android.content.Context; import android.content.pm.PackageManager; -import android.graphics.Color; import android.graphics.drawable.GradientDrawable; import android.os.Bundle; import android.view.Gravity; @@ -27,18 +26,49 @@ import org.iiab.controller.sync.transport.QrCodec; /** - * Connect tab (ADFA-4776): let a nearby device browse the library. Two-code flow per the final - * design — on a shared Wi-Fi it's one code (Open); on the app's LocalOnly hotspot it's two - * (Join → Open). Reuses LocalHotspotManager, NetworkInterfaces and QrCodec — no new transport. + * Connect tab (ADFA-4776; redesigned ADFA-5154). Let a nearby device browse the library. + * + *

On the app's LocalOnly hotspot the flow is two codes — (1) Join, (2) Open — and the redesign + * shows BOTH at once on one scrollable page (no vanishing wizard step): the user builds a stable + * spatial map instead of chasing a code that swaps in place. On a shared Wi-Fi it stays one code + * (Open), shown in the single container. Reuses LocalHotspotManager, NetworkInterfaces and QrCodec. + * + *

Both hotspot codes need the hotspot ON (ssid/pass for Join, the IP for Open), and the manager + * publishes all three together at Phase.ON. So while it is still starting the two sections show a + * placeholder in the QR slot (record-time on LocalOnly, so this is a blink); a genuine failure or an + * unsupported device is a single fact, shown once in the single container rather than as two dead + * frames. */ public class ConnectFragment extends Fragment { private enum Mode { HOTSPOT, WIFI } - private enum Stage { JOIN, OPEN } + + /** + * One QR "section": its slot (frame + code + placeholder), caption/subcaption and its own + * reveal-on-tap scan fallback (ADFA-4815). Three of these — Join, Open, and the single + * container used for Wi-Fi / failed / no-system — so the three no longer need parallel fields. + */ + private static final class Section { + final FrameLayout frame; + final ImageView qr; + final TextView ph, caption, subCaption, fallbackToggle; + final LinearLayout fallback, fallbackValues; + boolean fbOpen; // this section's fallback reveal state, kept across re-renders + + Section(View r, int frameId, int qrId, int phId, int capId, int subId, + int toggleId, int fallbackId, int valuesId) { + frame = r.findViewById(frameId); + qr = r.findViewById(qrId); + ph = r.findViewById(phId); + caption = r.findViewById(capId); + subCaption = r.findViewById(subId); + fallbackToggle = r.findViewById(toggleId); + fallback = r.findViewById(fallbackId); + fallbackValues = r.findViewById(valuesId); + } + } private Mode mode = Mode.HOTSPOT; - private Stage stage = Stage.JOIN; - private boolean openDone = false; // ADFA-5150: Connect shares this device's library — with no system there is nothing to serve, and // the QR would point at a dead port. Read on onResume (a system is not gained while this is open). private boolean systemPresent = true; @@ -46,13 +76,9 @@ private enum Stage { JOIN, OPEN } private final LocalHotspotManager hs = LocalHotspotManager.get(); private ActivityResultLauncher locationPerm; - private TextView tabHotspot, tabWifi, caption, subCaption, advance, finish, fallbackToggle; - private TextView connFooter; // ADFA-5150: the static "available while open" note — hidden in the no-system state - private LinearLayout steps, fallback, fallbackValues; - private ImageView qr; - // ADFA-4815: the scan fallback (Wi-Fi/pass or URL) is hidden until tapped, so it only - // shows up when the scan actually failed — same reveal as the Clone step-3 "show code as text". - private boolean fallbackOpen = false; + private TextView tabHotspot, tabWifi, advance, finish, connFooter; + private LinearLayout steps, two, single, hint; + private Section secJoin, secOpen, secSingle; @Override public void onCreate(@Nullable Bundle s) { @@ -72,32 +98,35 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c tabHotspot = v.findViewById(R.id.k2go_conn_hotspot); tabWifi = v.findViewById(R.id.k2go_conn_wifi); steps = v.findViewById(R.id.k2go_conn_steps); - qr = v.findViewById(R.id.k2go_conn_qr); - caption = v.findViewById(R.id.k2go_conn_caption); - subCaption = v.findViewById(R.id.k2go_conn_subcaption); - fallback = v.findViewById(R.id.k2go_conn_fallback); - fallbackToggle = v.findViewById(R.id.k2go_conn_fallback_toggle); - fallbackValues = v.findViewById(R.id.k2go_conn_fallback_values); + two = v.findViewById(R.id.k2go_conn_two); + single = v.findViewById(R.id.k2go_conn_single); + hint = v.findViewById(R.id.k2go_conn_hint); + + secJoin = new Section(v, R.id.k2go_conn_qr1_frame, R.id.k2go_conn_qr1, R.id.k2go_conn_qr1_ph, + R.id.k2go_conn_caption1, R.id.k2go_conn_subcaption1, + R.id.k2go_conn_fallback_toggle1, R.id.k2go_conn_fallback1, R.id.k2go_conn_fallback_values1); + secOpen = new Section(v, R.id.k2go_conn_qr2_frame, R.id.k2go_conn_qr2, R.id.k2go_conn_qr2_ph, + R.id.k2go_conn_caption2, R.id.k2go_conn_subcaption2, + R.id.k2go_conn_fallback_toggle2, R.id.k2go_conn_fallback2, R.id.k2go_conn_fallback_values2); + secSingle = new Section(v, R.id.k2go_conn_qrS_frame, R.id.k2go_conn_qrS, R.id.k2go_conn_qrS_ph, + R.id.k2go_conn_captionS, R.id.k2go_conn_subcaptionS, + R.id.k2go_conn_fallback_toggleS, R.id.k2go_conn_fallbackS, R.id.k2go_conn_fallback_valuesS); + advance = v.findViewById(R.id.k2go_conn_advance); finish = v.findViewById(R.id.k2go_conn_finish); connFooter = v.findViewById(R.id.k2go_conn_footer); tabHotspot.setOnClickListener(x -> setMode(Mode.HOTSPOT)); tabWifi.setOnClickListener(x -> setMode(Mode.WIFI)); - advance.setOnClickListener(x -> { - if (mode == Mode.HOTSPOT) { stage = (stage == Stage.JOIN) ? Stage.OPEN : Stage.JOIN; openDone = false; fallbackOpen = false; render(); } - }); finish.setOnClickListener(x -> { - openDone = true; // tick step 2, briefly show it complete, then go Home finish.setEnabled(false); - render(); new android.os.Handler(android.os.Looper.getMainLooper()).postDelayed(() -> { if (!isAdded()) return; View nav = requireActivity().findViewById(R.id.k2go_bottom_nav); if (nav instanceof com.google.android.material.bottomnavigation.BottomNavigationView) { ((com.google.android.material.bottomnavigation.BottomNavigationView) nav).setSelectedItemId(R.id.nav_library); } - }, 1500); + }, 300); }); hs.state().observe(getViewLifecycleOwner(), st -> render()); @@ -114,9 +143,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c private void setMode(Mode m) { mode = m; - stage = (m == Mode.HOTSPOT) ? Stage.JOIN : Stage.OPEN; - openDone = false; - fallbackOpen = false; // ADFA-4815: each mode/stage starts with the fallback collapsed + secJoin.fbOpen = secOpen.fbOpen = secSingle.fbOpen = false; // each mode starts collapsed if (m == Mode.HOTSPOT) ensureHotspot(); render(); } @@ -143,37 +170,32 @@ public void onResume() { } private void render() { - if (!isAdded() || caption == null) return; - // ADFA-5150: advance's default action is the stage toggle; noSystemState() repurposes it as - // Recover, so reset it here every render — a system that returns must not keep the Recover tap. - advance.setOnClickListener(x -> { - if (mode == Mode.HOTSPOT) { stage = (stage == Stage.JOIN) ? Stage.OPEN : Stage.JOIN; openDone = false; fallbackOpen = false; render(); } - }); + if (!isAdded() || secSingle == null) return; paintTab(tabHotspot, mode == Mode.HOTSPOT); paintTab(tabWifi, mode == Mode.WIFI); - if (finish != null) finish.setVisibility(View.GONE); - if (connFooter != null) connFooter.setVisibility(View.VISIBLE); // default; the no-system state hides it + finish.setVisibility(View.GONE); + connFooter.setVisibility(View.VISIBLE); // default; the no-system state hides it + advance.setVisibility(View.GONE); if (!systemPresent) { noSystemState(); return; } if (mode == Mode.HOTSPOT) renderHotspot(); else renderWifi(); } /** * ADFA-5150: no system, so nothing to share. Instead of a QR pointing at a dead server, say so and - * offer the one move that helps — Recover (restore / internet / clone). Reuses {@code advance} as - * the action; render() resets its listener so this does not stick once a system exists. + * offer the one move that helps — Recover. Reuses {@code advance} as the action. */ private void noSystemState() { - if (steps != null) steps.setVisibility(View.GONE); - qr.setImageBitmap(null); - caption.setText(R.string.k2go_connect_no_system); - subCaption.setText(""); - setFallback(null); - if (fallbackToggle != null) fallbackToggle.setVisibility(View.GONE); + showSingle(); + secSingle.frame.setVisibility(View.GONE); + steps.setVisibility(View.GONE); + secSingle.caption.setText(R.string.k2go_connect_no_system); + secSingle.subCaption.setText(""); + setFallback(secSingle, null); advance.setVisibility(View.VISIBLE); advance.setText(R.string.k2go_home_recover); styleAdvance(true); - advance.setOnClickListener(v -> SetupLibraryActivity.recover(requireContext())); - if (connFooter != null) connFooter.setVisibility(View.GONE); // ADFA-5150: no "available" note here + advance.setOnClickListener(x -> SetupLibraryActivity.recover(requireContext())); + connFooter.setVisibility(View.GONE); // no "available" note here } private void renderHotspot() { @@ -181,113 +203,137 @@ private void renderHotspot() { LocalHotspotManager.Phase phase = (st != null) ? st.phase : LocalHotspotManager.Phase.OFF; if (!LocalHotspotManager.isSupported()) { - simpleState(getString(R.string.k2go_connect_hotspot_unsupported), getString(R.string.k2go_connect_try_wifi)); - return; - } - if (phase == LocalHotspotManager.Phase.OFF || phase == LocalHotspotManager.Phase.STARTING) { - simpleState(getString(R.string.k2go_connect_starting_hotspot), ""); + singleStatus(getString(R.string.k2go_connect_hotspot_unsupported), getString(R.string.k2go_connect_try_wifi)); return; } if (phase == LocalHotspotManager.Phase.FAILED) { - simpleState(getString(R.string.k2go_connect_hotspot_failed), getString(R.string.k2go_connect_enable_location)); + singleStatus(getString(R.string.k2go_connect_hotspot_failed), getString(R.string.k2go_connect_enable_location)); return; } - String ssid = (st.ssid != null) ? st.ssid : ""; - String pass = (st.passphrase != null) ? st.passphrase : ""; - buildSteps(true); - advance.setVisibility(View.VISIBLE); - if (stage == Stage.JOIN) { - setQr("WIFI:S:" + ssid + ";T:WPA;P:" + pass + ";;"); - caption.setText(R.string.k2go_scan_join_hotspot); - subCaption.setText(R.string.k2go_just_scan); - setFallback(new String[]{getString(R.string.k2go_fallback_wifi, ssid), getString(R.string.k2go_fallback_pass, pass)}); - advance.setText(R.string.k2go_connect_shownext); - styleAdvance(true); - } else { + // OFF / STARTING / ON all show the two sections; only ON has scannable codes. + showTwo(); + buildSteps(); + boolean on = (phase == LocalHotspotManager.Phase.ON); + + if (on) { + String ssid = (st != null && st.ssid != null) ? st.ssid : ""; + String pass = (st != null && st.passphrase != null) ? st.passphrase : ""; String ip = NetworkInterfaces.discover().hotspotIp; if (ip == null) ip = "192.168.49.1"; - setQr(browseUrl(ip)); - caption.setText(getString(R.string.k2go_connect_scan_open)); - subCaption.setText(getString(R.string.k2go_connect_readonly)); - setFallback(new String[]{browseUrl(ip)}); - advance.setText(getString(R.string.k2go_clone_back_step1)); - styleAdvance(false); - finish.setVisibility(openDone ? View.GONE : View.VISIBLE); - advance.setVisibility(openDone ? View.GONE : View.VISIBLE); + + setQr(secJoin, "WIFI:S:" + ssid + ";T:WPA;P:" + pass + ";;", null); + secJoin.caption.setText(R.string.k2go_just_scan); + secJoin.subCaption.setText(""); + setFallback(secJoin, new String[]{ + getString(R.string.k2go_fallback_wifi, ssid), getString(R.string.k2go_fallback_pass, pass)}); + + setQr(secOpen, browseUrl(ip), null); + secOpen.caption.setText(R.string.k2go_connect_readonly); + secOpen.subCaption.setText(""); + setFallback(secOpen, new String[]{browseUrl(ip)}); + + finish.setVisibility(View.VISIBLE); + } else { + // Starting: hold both slots with a placeholder caption, no scannable code yet. + String starting = getString(R.string.k2go_connect_starting_hotspot); + for (Section sec : new Section[]{secJoin, secOpen}) { + setQr(sec, null, starting); + sec.caption.setText(""); + sec.subCaption.setText(""); + setFallback(sec, null); + } + finish.setVisibility(View.VISIBLE); } } private void renderWifi() { - buildSteps(false); - advance.setVisibility(View.GONE); + showSingle(); + steps.setVisibility(View.GONE); String ip = NetworkInterfaces.discover().wifiIp; if (ip == null) { - simpleState(getString(R.string.k2go_connect_no_wifi), getString(R.string.k2go_connect_join_wifi)); + singleStatus(getString(R.string.k2go_connect_no_wifi), getString(R.string.k2go_connect_join_wifi)); return; } - setQr(browseUrl(ip)); - caption.setText(getString(R.string.k2go_connect_scan_open)); - subCaption.setText(getString(R.string.k2go_connect_same_wifi)); - setFallback(new String[]{browseUrl(ip)}); - finish.setVisibility(View.VISIBLE); // same forward exit back to the library + secSingle.frame.setVisibility(View.VISIBLE); + setQr(secSingle, browseUrl(ip), null); + secSingle.caption.setText(R.string.k2go_connect_scan_open); + secSingle.subCaption.setText(R.string.k2go_connect_same_wifi); + setFallback(secSingle, new String[]{browseUrl(ip)}); + finish.setVisibility(View.VISIBLE); } - /** Clear the QR + fallback and show a status message (starting / failed / unsupported). */ - private void simpleState(String cap, String sub) { - qr.setImageBitmap(null); - caption.setText(cap); - subCaption.setText(sub); - setFallback(null); + /** A single status message (starting / failed / unsupported / no Wi-Fi) — no dead QR frame. */ + private void singleStatus(String cap, String sub) { + showSingle(); + steps.setVisibility(View.GONE); + secSingle.frame.setVisibility(View.GONE); + secSingle.caption.setText(cap); + secSingle.subCaption.setText(sub); + setFallback(secSingle, null); advance.setVisibility(View.GONE); } - private void setQr(String data) { - int px = Math.round(220 * getResources().getDisplayMetrics().density); - qr.setImageBitmap(QrCodec.encode(data, px)); + private void showTwo() { two.setVisibility(View.VISIBLE); single.setVisibility(View.GONE); } + + private void showSingle() { + single.setVisibility(View.VISIBLE); + two.setVisibility(View.GONE); + secSingle.frame.setVisibility(View.VISIBLE); // default; status / no-system hide it + } + + /** Draw {@code data} into the section's QR, or clear it and show {@code placeholder} in the slot. */ + private void setQr(Section sec, String data, String placeholder) { + if (data == null) { + sec.qr.setImageBitmap(null); + sec.ph.setText(placeholder == null ? "" : placeholder); + sec.ph.setVisibility(View.VISIBLE); + return; + } + int px = Math.round(200 * getResources().getDisplayMetrics().density); + sec.qr.setImageBitmap(QrCodec.encode(data, px)); + sec.ph.setVisibility(View.GONE); } - private void setFallback(String[] values) { - fallbackValues.removeAllViews(); - if (values == null || values.length == 0) { - fallback.setVisibility(View.GONE); - fallbackToggle.setVisibility(View.GONE); + private void setFallback(Section sec, String[] vals) { + sec.fallbackValues.removeAllViews(); + if (vals == null || vals.length == 0) { + sec.fallback.setVisibility(View.GONE); + sec.fallbackToggle.setVisibility(View.GONE); return; } - for (String val : values) { + for (String val : vals) { TextView t = new TextView(requireContext()); t.setText(val); t.setGravity(Gravity.CENTER); t.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_ink)); t.setTextIsSelectable(true); - fallbackValues.addView(t); + sec.fallbackValues.addView(t); } - // ADFA-4815: reveal-on-tap. The toggle sits under "just scan…"; the quote block with the - // values stays hidden until tapped, so a working scan stays clutter-free. - fallbackToggle.setVisibility(View.VISIBLE); - applyFallbackOpen(); - fallbackToggle.setOnClickListener(x -> { fallbackOpen = !fallbackOpen; applyFallbackOpen(); }); + // ADFA-4815: reveal-on-tap. The toggle sits under the caption; the quote block with the values + // stays hidden until tapped, so a working scan stays clutter-free. + sec.fallbackToggle.setVisibility(View.VISIBLE); + applyFallbackOpen(sec); + sec.fallbackToggle.setOnClickListener(x -> { sec.fbOpen = !sec.fbOpen; applyFallbackOpen(sec); }); } - private void applyFallbackOpen() { - fallback.setVisibility(fallbackOpen ? View.VISIBLE : View.GONE); - fallbackToggle.setText(fallbackOpen + private void applyFallbackOpen(Section sec) { + sec.fallback.setVisibility(sec.fbOpen ? View.VISIBLE : View.GONE); + sec.fallbackToggle.setText(sec.fbOpen ? getString(R.string.k2go_hide) + " ▴" : getString(R.string.k2go_scan_didnt_work) + " ▸"); } - // ---- step badges: numbered circle that KEEPS its number and gains a corner check when done ---- - private void buildSteps(boolean twoSteps) { + // ---- 1·2 stepper for orientation. Both are present at once, so both read as active. ---- + private void buildSteps() { steps.removeAllViews(); - if (!twoSteps) { steps.setVisibility(View.GONE); return; } steps.setVisibility(View.VISIBLE); - boolean atOpen = (stage == Stage.OPEN); - steps.addView(badge("1", "Join", !atOpen, atOpen)); // active when on Join; done (check) when on Open + steps.addView(badge("1", getString(R.string.k2go_connect_step_join))); steps.addView(arrow()); - steps.addView(badge("2", "Open", atOpen && !openDone, openDone)); + steps.addView(badge("2", getString(R.string.k2go_connect_step_open))); } - private View badge(String num, String label, boolean active, boolean done) { + private View badge(String num, String label) { Context ctx = requireContext(); LinearLayout col = new LinearLayout(ctx); col.setOrientation(LinearLayout.VERTICAL); @@ -296,49 +342,21 @@ private View badge(String num, String label, boolean active, boolean done) { FrameLayout fl = new FrameLayout(ctx); int d = dp(38); - boolean filled = active || done; - View circle = new View(ctx); GradientDrawable g = new GradientDrawable(); g.setShape(GradientDrawable.OVAL); - if (filled) { - g.setColor(ContextCompat.getColor(ctx, R.color.k2go_teal)); - } else { - g.setColor(Color.TRANSPARENT); - g.setStroke(dp(2), ContextCompat.getColor(ctx, R.color.k2go_muted)); - } + g.setColor(ContextCompat.getColor(ctx, R.color.k2go_teal)); circle.setBackground(g); fl.addView(circle, new FrameLayout.LayoutParams(d, d)); TextView t = new TextView(ctx); t.setText(num); t.setGravity(Gravity.CENTER); - t.setTextColor(ContextCompat.getColor(ctx, filled ? R.color.k2go_on_teal : R.color.k2go_muted)); + t.setTextColor(ContextCompat.getColor(ctx, R.color.k2go_on_teal)); fl.addView(t, new FrameLayout.LayoutParams(d, d)); - if (done) { - FrameLayout check = new FrameLayout(ctx); - int cd = dp(16); - View co = new View(ctx); - GradientDrawable cg = new GradientDrawable(); - cg.setShape(GradientDrawable.OVAL); - cg.setColor(ContextCompat.getColor(ctx, R.color.k2go_leaf)); - co.setBackground(cg); - check.addView(co, new FrameLayout.LayoutParams(cd, cd)); - TextView ck = new TextView(ctx); - ck.setText("✓"); - ck.setGravity(Gravity.CENTER); - ck.setTextSize(9); - ck.setTextColor(ContextCompat.getColor(ctx, R.color.k2go_on_teal)); - check.addView(ck, new FrameLayout.LayoutParams(cd, cd)); - FrameLayout.LayoutParams clp = new FrameLayout.LayoutParams(cd, cd); - clp.gravity = Gravity.TOP | Gravity.END; - fl.addView(check, clp); - } - int box = dp(44); - LinearLayout.LayoutParams flp = new LinearLayout.LayoutParams(box, box); - col.addView(fl, flp); + col.addView(fl, new LinearLayout.LayoutParams(box, box)); TextView lbl = new TextView(ctx); lbl.setText(label); diff --git a/controller/app/src/main/res/drawable/k2go_badge_teal.xml b/controller/app/src/main/res/drawable/k2go_badge_teal.xml new file mode 100644 index 000000000..fd90ca13b --- /dev/null +++ b/controller/app/src/main/res/drawable/k2go_badge_teal.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/controller/app/src/main/res/layout/fragment_k2go_connect.xml b/controller/app/src/main/res/layout/fragment_k2go_connect.xml index 6dd7ded42..9794e8bdb 100644 --- a/controller/app/src/main/res/layout/fragment_k2go_connect.xml +++ b/controller/app/src/main/res/layout/fragment_k2go_connect.xml @@ -1,9 +1,19 @@ - + + android:orientation="vertical" android:background="@color/k2go_paper"> + + + android:orientation="vertical" android:paddingLeft="16dp" android:paddingRight="16dp" + android:paddingTop="16dp" android:paddingBottom="8dp"> @@ -17,41 +27,131 @@ + - - - - - - - - - - - - - + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/controller/app/src/main/res/values-ar/strings_k2go.xml b/controller/app/src/main/res/values-ar/strings_k2go.xml index 660cddb67..1f375ce03 100644 --- a/controller/app/src/main/res/values-ar/strings_k2go.xml +++ b/controller/app/src/main/res/values-ar/strings_k2go.xml @@ -801,4 +801,11 @@ البدء من جديد الإبلاغ عن المشكلة عرض + + انضم إلى نقطة الاتصال + افتح المكتبة + الخطوة ٢ في الأسفل + تم + انضمام + فتح 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 fdd75d8fd..9f421e082 100644 --- a/controller/app/src/main/res/values-az/strings_k2go.xml +++ b/controller/app/src/main/res/values-az/strings_k2go.xml @@ -801,4 +801,11 @@ Yenidən başla Problemi bildir Bax + + Hotspot-uma qoşul + Kitabxananı aç + ADDIM 2 AŞAĞIDA + Hazırdır + Qoşul + Aç 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 fe07f2904..cd9626baf 100644 --- a/controller/app/src/main/res/values-bg/strings_k2go.xml +++ b/controller/app/src/main/res/values-bg/strings_k2go.xml @@ -801,4 +801,11 @@ Започни отначало Съобщи за проблема Виж + + Свържете се с точката ми + Отворете библиотеката + СТЪПКА 2 ПО-ДОЛУ + Готово + Свързване + Отваряне 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 632145613..5e9a9d11d 100644 --- a/controller/app/src/main/res/values-bn/strings_k2go.xml +++ b/controller/app/src/main/res/values-bn/strings_k2go.xml @@ -801,4 +801,11 @@ নতুন করে শুরু সমস্যা জানান দেখুন + + আমার হটস্পটে যোগ দিন + লাইব্রেরি খুলুন + ধাপ ২ নিচে + সম্পন্ন + যোগ + খুলুন 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 fbc679d0d..e770d7f24 100644 --- a/controller/app/src/main/res/values-cs/strings_k2go.xml +++ b/controller/app/src/main/res/values-cs/strings_k2go.xml @@ -801,4 +801,11 @@ Začít znovu Nahlásit problém Zobrazit + + Připojit k hotspotu + Otevřít knihovnu + KROK 2 NÍŽE + Hotovo + Připojit + Otevřít 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 0646ae63c..944d2486f 100644 --- a/controller/app/src/main/res/values-de/strings_k2go.xml +++ b/controller/app/src/main/res/values-de/strings_k2go.xml @@ -802,4 +802,11 @@ Neu beginnen Problem melden Ansehen + + Mit Hotspot verbinden + Bibliothek öffnen + SCHRITT 2 UNTEN + Fertig + Verbinden + Öffnen 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 96e6a065f..d84f2c226 100644 --- a/controller/app/src/main/res/values-el/strings_k2go.xml +++ b/controller/app/src/main/res/values-el/strings_k2go.xml @@ -802,4 +802,11 @@ Ξεκινήστε ξανά Αναφορά προβλήματος Προβολή + + Σύνδεση στο hotspot μου + Άνοιγμα βιβλιοθήκης + ΒΗΜΑ 2 ΠΑΡΑΚΑΤΩ + Τέλος + Σύνδεση + Άνοιγμα 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 b2dc59e17..e338e0a03 100644 --- a/controller/app/src/main/res/values-es/strings_k2go.xml +++ b/controller/app/src/main/res/values-es/strings_k2go.xml @@ -801,4 +801,11 @@ Empezar de nuevo Reportar el problema Ver + + Unirse a mi hotspot + Abrir la biblioteca + PASO 2 ABAJO + Listo + Unirse + Abrir 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 47bf96628..a0194dee3 100644 --- a/controller/app/src/main/res/values-fa/strings_k2go.xml +++ b/controller/app/src/main/res/values-fa/strings_k2go.xml @@ -801,4 +801,11 @@ شروع دوباره گزارش مشکل نمایش + + به هات‌اسپات من بپیوندید + کتابخانه را باز کنید + گام ۲ در پایین + انجام شد + پیوستن + باز کردن 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 b9913a0fb..85785cb5d 100644 --- a/controller/app/src/main/res/values-fr/strings_k2go.xml +++ b/controller/app/src/main/res/values-fr/strings_k2go.xml @@ -811,4 +811,11 @@ Recommencer Signaler le problème Voir + + Rejoindre mon point d\'accès + Ouvrir la bibliothèque + ÉTAPE 2 CI-DESSOUS + Terminé + Rejoindre + Ouvrir 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 733923ed0..c845db07c 100644 --- a/controller/app/src/main/res/values-gu/strings_k2go.xml +++ b/controller/app/src/main/res/values-gu/strings_k2go.xml @@ -801,4 +801,11 @@ શરૂઆતથી કરો સમસ્યાની જાણ કરો જુઓ + + મારા હોટસ્પોટમાં જોડાઓ + લાઇબ્રેરી ખોલો + પગલું ૨ નીચે + થઈ ગયું + જોડાઓ + ખોલો 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 7babd4e4e..d3c035516 100644 --- a/controller/app/src/main/res/values-hi/strings_k2go.xml +++ b/controller/app/src/main/res/values-hi/strings_k2go.xml @@ -801,4 +801,11 @@ शुरू से करें समस्या की रिपोर्ट करें देखें + + मेरे हॉटस्पॉट से जुड़ें + लाइब्रेरी खोलें + चरण 2 नीचे + हो गया + जुड़ें + खोलें 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 15483ca39..46a1f1420 100644 --- a/controller/app/src/main/res/values-hu/strings_k2go.xml +++ b/controller/app/src/main/res/values-hu/strings_k2go.xml @@ -801,4 +801,11 @@ Kezdés elölről Probléma jelentése Megtekintés + + Csatlakozás a hotspotomhoz + Könyvtár megnyitása + 2. LÉPÉS LENT + Kész + Csatlakozás + Megnyitás 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 b6349a27f..2f569bd41 100644 --- a/controller/app/src/main/res/values-in/strings_k2go.xml +++ b/controller/app/src/main/res/values-in/strings_k2go.xml @@ -801,4 +801,11 @@ Mulai dari awal Laporkan masalah Lihat + + Gabung ke hotspot saya + Buka perpustakaan + LANGKAH 2 DI BAWAH + Selesai + Gabung + Buka 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 b4d2fb95a..5bff164f7 100644 --- a/controller/app/src/main/res/values-it/strings_k2go.xml +++ b/controller/app/src/main/res/values-it/strings_k2go.xml @@ -801,4 +801,11 @@ Ricomincia Segnala il problema Vedi + + Unisciti al mio hotspot + Apri la biblioteca + PASSO 2 SOTTO + Fatto + Unisciti + Apri 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 98688364a..a91f5cf14 100644 --- a/controller/app/src/main/res/values-ja/strings_k2go.xml +++ b/controller/app/src/main/res/values-ja/strings_k2go.xml @@ -801,4 +801,11 @@ 最初からやり直す 問題を報告 表示 + + マイホットスポットに接続 + ライブラリを開く + ステップ2は下 + 完了 + 参加 + 開く 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 4f33cf840..f94e5a416 100644 --- a/controller/app/src/main/res/values-ko/strings_k2go.xml +++ b/controller/app/src/main/res/values-ko/strings_k2go.xml @@ -801,4 +801,11 @@ 처음부터 다시 문제 신고 보기 + + 내 핫스팟에 연결 + 라이브러리 열기 + 2단계는 아래에 + 완료 + 연결 + 열기 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 9f40ce1ad..c244e2159 100644 --- a/controller/app/src/main/res/values-lt/strings_k2go.xml +++ b/controller/app/src/main/res/values-lt/strings_k2go.xml @@ -811,4 +811,11 @@ Pradėti iš naujo Pranešti apie problemą Peržiūrėti + + Prisijungti prie mano viešosios prieigos taško + Atverti biblioteką + 2 ŽINGSNIS ŽEMIAU + Atlikta + Prisijungti + Atverti 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 1364db135..3863c2c97 100644 --- a/controller/app/src/main/res/values-nl/strings_k2go.xml +++ b/controller/app/src/main/res/values-nl/strings_k2go.xml @@ -801,4 +801,11 @@ Opnieuw beginnen Probleem melden Bekijken + + Verbind met mijn hotspot + Bibliotheek openen + STAP 2 HIERONDER + Klaar + Verbinden + Openen 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 4680ba759..3a1f0fc19 100644 --- a/controller/app/src/main/res/values-no/strings_k2go.xml +++ b/controller/app/src/main/res/values-no/strings_k2go.xml @@ -811,4 +811,11 @@ Start forfra Rapporter problemet Vis + + Koble til hotspotet mitt + Åpne biblioteket + TRINN 2 NEDENFOR + Ferdig + Koble til + Åpne 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 ea6d1306c..428d214f8 100644 --- a/controller/app/src/main/res/values-pl/strings_k2go.xml +++ b/controller/app/src/main/res/values-pl/strings_k2go.xml @@ -811,4 +811,11 @@ Zacznij od nowa Zgłoś problem Zobacz + + Połącz z moim hotspotem + Otwórz bibliotekę + KROK 2 PONIŻEJ + Gotowe + Połącz + Otwórz 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 df57eef8f..dc23606bf 100644 --- a/controller/app/src/main/res/values-pt/strings_k2go.xml +++ b/controller/app/src/main/res/values-pt/strings_k2go.xml @@ -801,4 +801,11 @@ Começar de novo Relatar o problema Ver + + Entrar no meu hotspot + Abrir a biblioteca + PASSO 2 ABAIXO + Concluído + Entrar + Abrir 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 2742b3399..9e308f739 100644 --- a/controller/app/src/main/res/values-ro/strings_k2go.xml +++ b/controller/app/src/main/res/values-ro/strings_k2go.xml @@ -801,4 +801,11 @@ Ia de la început Raportează problema Vezi + + Conectează-te la hotspotul meu + Deschide biblioteca + PASUL 2 MAI JOS + Gata + Conectare + Deschide 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 316ae55e3..bff645ebc 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 @@ -801,4 +801,11 @@ Начать заново Сообщить о проблеме Смотреть + + Подключиться к точке доступа + Открыть библиотеку + ШАГ 2 НИЖЕ + Готово + Подключиться + Открыть 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 77425ecd1..24c5ae935 100644 --- a/controller/app/src/main/res/values-sk/strings_k2go.xml +++ b/controller/app/src/main/res/values-sk/strings_k2go.xml @@ -801,4 +801,11 @@ Začať odznova Nahlásiť problém Zobraziť + + Pripojiť k hotspotu + Otvoriť knižnicu + KROK 2 NIŽŠIE + Hotovo + Pripojiť + Otvoriť 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 2a075628f..6b3259969 100644 --- a/controller/app/src/main/res/values-sr/strings_k2go.xml +++ b/controller/app/src/main/res/values-sr/strings_k2go.xml @@ -801,4 +801,11 @@ Почни испочетка Пријави проблем Погледај + + Придружи се мом хотспоту + Отвори библиотеку + КОРАК 2 ИСПОД + Готово + Придружи се + Отвори 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 2da63d899..ff6e761fd 100644 --- a/controller/app/src/main/res/values-sw/strings_k2go.xml +++ b/controller/app/src/main/res/values-sw/strings_k2go.xml @@ -801,4 +801,11 @@ Anza upya Ripoti tatizo Tazama + + Jiunge na mtandao wangu + Fungua maktaba + HATUA YA 2 CHINI + Imekamilika + Jiunge + Fungua 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 e73e306d5..4c1cb96c3 100644 --- a/controller/app/src/main/res/values-ta/strings_k2go.xml +++ b/controller/app/src/main/res/values-ta/strings_k2go.xml @@ -801,4 +801,11 @@ மீண்டும் தொடங்கு சிக்கலைப் புகாரளி பார் + + எனது ஹாட்ஸ்பாட்டில் இணையவும் + நூலகத்தைத் திற + படி 2 கீழே + முடிந்தது + இணை + திற 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 8fdef485e..d6ccf4dc3 100644 --- a/controller/app/src/main/res/values-tr/strings_k2go.xml +++ b/controller/app/src/main/res/values-tr/strings_k2go.xml @@ -801,4 +801,11 @@ Baştan başla Sorunu bildir Görüntüle + + Etkin noktama katıl + Kütüphaneyi aç + ADIM 2 AŞAĞIDA + Bitti + Katıl + Aç 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 75d1f1beb..426749880 100644 --- a/controller/app/src/main/res/values-uk/strings_k2go.xml +++ b/controller/app/src/main/res/values-uk/strings_k2go.xml @@ -801,4 +801,11 @@ Почати спочатку Повідомити про проблему Переглянути + + Приєднатися до точки доступу + Відкрити бібліотеку + КРОК 2 НИЖЧЕ + Готово + Приєднатися + Відкрити 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 d2042ab50..2697aab7f 100644 --- a/controller/app/src/main/res/values-vi/strings_k2go.xml +++ b/controller/app/src/main/res/values-vi/strings_k2go.xml @@ -801,4 +801,11 @@ Bắt đầu lại Báo cáo sự cố Xem + + Tham gia điểm phát sóng của tôi + Mở thư viện + BƯỚC 2 BÊN DƯỚI + Xong + Tham gia + Mở 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 83b5bec10..0069d9a59 100644 --- a/controller/app/src/main/res/values-yo/strings_k2go.xml +++ b/controller/app/src/main/res/values-yo/strings_k2go.xml @@ -801,4 +801,11 @@ Bẹ̀rẹ̀ láti ìbẹ̀rẹ̀ Ròyìn ìṣòro náà Wò ó + + Darapọ̀ mọ́ hotspot mi + Ṣí ilé-ìkàwé + IGBÉSẸ̀ 2 NÍSÀLẸ̀ + Parí + Darapọ̀ + Ṣí 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 048e0de5b..3a29c901d 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 @@ -801,4 +801,11 @@ 从头开始 报告问题 查看 + + 加入我的热点 + 打开图书馆 + 第 2 步在下方 + 完成 + 加入 + 打开 diff --git a/controller/app/src/main/res/values/strings_k2go.xml b/controller/app/src/main/res/values/strings_k2go.xml index 8a47758f9..f41d37c16 100644 --- a/controller/app/src/main/res/values/strings_k2go.xml +++ b/controller/app/src/main/res/values/strings_k2go.xml @@ -884,4 +884,11 @@ Start over Report the problem View + + Join my hotspot + Open the library + STEP 2 BELOW + Done + Join + Open