diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/DashboardClient.java b/controller/app/src/main/java/org/iiab/controller/redesign/DashboardClient.java index a73ab0c82..d8e5f5f0e 100644 --- a/controller/app/src/main/java/org/iiab/controller/redesign/DashboardClient.java +++ b/controller/app/src/main/java/org/iiab/controller/redesign/DashboardClient.java @@ -20,13 +20,17 @@ import org.iiab.controller.config.BoxEndpoints; import org.iiab.controller.util.AppExecutors; +import org.json.JSONArray; import org.json.JSONObject; import java.io.ByteArrayOutputStream; import java.io.InputStream; +import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.List; public final class DashboardClient { private DashboardClient() {} @@ -35,6 +39,7 @@ private DashboardClient() {} private static final String URL_REBUILD = BoxEndpoints.API + "/system/dashboard/rebuild"; private static final String URL_REBUILD_STATUS = BoxEndpoints.API + "/system/dashboard/rebuild/status"; private static final String URL_REBUILD_CANCEL = BoxEndpoints.API + "/system/dashboard/rebuild/cancel"; + private static final String URL_REBUILD_LOG = BoxEndpoints.API + "/system/dashboard/rebuild/log"; // ADFA-5339 private static final Handler MAIN = new Handler(Looper.getMainLooper()); public interface UpdateCb { @@ -63,13 +68,21 @@ public interface RebuildCancelCb { void onErr(String message); } + /** ADFA-5339: the rebuild log tail (last ~200 lines), for the card's expandable Details. */ + public interface RebuildLogCb { + void onLines(List lines); + void onErr(String message); + } + /** ADFA-5051: trigger the in-server blue-green rebuild (POST). Fire-and-forget: the box returns 202 - * at once (or 409 if one is already running); the caller then polls {@link #rebuildStatus}. */ - public static void rebuildStart(RebuildStartCb cb) { + * at once (or 409 if one is already running); the caller then polls {@link #rebuildStatus}. + * ADFA-5339: {@code updateSite} sends {site:true} so the finalize step also refreshes the served + * landing page. A box older than 1.2.12 (or the proot rebuild path) ignores the body — harmless. */ + public static void rebuildStart(boolean updateSite, RebuildStartCb cb) { AppExecutors.get().io().execute(() -> { int[] status = {0}; try { - httpPost(URL_REBUILD, status); + httpPostJson(URL_REBUILD, "{\"site\":" + updateSite + "}", status); MAIN.post(() -> cb.onStarted(false)); } catch (Exception e) { if (status[0] == 409) { MAIN.post(() -> cb.onStarted(true)); return; } @@ -78,6 +91,22 @@ public static void rebuildStart(RebuildStartCb cb) { }); } + /** ADFA-5339: fetch the rebuild log tail. A box without the endpoint (older dash-node) or no rebuild + * yet yields an empty list rather than an error the UI would have to special-case — the Details + * panel simply shows nothing / no chevron. */ + public static void rebuildLog(RebuildLogCb cb) { + AppExecutors.get().io().execute(() -> { + try { + JSONArray arr = new JSONObject(httpGet(URL_REBUILD_LOG)).optJSONArray("lines"); + final List lines = new ArrayList<>(); + if (arr != null) for (int i = 0; i < arr.length(); i++) lines.add(arr.optString(i, "")); + MAIN.post(() -> cb.onLines(lines)); + } catch (Exception e) { + MAIN.post(() -> cb.onErr(e.getMessage())); + } + }); + } + /** ADFA-5333: ask the box to cancel the in-flight rebuild. 200 => cancelled; 409 with promoting=true * => too late (swap finishing); 409 otherwise => nothing running. The body carries the flags, so this * reads it directly rather than going through the shared bodyless POST. */ @@ -159,16 +188,19 @@ private static String httpGet(String urlStr) throws Exception { } } - /** POST with no body; {@code statusOut[0]} receives the HTTP status so callers can map 409. The - * trigger returns immediately (202), so a short read timeout is fine. */ - private static void httpPost(String urlStr, int[] statusOut) throws Exception { + /** POST a JSON body; {@code statusOut[0]} receives the HTTP status so callers can map 409. Like the + * bodyless trigger, the box answers 202 immediately, so a short read timeout is fine. */ + private static void httpPostJson(String urlStr, String body, int[] statusOut) throws Exception { HttpURLConnection c = (HttpURLConnection) new URL(urlStr).openConnection(); try { c.setUseCaches(false); c.setConnectTimeout(5000); c.setReadTimeout(10000); - c.setRequestMethod("POST"); // bodyless trigger; no doOutput/body needed + c.setRequestMethod("POST"); c.setRequestProperty("Accept", "application/json"); + c.setRequestProperty("Content-Type", "application/json"); + c.setDoOutput(true); + try (OutputStream os = c.getOutputStream()) { os.write(body.getBytes(StandardCharsets.UTF_8)); } int code = c.getResponseCode(); statusOut[0] = code; readAll(code >= 200 && code < 400 ? c.getInputStream() : c.getErrorStream()); diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/DashboardDetailFragment.java b/controller/app/src/main/java/org/iiab/controller/redesign/DashboardDetailFragment.java index dbd661ed4..4e11b350b 100644 --- a/controller/app/src/main/java/org/iiab/controller/redesign/DashboardDetailFragment.java +++ b/controller/app/src/main/java/org/iiab/controller/redesign/DashboardDetailFragment.java @@ -50,6 +50,15 @@ public class DashboardDetailFragment extends Fragment { private View updatingRow; // ADFA-5333: in-progress indicator (indeterminate bar + label + Cancel) private View updatingCancel; // ADFA-5333: the Cancel affordance beside the bar private boolean updating; // ADFA-5333: a background rebuild is in flight; don't re-emphasize Rebuild + private boolean updateAvailable; // ADFA-5339: last-known — the confirm dialog matches the button + // ADFA-5339: expandable Details — the live rebuild log, minimized by default. The toggle is hidden + // until there are lines (an older box without /rebuild/log, or a rebuild that hasn't logged yet). + private TextView detailsToggle; + private android.widget.ScrollView logScroll; + private TextView logText; + private boolean logExpanded; + private static final long LOG_POLL_MS = 1500L; + private final Runnable logPoll = this::pollLog; /** ADFA-5333: the live update runs in the background (DashboardRebuildService), which broadcasts each * state change. While this card is on screen we show/hide an in-progress bar and, on done, refresh @@ -104,7 +113,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c // "Rebuild"; hide the secondary "Install now". rebuild = root.findViewById(R.id.k2go_moddet_schedule); rebuild.setText(R.string.k2go_dash_rebuild); - rebuild.setOnClickListener(v -> DashboardRebuild.confirmAndStart(this, root)); + rebuild.setOnClickListener(v -> DashboardRebuild.confirmAndStart(this, root, updateAvailable)); root.findViewById(R.id.k2go_moddet_install_now).setVisibility(View.GONE); rebuildHint = buildRebuildHint(rebuild); // ADFA-5026: "no rebuild needed" note (hidden until on-latest) updatingRow = buildUpdatingRow(rebuild); // ADFA-5333: in-progress bar (hidden until updating) @@ -194,6 +203,7 @@ private void applyCardState(DashboardCardState s) { sub.setText(R.string.k2go_dash_detail_sub); } } + updateAvailable = s.primaryIsUpdate(); // ADFA-5339: so the confirm dialog matches the button if (updating) return; // ADFA-5333: a rebuild is in flight — leave the button/bar as they are if (rebuild != null) { if (s.primaryIsUpdate()) { @@ -297,6 +307,33 @@ private View buildUpdatingRow(Button rebuildBtn) { updatingCancel = cancel; row.addView(line); + + // ADFA-5339: Details — a "Show details" toggle (hidden until there are log lines) that reveals + // the live rebuild log in place. Mirrors the module-install Details pattern; the button above + // stays fixed. Text chevron (▾/▴) to avoid a new drawable. + detailsToggle = new TextView(requireContext()); + detailsToggle.setText(getString(R.string.k2go_maps_log_show) + " ▾"); + detailsToggle.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_LabelLarge); + detailsToggle.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_teal)); + detailsToggle.setPadding(0, Math.round(8 * d), 0, Math.round(4 * d)); + detailsToggle.setClickable(true); + detailsToggle.setVisibility(View.GONE); + detailsToggle.setOnClickListener(v -> toggleLog()); + row.addView(detailsToggle); + + logScroll = new android.widget.ScrollView(requireContext()); + LinearLayout.LayoutParams slp = new LinearLayout.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, Math.round(160 * d)); + logScroll.setLayoutParams(slp); + logScroll.setVisibility(View.GONE); + logText = new TextView(requireContext()); + logText.setTextAppearance(com.google.android.material.R.style.TextAppearance_Material3_BodySmall); + logText.setTextColor(ContextCompat.getColor(requireContext(), R.color.k2go_muted)); + logText.setTypeface(android.graphics.Typeface.MONOSPACE); + logText.setTextIsSelectable(true); + logScroll.addView(logText); + row.addView(logScroll); + row.setVisibility(View.GONE); parent.addView(row, parent.indexOfChild(rebuildBtn)); return row; @@ -330,6 +367,54 @@ private void setUpdating(boolean on) { if (updatingCancel != null) updatingCancel.setEnabled(on); // re-enable when a new update shows if (rebuild != null) { rebuild.setEnabled(!on); rebuild.setAlpha(on ? 0.5f : 1f); } if (on && rebuildHint != null) rebuildHint.setVisibility(View.GONE); + // ADFA-5339: the Details log only exists while a rebuild runs. Poll it on, tear it down on off. + main.removeCallbacks(logPoll); + if (on) { + main.post(logPoll); + } else if (detailsToggle != null) { + detailsToggle.setVisibility(View.GONE); + if (logScroll != null) logScroll.setVisibility(View.GONE); + } + } + + /** ADFA-5339: reveal/hide the live log in place; the Rebuild button and everything else stay put. */ + private void toggleLog() { + logExpanded = !logExpanded; + if (logScroll != null) logScroll.setVisibility(logExpanded ? View.VISIBLE : View.GONE); + if (detailsToggle != null) { + detailsToggle.setText(getString( + logExpanded ? R.string.k2go_maps_log_hide : R.string.k2go_maps_log_show) + + (logExpanded ? " ▴" : " ▾")); + } + } + + /** ADFA-5339: poll the rebuild log tail while updating. Fork B — the toggle appears only once there + * are lines, so an older box without the endpoint (empty) shows no Details affordance. Reschedules + * itself while {@code updating}; setUpdating(false) and onDestroyView remove the callback. */ + private void pollLog() { + if (!isAdded() || !updating) return; + DashboardClient.rebuildLog(new DashboardClient.RebuildLogCb() { + @Override public void onLines(java.util.List lines) { + if (!isAdded() || !updating) return; + if (!lines.isEmpty()) { + if (detailsToggle != null) detailsToggle.setVisibility(View.VISIBLE); + if (logText != null) logText.setText(android.text.TextUtils.join("\n", lines)); + if (logExpanded && logScroll != null) { + logScroll.post(() -> logScroll.fullScroll(View.FOCUS_DOWN)); + } + } + main.postDelayed(logPoll, LOG_POLL_MS); + } + @Override public void onErr(String message) { + // No endpoint / transient: keep the toggle as-is (hidden if never populated) and retry. + if (isAdded() && updating) main.postDelayed(logPoll, LOG_POLL_MS); + } + }); + } + + @Override public void onDestroyView() { + main.removeCallbacks(logPoll); // ADFA-5339: never poll past the view's life + super.onDestroyView(); } /** Read the installed version from the rootfs package.json on disk (authoritative, always present; diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/DashboardRebuild.java b/controller/app/src/main/java/org/iiab/controller/redesign/DashboardRebuild.java index 942e1ded2..ddfd3c175 100644 --- a/controller/app/src/main/java/org/iiab/controller/redesign/DashboardRebuild.java +++ b/controller/app/src/main/java/org/iiab/controller/redesign/DashboardRebuild.java @@ -47,7 +47,7 @@ private DashboardRebuild() {} * snackbars show. A visible dashboard card refreshes itself on * {@link DashboardRebuildService#ACTION_STATE} (ADFA-5333), so there is no completion callback to * pass here — the background update outlives this fragment. */ - public static void confirmAndStart(@NonNull Fragment host, @NonNull View anchor) { + public static void confirmAndStart(@NonNull Fragment host, @NonNull View anchor, boolean updateAvailable) { Context ctx = host.requireContext(); if (org.iiab.controller.env.EnvironmentLock.isHeld(ctx)) { Snackbars.make(anchor, org.iiab.controller.util.BusyMessage.resFor(ctx)).show(); @@ -57,18 +57,47 @@ public static void confirmAndStart(@NonNull Fragment host, @NonNull View anchor) Snackbars.make(anchor, R.string.k2go_dash_needs_internet).show(); return; } + // ADFA-5339: a versionless "Update the Website" checkbox (default on) rides on the confirm. It + // refreshes the served landing page in the same run — a SEPARATE, unversioned artifact, so it + // carries no version label. Built in code to leave the shared dialog usage untouched. + final com.google.android.material.checkbox.MaterialCheckBox siteBox = + new com.google.android.material.checkbox.MaterialCheckBox(ctx); + siteBox.setText(R.string.k2go_dash_update_site); + siteBox.setChecked(true); + siteBox.setCompoundDrawablePadding(Math.round(8 * ctx.getResources().getDisplayMetrics().density)); + // Align the checkbox's left edge with the dialog's title/message, which are inset by + // dialogPreferredPadding — the custom view otherwise sits flush left. A container carries that + // inset so the checkbox's own left padding stays 0 and the box lines up with the text above. + int pad = dialogPadding(ctx); + android.widget.FrameLayout holder = new android.widget.FrameLayout(ctx); + holder.setPadding(pad, Math.round(8 * ctx.getResources().getDisplayMetrics().density), pad, 0); + holder.addView(siteBox); + // ADFA-5339: the confirm matches the primary action — "Update" when a newer build exists, + // "Rebuild" for a manual re-apply — so the dialog can't say "Rebuild" over an "Update" button. new MaterialAlertDialogBuilder(ctx) - .setTitle(R.string.k2go_dash_rebuild_confirm_title) + .setTitle(updateAvailable ? R.string.k2go_dash_update_confirm_title + : R.string.k2go_dash_rebuild_confirm_title) .setMessage(R.string.k2go_dash_rebuild_confirm_msg) + .setView(holder) .setNegativeButton(android.R.string.cancel, null) - .setPositiveButton(R.string.k2go_dash_rebuild, (d, w) -> start(host, anchor)) + .setPositiveButton(updateAvailable ? R.string.k2go_dash_update : R.string.k2go_dash_rebuild, + (d, w) -> start(host, anchor, siteBox.isChecked())) .show(); } + /** The dialog's horizontal content inset (title/message use it); the custom view must match it. */ + private static int dialogPadding(Context ctx) { + android.util.TypedValue tv = new android.util.TypedValue(); + if (ctx.getTheme().resolveAttribute(androidx.appcompat.R.attr.dialogPreferredPadding, tv, true)) { + return android.util.TypedValue.complexToDimensionPixelSize(tv.data, ctx.getResources().getDisplayMetrics()); + } + return Math.round(24 * ctx.getResources().getDisplayMetrics().density); // Material default + } + /** ADFA-5051: route by the installed dash-node version. >= 1.2.0 updates live over REST; older * installs take the proot rebuild once as a bridge to 1.2.0. The version read hits disk, so it * runs off the main thread; the routing itself is posted back to the UI. */ - private static void start(@NonNull Fragment host, @NonNull View anchor) { + private static void start(@NonNull Fragment host, @NonNull View anchor, boolean updateSite) { final Context app = host.requireContext().getApplicationContext(); final Handler main = new Handler(Looper.getMainLooper()); AppExecutors.get().io().execute(() -> { @@ -84,7 +113,9 @@ private static void start(@NonNull Fragment host, @NonNull View anchor) { final Operation op = Operation.of("dashboard", Operation.Kind.APP_INSTALL, cls); main.post(() -> { if (!host.isAdded()) return; - if (op.isLive()) startRest(host, anchor); + // ADFA-5339: the site refresh only applies to the LIVE REST path; the proot bridge rebuild + // (< 1.2.0) has no site step, so the checkbox is simply not carried there. + if (op.isLive()) startRest(host, anchor, updateSite); else startProot(host); }); }); @@ -106,8 +137,8 @@ private static void startProot(@NonNull Fragment host) { * notification) and let the user go — the service POSTs the rebuild and polls the box until it * reports done/error, with no time cap. A visible dashboard card refreshes on the service's * completion broadcast; nothing pins this screen. */ - private static void startRest(@NonNull Fragment host, @NonNull View anchor) { - DashboardRebuildService.start(host.requireContext().getApplicationContext()); + private static void startRest(@NonNull Fragment host, @NonNull View anchor, boolean updateSite) { + DashboardRebuildService.start(host.requireContext().getApplicationContext(), updateSite); if (host.isAdded()) Snackbars.make(anchor, R.string.k2go_dash_update_started).show(); } diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/DashboardRebuildService.java b/controller/app/src/main/java/org/iiab/controller/redesign/DashboardRebuildService.java index 476f4aa9c..e0d4582f3 100644 --- a/controller/app/src/main/java/org/iiab/controller/redesign/DashboardRebuildService.java +++ b/controller/app/src/main/java/org/iiab/controller/redesign/DashboardRebuildService.java @@ -58,6 +58,8 @@ public final class DashboardRebuildService extends Service { /** App-internal broadcast on every state change so a visible card can reflect it live. */ public static final String ACTION_STATE = "org.iiab.controller.DASHBOARD_UPDATE_STATE"; public static final String EXTRA_STATE = "state"; + /** ADFA-5339: carry the "also refresh the served website" choice from the confirm dialog to the POST. */ + public static final String EXTRA_SITE = "update_site"; public static final String STATE_RUNNING = "running"; public static final String STATE_DONE = "done"; public static final String STATE_ERROR = "error"; @@ -89,10 +91,12 @@ public final class DashboardRebuildService extends Service { private boolean cancelling = false; // a cancel request is in flight; ignore repeats private long startedAtMs = 0L; // ADFA-5343 (Phase 3B): monotonic start, for the stall backstop - /** Kick a NEW background live update (POST + poll). */ - public static void start(Context ctx) { + /** Kick a NEW background live update (POST + poll). ADFA-5339: {@code updateSite} also refreshes the + * served landing page in the same run (default on, from the confirm dialog's checkbox). */ + public static void start(Context ctx, boolean updateSite) { ContextCompat.startForegroundService(ctx, - new Intent(ctx, DashboardRebuildService.class).setAction(ACTION_START)); + new Intent(ctx, DashboardRebuildService.class).setAction(ACTION_START) + .putExtra(EXTRA_SITE, updateSite)); } /** Re-own a rebuild that is ALREADY running on the box (e.g. our process was killed mid-update): poll @@ -125,7 +129,8 @@ public int onStartCommand(Intent intent, int flags, int startId) { // done/error finishes at once — no new rebuild is ever launched). pollStatus(); } else { - DashboardClient.rebuildStart(new DashboardClient.RebuildStartCb() { + final boolean updateSite = intent == null || intent.getBooleanExtra(EXTRA_SITE, true); + DashboardClient.rebuildStart(updateSite, new DashboardClient.RebuildStartCb() { @Override public void onStarted(boolean alreadyRunning) { pollStatus(); } @Override public void onErr(String message) { finish(STATE_ERROR, R.string.k2go_dash_live_start_failed); } }); diff --git a/controller/app/src/main/java/org/iiab/controller/redesign/ModuleHubFragment.java b/controller/app/src/main/java/org/iiab/controller/redesign/ModuleHubFragment.java index a867495a0..b17a2d6d4 100644 --- a/controller/app/src/main/java/org/iiab/controller/redesign/ModuleHubFragment.java +++ b/controller/app/src/main/java/org/iiab/controller/redesign/ModuleHubFragment.java @@ -546,7 +546,9 @@ private void addSystemDashboardCard() { TextView rebuild = statePill(getString(R.string.k2go_dash_rebuild), R.color.k2go_teal); rebuild.setPadding(px(14), px(6), px(14), px(6)); - rebuild.setOnClickListener(v -> DashboardRebuild.confirmAndStart(this, host)); + // ADFA-5339: the confirm dialog matches the pill — pass the last-known "update available". + final boolean[] up = {false}; + rebuild.setOnClickListener(v -> DashboardRebuild.confirmAndStart(this, host, up[0])); LinearLayout.LayoutParams tlp = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); tlp.leftMargin = px(10); @@ -560,6 +562,7 @@ private void addSystemDashboardCard() { // (Fork B). fetchDashVersion above set the base installed-version subtitle for every other state. DashboardCardStatus.fetch(requireContext(), s -> { if (!isAdded()) return; + up[0] = s.primaryIsUpdate(); rebuild.setText(s.primaryIsUpdate() ? R.string.k2go_dash_update : R.string.k2go_dash_rebuild); if (s.showsVersionArrow()) { sub.setText(getString(R.string.k2go_dash_card_sub_update_fmt, diff --git a/controller/app/src/main/res/values-ar/strings.xml b/controller/app/src/main/res/values-ar/strings.xml index 8bd384859..cc8bcc15e 100644 --- a/controller/app/src/main/res/values-ar/strings.xml +++ b/controller/app/src/main/res/values-ar/strings.xml @@ -1299,4 +1299,14 @@ يُتراجع عمّا تم حتى الآن ولن يُثبَّت المكوّن. يمكنك بدؤه من جديد لاحقًا. إيقاف التثبيت متابعة التثبيت + + تحديث + نواة REST · v%1$s → v%2$s + لا يوجد اتصال + إيقاف التحديث؟ + تبقى اللوحة على إصدارها الحالي. + إيقاف التحديث + متابعة التحديث + تحديث الموقع + تحديث نواة REST؟ diff --git a/controller/app/src/main/res/values-az/strings.xml b/controller/app/src/main/res/values-az/strings.xml index fb2773a4d..17c99e0f0 100644 --- a/controller/app/src/main/res/values-az/strings.xml +++ b/controller/app/src/main/res/values-az/strings.xml @@ -1319,4 +1319,14 @@ İndiyədək edilənlər geri qaytarılır və modul quraşdırılmayacaq. Onu sonra yenidən başlada bilərsiniz. Quraşdırmanı dayandır Quraşdırmaya davam et + + Yenilə + REST nüvəsi · v%1$s → v%2$s + Bağlantı yoxdur + Yeniləmə dayandırılsın? + Panel cari versiyada qalır. + Yeniləməni dayandır + Yeniləməyə davam et + Veb saytı yenilə + REST nüvəsi yenilənsin? diff --git a/controller/app/src/main/res/values-bg/strings.xml b/controller/app/src/main/res/values-bg/strings.xml index d38407fb7..94e400637 100644 --- a/controller/app/src/main/res/values-bg/strings.xml +++ b/controller/app/src/main/res/values-bg/strings.xml @@ -1306,4 +1306,14 @@ Направеното дотук се връща назад и модулът няма да бъде инсталиран. Можете да го стартирате отново по-късно. Спри Продължи инсталацията + + Обновяване + REST ядро · v%1$s → v%2$s + Няма връзка + Спиране на обновяването? + Таблото остава на текущата версия. + Спри обновяването + Продължи обновяването + Обновяване на уебсайта + Обновяване на REST ядрото? diff --git a/controller/app/src/main/res/values-bn/strings.xml b/controller/app/src/main/res/values-bn/strings.xml index a5f6bd262..c3470aa06 100644 --- a/controller/app/src/main/res/values-bn/strings.xml +++ b/controller/app/src/main/res/values-bn/strings.xml @@ -1312,4 +1312,14 @@ এ পর্যন্ত যা হয়েছে তা পূর্বাবস্থায় ফিরিয়ে আনা হয় এবং মডিউলটি ইনস্টল হবে না। আপনি পরে আবার এটি শুরু করতে পারেন। ইনস্টল বন্ধ করুন ইনস্টল চালিয়ে যান + + আপডেট + REST কোর · v%1$s → v%2$s + সংযোগ নেই + আপডেট বন্ধ করবেন? + ড্যাশবোর্ড তার বর্তমান সংস্করণে থাকবে। + আপডেট বন্ধ করুন + আপডেট চালিয়ে যান + ওয়েবসাইট আপডেট করুন + REST কোর আপডেট করবেন? diff --git a/controller/app/src/main/res/values-cs/strings.xml b/controller/app/src/main/res/values-cs/strings.xml index 6710a80d0..c9a8fb28f 100644 --- a/controller/app/src/main/res/values-cs/strings.xml +++ b/controller/app/src/main/res/values-cs/strings.xml @@ -1306,4 +1306,14 @@ Dosud provedené se vrátí zpět a modul se nenainstaluje. Můžete jej spustit znovu později. Zastavit Pokračovat v instalaci + + Aktualizovat + Jádro REST · v%1$s → v%2$s + Bez připojení + Zastavit aktualizaci? + Panel zůstane na aktuální verzi. + Zastavit aktualizaci + Pokračovat v aktualizaci + Aktualizovat web + Aktualizovat jádro REST? diff --git a/controller/app/src/main/res/values-de/strings.xml b/controller/app/src/main/res/values-de/strings.xml index 7542c3ec4..cf48991a4 100644 --- a/controller/app/src/main/res/values-de/strings.xml +++ b/controller/app/src/main/res/values-de/strings.xml @@ -1299,4 +1299,14 @@ Das bisher Erledigte wird zurückgesetzt und das Modul wird nicht installiert. Du kannst es später erneut starten. Abbrechen Weiter installieren + + Aktualisieren + REST-Kern · v%1$s → v%2$s + Keine Verbindung + Update stoppen? + Das Dashboard bleibt bei seiner aktuellen Version. + Update stoppen + Weiter aktualisieren + Website aktualisieren + REST-Kern aktualisieren? diff --git a/controller/app/src/main/res/values-el/strings.xml b/controller/app/src/main/res/values-el/strings.xml index 204ccc0bb..d6b9a272f 100644 --- a/controller/app/src/main/res/values-el/strings.xml +++ b/controller/app/src/main/res/values-el/strings.xml @@ -1306,4 +1306,14 @@ Ό,τι έγινε μέχρι τώρα αναιρείται και η μονάδα δεν θα εγκατασταθεί. Μπορείτε να την ξεκινήσετε ξανά αργότερα. Διακοπή Συνέχιση εγκατάστασης + + Ενημέρωση + Πυρήνας REST · v%1$s → v%2$s + Καμία σύνδεση + Διακοπή της ενημέρωσης; + Ο πίνακας παραμένει στην τρέχουσα έκδοση. + Διακοπή ενημέρωσης + Συνέχιση ενημέρωσης + Ενημέρωση του ιστότοπου + Ενημέρωση του πυρήνα REST; diff --git a/controller/app/src/main/res/values-es/strings.xml b/controller/app/src/main/res/values-es/strings.xml index 0611fa681..7b3294ef6 100644 --- a/controller/app/src/main/res/values-es/strings.xml +++ b/controller/app/src/main/res/values-es/strings.xml @@ -1375,4 +1375,14 @@ Lo hecho hasta ahora se revierte y el módulo no se instalará. Puedes iniciarlo de nuevo después. Detener instalación Seguir instalando + + Actualizar + Núcleo REST · v%1$s → v%2$s + Sin conexión + ¿Detener la actualización? + El panel se queda en su versión actual. + Detener actualización + Seguir actualizando + Actualizar el sitio web + ¿Actualizar el núcleo REST? diff --git a/controller/app/src/main/res/values-fa/strings.xml b/controller/app/src/main/res/values-fa/strings.xml index ff8cad4fd..518391709 100644 --- a/controller/app/src/main/res/values-fa/strings.xml +++ b/controller/app/src/main/res/values-fa/strings.xml @@ -1299,4 +1299,14 @@ کارهای انجام‌شده تا کنون بازگردانده می‌شود و ماژول نصب نخواهد شد. می‌توانید بعداً دوباره آن را شروع کنید. توقف نصب ادامه نصب + + به‌روزرسانی + هستهٔ REST · v%1$s → v%2$s + بدون اتصال + توقف به‌روزرسانی؟ + داشبورد روی نسخهٔ فعلی می‌ماند. + توقف به‌روزرسانی + ادامهٔ به‌روزرسانی + به‌روزرسانی وب‌سایت + هستهٔ REST به‌روزرسانی شود؟ diff --git a/controller/app/src/main/res/values-fr/strings.xml b/controller/app/src/main/res/values-fr/strings.xml index aa121355e..aaf4da689 100644 --- a/controller/app/src/main/res/values-fr/strings.xml +++ b/controller/app/src/main/res/values-fr/strings.xml @@ -1386,4 +1386,14 @@ Ce qui a été fait jusqu\'ici est annulé et le module ne sera pas installé. Vous pourrez le relancer plus tard. Arrêter Continuer + + Mettre à jour + Cœur REST · v%1$s → v%2$s + Pas de connexion + Arrêter la mise à jour ? + Le tableau de bord reste sur sa version actuelle. + Arrêter la mise à jour + Continuer la mise à jour + Mettre à jour le site web + Mettre à jour le cœur REST ? diff --git a/controller/app/src/main/res/values-gu/strings.xml b/controller/app/src/main/res/values-gu/strings.xml index a0f8e7b31..ebc379317 100644 --- a/controller/app/src/main/res/values-gu/strings.xml +++ b/controller/app/src/main/res/values-gu/strings.xml @@ -1312,4 +1312,14 @@ અત્યાર સુધી થયેલું પાછું વળે છે અને મોડ્યુલ ઇન્સ્ટોલ થશે નહીં. તમે તેને પછીથી ફરી શરૂ કરી શકો છો. ઇન્સ્ટોલ બંધ કરો ઇન્સ્ટોલ ચાલુ રાખો + + અપડેટ કરો + REST કોર · v%1$s → v%2$s + કોઈ કનેક્શન નથી + અપડેટ રોકવું છે? + ડેશબોર્ડ તેની વર્તમાન આવૃત્તિ પર રહેશે. + અપડેટ રોકો + અપડેટ ચાલુ રાખો + વેબસાઇટ અપડેટ કરો + REST કોર અપડેટ કરવું છે? diff --git a/controller/app/src/main/res/values-hi/strings.xml b/controller/app/src/main/res/values-hi/strings.xml index c7c094443..d1259b8a4 100644 --- a/controller/app/src/main/res/values-hi/strings.xml +++ b/controller/app/src/main/res/values-hi/strings.xml @@ -1376,4 +1376,14 @@ अब तक जो हुआ है वह पूर्ववत हो जाता है और मॉड्यूल इंस्टॉल नहीं होगा. आप इसे बाद में फिर से शुरू कर सकते हैं. इंस्टॉल रोकें इंस्टॉल जारी रखें + + अपडेट करें + REST कोर · v%1$s → v%2$s + कोई कनेक्शन नहीं + अपडेट रोकें? + डैशबोर्ड अपने मौजूदा संस्करण पर रहेगा। + अपडेट रोकें + अपडेट जारी रखें + वेबसाइट अपडेट करें + REST कोर अपडेट करें? diff --git a/controller/app/src/main/res/values-hu/strings.xml b/controller/app/src/main/res/values-hu/strings.xml index 9a9491727..b3c82f592 100644 --- a/controller/app/src/main/res/values-hu/strings.xml +++ b/controller/app/src/main/res/values-hu/strings.xml @@ -1299,4 +1299,14 @@ Az eddigiek visszavonásra kerülnek, és a modul nem lesz telepítve. Később újraindíthatod. Leállítás Telepítés folytatása + + Frissítés + REST mag · v%1$s → v%2$s + Nincs kapcsolat + Leállítja a frissítést? + Az irányítópult a jelenlegi verzión marad. + Frissítés leállítása + Frissítés folytatása + Weboldal frissítése + Frissíti a REST magot? diff --git a/controller/app/src/main/res/values-in/strings.xml b/controller/app/src/main/res/values-in/strings.xml index fdea3091c..6ecdaeb28 100644 --- a/controller/app/src/main/res/values-in/strings.xml +++ b/controller/app/src/main/res/values-in/strings.xml @@ -1306,4 +1306,14 @@ Yang sudah dilakukan sejauh ini dibatalkan dan modul tidak akan dipasang. Anda dapat memulainya lagi nanti. Hentikan pemasangan Lanjutkan pemasangan + + Perbarui + Inti REST · v%1$s → v%2$s + Tidak ada koneksi + Hentikan pembaruan? + Dasbor tetap pada versi saat ini. + Hentikan pembaruan + Lanjutkan pembaruan + Perbarui situs web + Perbarui inti REST? diff --git a/controller/app/src/main/res/values-it/strings.xml b/controller/app/src/main/res/values-it/strings.xml index 8a54b1b5f..aafcbdc2b 100644 --- a/controller/app/src/main/res/values-it/strings.xml +++ b/controller/app/src/main/res/values-it/strings.xml @@ -1299,4 +1299,14 @@ Quanto fatto finora viene annullato e il modulo non verrà installato. Puoi riavviarlo in seguito. Interrompi Continua a installare + + Aggiorna + Nucleo REST · v%1$s → v%2$s + Nessuna connessione + Interrompere l\'aggiornamento? + Il pannello resta alla versione attuale. + Interrompi aggiornamento + Continua ad aggiornare + Aggiorna il sito web + Aggiornare il nucleo REST? diff --git a/controller/app/src/main/res/values-ja/strings.xml b/controller/app/src/main/res/values-ja/strings.xml index 557ec1834..65b1d0373 100644 --- a/controller/app/src/main/res/values-ja/strings.xml +++ b/controller/app/src/main/res/values-ja/strings.xml @@ -1300,4 +1300,14 @@ これまでの作業は元に戻され、モジュールはインストールされません。後でもう一度開始できます。 インストールを停止 インストールを続行 + + 更新 + REST コア · v%1$s → v%2$s + 接続なし + 更新を停止しますか? + ダッシュボードは現在のバージョンのままです。 + 更新を停止 + 更新を続行 + ウェブサイトを更新 + REST コアを更新しますか? diff --git a/controller/app/src/main/res/values-ko/strings.xml b/controller/app/src/main/res/values-ko/strings.xml index 14fdebf9f..ee3083c9c 100644 --- a/controller/app/src/main/res/values-ko/strings.xml +++ b/controller/app/src/main/res/values-ko/strings.xml @@ -1300,4 +1300,14 @@ 지금까지 진행된 내용은 되돌려지고 모듈이 설치되지 않습니다. 나중에 다시 시작할 수 있습니다. 설치 중지 설치 계속 + + 업데이트 + REST 코어 · v%1$s → v%2$s + 연결 없음 + 업데이트를 중지할까요? + 대시보드가 현재 버전으로 유지됩니다. + 업데이트 중지 + 업데이트 계속 + 웹사이트 업데이트 + REST 코어를 업데이트할까요? diff --git a/controller/app/src/main/res/values-lt/strings.xml b/controller/app/src/main/res/values-lt/strings.xml index cbd570e33..f5b4ec50f 100644 --- a/controller/app/src/main/res/values-lt/strings.xml +++ b/controller/app/src/main/res/values-lt/strings.xml @@ -1316,4 +1316,14 @@ Iki šiol atlikti veiksmai atšaukiami ir modulis nebus įdiegtas. Vėliau galėsite pradėti iš naujo. Stabdyti diegimą Tęsti diegimą + + Atnaujinti + REST branduolys · v%1$s → v%2$s + Nėra ryšio + Sustabdyti atnaujinimą? + Skydelis liks dabartinės versijos. + Sustabdyti atnaujinimą + Tęsti atnaujinimą + Atnaujinti svetainę + Atnaujinti REST branduolį? diff --git a/controller/app/src/main/res/values-nl/strings.xml b/controller/app/src/main/res/values-nl/strings.xml index 292df82dc..9fc5300bf 100644 --- a/controller/app/src/main/res/values-nl/strings.xml +++ b/controller/app/src/main/res/values-nl/strings.xml @@ -1299,4 +1299,14 @@ Wat tot nu toe is gedaan wordt teruggedraaid en de module wordt niet geïnstalleerd. Je kunt het later opnieuw starten. Stoppen Doorgaan met installeren + + Bijwerken + REST-kern · v%1$s → v%2$s + Geen verbinding + Update stoppen? + Het dashboard blijft op de huidige versie. + Update stoppen + Doorgaan met bijwerken + Website bijwerken + REST-kern bijwerken? diff --git a/controller/app/src/main/res/values-no/strings.xml b/controller/app/src/main/res/values-no/strings.xml index 192ec1c01..890b7bb47 100644 --- a/controller/app/src/main/res/values-no/strings.xml +++ b/controller/app/src/main/res/values-no/strings.xml @@ -1309,4 +1309,14 @@ Det som er gjort så langt tilbakestilles, og modulen blir ikke installert. Du kan starte den på nytt senere. Stopp installasjon Fortsett installasjonen + + Oppdater + REST-kjerne · v%1$s → v%2$s + Ingen tilkobling + Stoppe oppdateringen? + Dashbordet blir på gjeldende versjon. + Stopp oppdatering + Fortsett oppdatering + Oppdater nettstedet + Oppdatere REST-kjernen? diff --git a/controller/app/src/main/res/values-pl/strings.xml b/controller/app/src/main/res/values-pl/strings.xml index 40ce0a249..68fe1e48b 100644 --- a/controller/app/src/main/res/values-pl/strings.xml +++ b/controller/app/src/main/res/values-pl/strings.xml @@ -1309,4 +1309,14 @@ Dotychczasowe działania zostaną cofnięte, a moduł nie zostanie zainstalowany. Możesz uruchomić go ponownie później. Zatrzymaj Kontynuuj instalację + + Aktualizuj + Rdzeń REST · v%1$s → v%2$s + Brak połączenia + Zatrzymać aktualizację? + Panel pozostanie na bieżącej wersji. + Zatrzymaj aktualizację + Kontynuuj aktualizację + Zaktualizuj witrynę + Zaktualizować rdzeń REST? diff --git a/controller/app/src/main/res/values-pt/strings.xml b/controller/app/src/main/res/values-pt/strings.xml index 7dc86b895..e9fc3b8c5 100644 --- a/controller/app/src/main/res/values-pt/strings.xml +++ b/controller/app/src/main/res/values-pt/strings.xml @@ -1378,4 +1378,14 @@ O que foi feito até agora é revertido e o módulo não será instalado. Você pode iniciá-lo novamente depois. Parar instalação Continuar instalando + + Atualizar + Núcleo REST · v%1$s → v%2$s + Sem ligação + Parar a atualização? + O painel permanece na versão atual. + Parar atualização + Continuar a atualizar + Atualizar o site + Atualizar o núcleo REST? diff --git a/controller/app/src/main/res/values-ro/strings.xml b/controller/app/src/main/res/values-ro/strings.xml index 367f2c6ce..7e4ff45a2 100644 --- a/controller/app/src/main/res/values-ro/strings.xml +++ b/controller/app/src/main/res/values-ro/strings.xml @@ -1299,4 +1299,14 @@ Ce s-a făcut până acum se anulează și modulul nu va fi instalat. Îl poți porni din nou mai târziu. Oprește Continuă instalarea + + Actualizează + Nucleu REST · v%1$s → v%2$s + Fără conexiune + Oprești actualizarea? + Panoul rămâne la versiunea actuală. + Oprește actualizarea + Continuă actualizarea + Actualizează site-ul + Actualizezi nucleul REST? diff --git a/controller/app/src/main/res/values-ru-rRU/strings.xml b/controller/app/src/main/res/values-ru-rRU/strings.xml index cb19f667e..0da53b39e 100644 --- a/controller/app/src/main/res/values-ru-rRU/strings.xml +++ b/controller/app/src/main/res/values-ru-rRU/strings.xml @@ -1375,4 +1375,14 @@ Сделанное до сих пор отменяется, и модуль не будет установлен. Вы сможете запустить его снова позже. Остановить Продолжить установку + + Обновить + Ядро REST · v%1$s → v%2$s + Нет соединения + Остановить обновление? + Панель останется на текущей версии. + Остановить обновление + Продолжить обновление + Обновить веб-сайт + Обновить ядро REST? diff --git a/controller/app/src/main/res/values-sk/strings.xml b/controller/app/src/main/res/values-sk/strings.xml index d5171d5dd..db482b0d8 100644 --- a/controller/app/src/main/res/values-sk/strings.xml +++ b/controller/app/src/main/res/values-sk/strings.xml @@ -1306,4 +1306,14 @@ Doteraz vykonané sa vráti späť a modul sa nenainštaluje. Môžete ho spustiť znova neskôr. Zastaviť Pokračovať v inštalácii + + Aktualizovať + Jadro REST · v%1$s → v%2$s + Bez pripojenia + Zastaviť aktualizáciu? + Panel zostane na aktuálnej verzii. + Zastaviť aktualizáciu + Pokračovať v aktualizácii + Aktualizovať web + Aktualizovať jadro REST? diff --git a/controller/app/src/main/res/values-sr/strings.xml b/controller/app/src/main/res/values-sr/strings.xml index 077d037d1..b1ccea642 100644 --- a/controller/app/src/main/res/values-sr/strings.xml +++ b/controller/app/src/main/res/values-sr/strings.xml @@ -1312,4 +1312,14 @@ Оно што је до сада урађено се поништава и модул неће бити инсталиран. Можете га поново покренути касније. Заустави Настави инсталацију + + Ажурирај + REST језгро · v%1$s → v%2$s + Нема везе + Зауставити ажурирање? + Табла остаје на тренутној верзији. + Заустави ажурирање + Настави ажурирање + Ажурирај веб-сајт + Ажурирати REST језгро? diff --git a/controller/app/src/main/res/values-sw/strings.xml b/controller/app/src/main/res/values-sw/strings.xml index 1453d2676..b3d163d8e 100644 --- a/controller/app/src/main/res/values-sw/strings.xml +++ b/controller/app/src/main/res/values-sw/strings.xml @@ -1319,4 +1319,14 @@ Yaliyofanyika hadi sasa yanabatilishwa na moduli haitasakinishwa. Unaweza kuanza tena baadaye. Simamisha usakinishaji Endelea kusakinisha + + Sasisha + Kiini cha REST · v%1$s → v%2$s + Hakuna muunganisho + Kusitisha sasisho? + Dashibodi itabaki kwenye toleo lake la sasa. + Sitisha sasisho + Endelea kusasisha + Sasisha tovuti + Kusasisha kiini cha REST? diff --git a/controller/app/src/main/res/values-ta/strings.xml b/controller/app/src/main/res/values-ta/strings.xml index 7d5da6c8e..7c98e22c8 100644 --- a/controller/app/src/main/res/values-ta/strings.xml +++ b/controller/app/src/main/res/values-ta/strings.xml @@ -1319,4 +1319,14 @@ இதுவரை செய்தது மீட்டமைக்கப்படும், தொகுதி நிறுவப்படாது. பிறகு மீண்டும் தொடங்கலாம். நிறுவலை நிறுத்து நிறுவலைத் தொடர் + + புதுப்பி + REST கரு · v%1$s → v%2$s + இணைப்பு இல்லை + புதுப்பிப்பை நிறுத்தவா? + டாஷ்போர்டு தற்போதைய பதிப்பிலேயே இருக்கும். + புதுப்பிப்பை நிறுத்து + புதுப்பிப்பைத் தொடர் + வலைத்தளத்தைப் புதுப்பி + REST கருவைப் புதுப்பிக்கவா? diff --git a/controller/app/src/main/res/values-tr/strings.xml b/controller/app/src/main/res/values-tr/strings.xml index 3143e2eb6..4a47ea247 100644 --- a/controller/app/src/main/res/values-tr/strings.xml +++ b/controller/app/src/main/res/values-tr/strings.xml @@ -1299,4 +1299,14 @@ Şimdiye kadar yapılanlar geri alınır ve modül kurulmaz. Daha sonra yeniden başlatabilirsiniz. Kurulumu durdur Kuruluma devam et + + Güncelle + REST çekirdeği · v%1$s → v%2$s + Bağlantı yok + Güncelleme durdurulsun mu? + Panel mevcut sürümünde kalır. + Güncellemeyi durdur + Güncellemeye devam et + Web sitesini güncelle + REST çekirdeği güncellensin mi? diff --git a/controller/app/src/main/res/values-uk/strings.xml b/controller/app/src/main/res/values-uk/strings.xml index a3b06ed86..1c41e2b57 100644 --- a/controller/app/src/main/res/values-uk/strings.xml +++ b/controller/app/src/main/res/values-uk/strings.xml @@ -1299,4 +1299,14 @@ Зроблене досі скасовується, і модуль не буде встановлено. Ви зможете запустити його знову пізніше. Зупинити Продовжити встановлення + + Оновити + Ядро REST · v%1$s → v%2$s + Немає з’єднання + Зупинити оновлення? + Панель залишиться на поточній версії. + Зупинити оновлення + Продовжити оновлення + Оновити вебсайт + Оновити ядро REST? diff --git a/controller/app/src/main/res/values-vi/strings.xml b/controller/app/src/main/res/values-vi/strings.xml index 61c47a0b6..e0aab1f2f 100644 --- a/controller/app/src/main/res/values-vi/strings.xml +++ b/controller/app/src/main/res/values-vi/strings.xml @@ -1299,4 +1299,14 @@ Những gì đã làm đến giờ sẽ được hoàn tác và mô-đun sẽ không được cài đặt. Bạn có thể bắt đầu lại sau. Dừng cài đặt Tiếp tục cài đặt + + Cập nhật + Lõi REST · v%1$s → v%2$s + Không có kết nối + Dừng cập nhật? + Bảng điều khiển giữ nguyên phiên bản hiện tại. + Dừng cập nhật + Tiếp tục cập nhật + Cập nhật trang web + Cập nhật lõi REST? diff --git a/controller/app/src/main/res/values-yo/strings.xml b/controller/app/src/main/res/values-yo/strings.xml index 51d5fb4b2..8514d3f1b 100644 --- a/controller/app/src/main/res/values-yo/strings.xml +++ b/controller/app/src/main/res/values-yo/strings.xml @@ -1319,4 +1319,14 @@ Ohun tí a ti ṣe títí di báyìí ni a ó yí padà, a kì yóò sì fi módùlù náà sórí ẹ̀rọ. O lè bẹ̀rẹ̀ rẹ̀ lẹ́ẹ̀kansí lẹ́yìn náà. Dá dúró Máa bá a lọ + + Ìmúdójúìwọ̀n + Kókó REST · v%1$s → v%2$s + Kò sí ìsopọ̀ + Dá ìmúdójúìwọ̀n dúró? + Dáṣíbọ́ọ̀dù yóò dúró lórí ẹ̀yà rẹ̀ lọ́wọ́lọ́wọ́. + Dá ìmúdójúìwọ̀n dúró + Tẹ̀síwájú ìmúdójúìwọ̀n + Ṣe ìmúdójúìwọ̀n wẹ́ẹ̀bù + Ṣe ìmúdójúìwọ̀n kókó REST? diff --git a/controller/app/src/main/res/values-zh-rCN/strings.xml b/controller/app/src/main/res/values-zh-rCN/strings.xml index f42813722..7758d8023 100644 --- a/controller/app/src/main/res/values-zh-rCN/strings.xml +++ b/controller/app/src/main/res/values-zh-rCN/strings.xml @@ -1300,4 +1300,14 @@ 目前所做的更改将被撤销,模块不会被安装。您稍后可以重新开始。 停止安装 继续安装 + + 更新 + REST 核心 · v%1$s → v%2$s + 无连接 + 停止更新? + 仪表板将保持当前版本。 + 停止更新 + 继续更新 + 更新网站 + 更新 REST 核心? diff --git a/controller/app/src/main/res/values/strings.xml b/controller/app/src/main/res/values/strings.xml index b2e08c97b..d2f373147 100644 --- a/controller/app/src/main/res/values/strings.xml +++ b/controller/app/src/main/res/values/strings.xml @@ -1479,4 +1479,14 @@ What\'s been done so far is rolled back and the module won\'t be installed. You can start it again afterward. Stop install Keep installing + + Update + REST core · v%1$s → v%2$s + No connection + Stop the update? + The dashboard stays on its current version. + Stop update + Keep updating + Update the Website + Update the REST core? diff --git a/controller/app/src/main/res/values/strings_5339.xml b/controller/app/src/main/res/values/strings_5339.xml deleted file mode 100644 index 40c1a14ef..000000000 --- a/controller/app/src/main/res/values/strings_5339.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Update - - REST core · v%1$s → v%2$s - - No connection - - Stop the update? - The dashboard stays on its current version. - Stop update - Keep updating -