feat(updates): choose the update channel (Stable / Nightly) (#7684)

* feat(updates): choose the update channel (Stable / Nightly)

- Settings › System Settings › Updates gets an Update channel select next to Update source
- Its default follows the running build; nightly is on GitHub only, stable keeps the CNB mirror
- OPENIDEA_UPDATE_ENDPOINT still overrides both channels

* fix(updates): shorten the update channel hint so Check Now stays in view

- At 520px wide and 680px high the long hint pushed Check Now out of the Settings dialog
- The Updates e2e also checks that Update channel sits between the automatic check and Update source

---------

Co-authored-by: LU XIANGRUI <[email protected]>
Цей коміт міститься в:
LU XIANGRUIтаLU XIANGRUI authored and GitHub committed 2026-12-04 10:52:08 +09:00
1 джерело 9ad7f91c04
коміт 9c73f7d784
17 files changed
+271 -47

No files matched your search

Створено
+1
Переглянути файл
@@ -6827,6 +6827,7 @@ dependencies = [
"percent-encoding",
"reqwest",
"security-framework",
"semver",
"serde",
"serde_json",
"specta",
+3
Переглянути файл
@@ -1100,6 +1100,8 @@ pub struct GeneralSettings {
pub project_name: String,
/// Where updates come from: `auto` (the CNB mirror for the Chinese UI, else GitHub) | `github` | `cnb`.
pub update_source: String,
/// `stable` | `nightly`; defaults to the running build's channel.
pub update_channel: String,
pub auto_check_updates: bool,
/// System Settings › Updates: open the What's New page after the app starts a new version.
pub show_whats_new_after_update: bool,
@@ -1122,6 +1124,7 @@ impl Default for GeneralSettings {
power_save_mode: false,
project_name: String::new(),
update_source: "auto".into(),
update_channel: crate::updates::UpdateChannel::of_version(env!("CARGO_PKG_VERSION")).as_str().into(),
auto_check_updates: true,
show_whats_new_after_update: true,
last_run_version: String::new(),
+46
Переглянути файл
@@ -30,6 +30,38 @@ impl UpdateSource {
}
}
/// System Settings › Updates › Update channel: which release line updates come from.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum UpdateChannel {
/// `releases/latest`, never a prerelease, mirrored on CNB.
Stable,
/// The rolling `nightly` release (nightly.yml), on GitHub only.
Nightly,
}
impl UpdateChannel {
/// The channel a build of `version` updates from unless the setting says otherwise.
pub fn of_version(version: &str) -> Self {
if version.contains("-nightly.") { Self::Nightly } else { Self::Stable }
}
/// The `general.updateChannel` setting; anything else follows this build.
pub fn resolve(preference: &str) -> Self {
match preference {
"stable" => Self::Stable,
"nightly" => Self::Nightly,
_ => Self::of_version(env!("CARGO_PKG_VERSION")),
}
}
pub fn as_str(self) -> &'static str {
match self {
Self::Stable => "stable",
Self::Nightly => "nightly",
}
}
}
#[derive(Clone, Debug, Serialize, Deserialize, Type)]
#[serde(rename_all = "camelCase")]
pub struct UpdateInfo {
@@ -109,6 +141,20 @@ mod tests {
}
}
#[test]
fn channel_follows_the_build_unless_chosen() {
assert_eq!(UpdateChannel::of_version("0.1.57"), UpdateChannel::Stable);
assert_eq!(UpdateChannel::of_version("0.1.58-nightly.20261203"), UpdateChannel::Nightly);
assert_eq!(UpdateChannel::of_version("0.1.58-nightly.20261203.2"), UpdateChannel::Nightly);
assert_eq!(UpdateChannel::of_version("0.2.0-beta.1"), UpdateChannel::Stable);
assert_eq!(UpdateChannel::resolve("stable"), UpdateChannel::Stable);
assert_eq!(UpdateChannel::resolve("nightly"), UpdateChannel::Nightly);
let build = UpdateChannel::of_version(env!("CARGO_PKG_VERSION"));
for other in ["", "auto", "Nightly", "eap"] {
assert_eq!(UpdateChannel::resolve(other), build);
}
}
#[test]
fn checks_at_startup_and_every_four_hours_even_after_failure() {
let mut policy = UpdatePolicy::default();
+6 -4
Переглянути файл
@@ -63,19 +63,21 @@ test("Updates shows check status and keeps manual checks available when automati
await expect(dialog.getByText("0.1.39", { exact: true })).toBeVisible();
await expect(dialog.getByText("Never", { exact: true })).toBeVisible();
const automatic = dialog.getByRole("checkbox", { name: "Check for updates automatically" });
const channel = dialog.getByRole("button", { name: "Update channel", exact: true });
const source = dialog.getByRole("button", { name: "Update source", exact: true });
const check = dialog.getByRole("button", { name: "Check Now", exact: true });
const checked = dialog.getByText("Never", { exact: true });
const whatsNew = dialog.getByRole("checkbox", { name: "Show What's New after an update", exact: true });
for (const width of [1120, 580, 520]) {
await page.setViewportSize({ width, height: 680 });
const [automaticBox, sourceBox, checkBox, statusBox, whatsNewBox] = await Promise.all(
[automatic, source, check, checked, whatsNew].map((item) => item.boundingBox()),
const [automaticBox, channelBox, sourceBox, checkBox, statusBox, whatsNewBox] = await Promise.all(
[automatic, channel, source, check, checked, whatsNew].map((item) => item.boundingBox()),
);
if (!automaticBox || !sourceBox || !checkBox || !statusBox || !whatsNewBox)
if (!automaticBox || !channelBox || !sourceBox || !checkBox || !statusBox || !whatsNewBox)
throw new Error("Missing Updates controls");
expect(checkBox.y).toBeGreaterThan(sourceBox.y + sourceBox.height);
expect(sourceBox.y).toBeGreaterThan(automaticBox.y + automaticBox.height);
expect(sourceBox.y).toBeGreaterThan(channelBox.y + channelBox.height);
expect(channelBox.y).toBeGreaterThan(automaticBox.y + automaticBox.height);
expect(whatsNewBox.y).toBeGreaterThan(checkBox.y + checkBox.height);
expect(statusBox.x).toBeGreaterThan(checkBox.x + checkBox.width);
expect(Math.abs(statusBox.y + statusBox.height / 2 - checkBox.y - checkBox.height / 2)).toBeLessThan(1.5);
+2
Переглянути файл
@@ -70,6 +70,8 @@ ide-docker = { path = "../crates/ide-docker" }
ide-android = { path = "../crates/ide-android" }
[dev-dependencies]
# The updater's version order (tauri-plugin-updater compares with semver).
semver = "1"
tempfile.workspace = true
[[test]]
+112 -41
Переглянути файл
@@ -612,7 +612,7 @@ pub fn app_build_info(app: AppHandle) -> BuildInfo {
}
use ide_core::updates::UpdateInfo;
pub use ide_core::updates::{UpdateCheck, UpdateSource, UpdateStatus};
pub use ide_core::updates::{UpdateChannel, UpdateCheck, UpdateSource, UpdateStatus};
pub(crate) fn update_endpoint_env() -> Option<String> {
std::env::var("OPENIDEA_UPDATE_ENDPOINT").ok().filter(|s| !s.trim().is_empty())
@@ -638,24 +638,51 @@ fn config_endpoints<R: tauri::Runtime>(app: &AppHandle<R>) -> Vec<String> {
.unwrap_or_default()
}
/// Nightly builds (`x.y.z-nightly.…`, nightly.yml) update from the nightly channel's manifest
/// only: the CNB mirror carries stable releases.
fn is_nightly(version: &str) -> bool {
version.contains("-nightly.")
}
/// The Stable channel's GitHub manifest, `plugins.updater.endpoints` of a stable build.
const STABLE_ENDPOINT: &str = "https://github.com/l0ng-ai/openidea/releases/latest/download/latest.json";
/// The Nightly channel's manifest, which `scripts/nightly-prepare.ts` writes into a nightly build.
const NIGHTLY_ENDPOINT: &str = "https://github.com/l0ng-ai/openidea/releases/download/nightly/latest.json";
/// The endpoints tried in order: `source` first, the other source when it fails or has
/// no manifest. Bundles are signed, so either source's manifest and downloads verify.
/// No official endpoint (a build without updates) means no mirror either, and a nightly
/// build of `version` has no mirror.
fn source_endpoints(official: Vec<String>, source: UpdateSource, version: &str) -> Vec<String> {
if official.is_empty() || is_nightly(version) {
/// The endpoints tried in order. The build's configured endpoint serves its own channel and
/// the other channel's manifest is the official one. Stable tries `source` first and the other
/// source when it fails or has no manifest; Nightly is on GitHub only, as the CNB mirror carries
/// stable releases. Bundles of both channels are signed with one key, so any of them verifies.
/// No configured endpoint (a build without updates) means no endpoint at all.
fn source_endpoints(official: Vec<String>, channel: UpdateChannel, source: UpdateSource, version: &str) -> Vec<String> {
if official.is_empty() {
return official;
}
let github = if channel == UpdateChannel::of_version(version) {
official
} else {
vec![
match channel {
UpdateChannel::Stable => STABLE_ENDPOINT,
UpdateChannel::Nightly => NIGHTLY_ENDPOINT,
}
.to_string(),
]
};
let mirror = vec![CNB_ENDPOINT.to_string()];
match source {
UpdateSource::Github => [official, mirror].concat(),
UpdateSource::Cnb => [mirror, official].concat(),
match (channel, source) {
(UpdateChannel::Nightly, _) => github,
(UpdateChannel::Stable, UpdateSource::Github) => [github, mirror].concat(),
(UpdateChannel::Stable, UpdateSource::Cnb) => [mirror, github].concat(),
}
}
/// `OPENIDEA_UPDATE_ENDPOINT` when set, which overrides both channels; else the endpoints of
/// the configured channel and `source`.
fn update_endpoints(app: &AppHandle, source: UpdateSource) -> Vec<String> {
use tauri::Manager;
match update_endpoint_env() {
Some(url) => vec![url],
None => source_endpoints(
config_endpoints(app),
crate::updates::configured_channel(&app.state::<AppState>()),
source,
env!("CARGO_PKG_VERSION"),
),
}
}
@@ -676,11 +703,7 @@ pub(crate) fn updater(app: &AppHandle, source: UpdateSource) -> IdeResult<Option
if !updates_configured(app) {
return Ok(None);
}
let endpoints = match update_endpoint_env() {
Some(url) => vec![url],
None => source_endpoints(config_endpoints(app), source, env!("CARGO_PKG_VERSION")),
};
let endpoints = endpoints
let endpoints = update_endpoints(app, source)
.iter()
.map(|u| u.parse().map_err(|e| IdeError::invalid(format!("update endpoint {u}: {e}"))))
.collect::<IdeResult<Vec<_>>>()?;
@@ -874,10 +897,7 @@ pub async fn app_release_notes(
version: String,
source: UpdateSource,
) -> IdeResult<Option<BTreeMap<String, String>>> {
let endpoints = match update_endpoint_env() {
Some(url) => vec![url],
None => source_endpoints(config_endpoints(&app), source, env!("CARGO_PKG_VERSION")),
};
let endpoints = update_endpoints(&app, source);
let client = ide_http::client::shared()?;
for endpoint in endpoints {
// A hanging endpoint must not leave the page on "Fetching release notes…".
@@ -1011,29 +1031,80 @@ mod tests {
);
}
/// Channel × source × build: a build's configured endpoint serves its own channel, the
/// other channel uses the official manifest, and only Stable has the CNB mirror.
#[test]
fn chosen_source_is_tried_first_and_the_other_after_it() {
let github = "https://github.com/l0ng-ai/openidea/releases/latest/download/latest.json".to_string();
assert_eq!(
source_endpoints(vec![github.clone()], UpdateSource::Github, "0.1.55"),
[github.clone(), CNB_ENDPOINT.into()]
);
assert_eq!(source_endpoints(vec![github.clone()], UpdateSource::Cnb, "0.1.55"), [CNB_ENDPOINT.into(), github]);
// A build without an update endpoint stays without one.
assert!(source_endpoints(Vec::new(), UpdateSource::Cnb, "0.1.55").is_empty());
}
#[test]
fn nightly_builds_update_from_the_nightly_manifest_only() {
let nightly = "https://github.com/l0ng-ai/openidea/releases/download/nightly/latest.json".to_string();
for source in [UpdateSource::Github, UpdateSource::Cnb] {
fn endpoints_follow_the_channel_and_source() {
use UpdateChannel::{Nightly, Stable};
use UpdateSource::{Cnb, Github};
let stable_build = "0.1.57";
let nightly_build = "0.1.58-nightly.20261203";
let stable = || vec![STABLE_ENDPOINT.to_string()];
let nightly = || vec![NIGHTLY_ENDPOINT.to_string()];
let cnb = CNB_ENDPOINT.to_string();
for (official, version, channel, source, expected) in [
(stable(), stable_build, Stable, Github, vec![STABLE_ENDPOINT.into(), cnb.clone()]),
(stable(), stable_build, Stable, Cnb, vec![cnb.clone(), STABLE_ENDPOINT.into()]),
(stable(), stable_build, Nightly, Github, nightly()),
(stable(), stable_build, Nightly, Cnb, nightly()),
(nightly(), nightly_build, Nightly, Github, nightly()),
(nightly(), nightly_build, Nightly, Cnb, nightly()),
(nightly(), nightly_build, Stable, Github, vec![STABLE_ENDPOINT.into(), cnb.clone()]),
(nightly(), nightly_build, Stable, Cnb, vec![cnb.clone(), STABLE_ENDPOINT.into()]),
] {
assert_eq!(
source_endpoints(vec![nightly.clone()], source, "0.1.56-nightly.20261130"),
std::slice::from_ref(&nightly)
source_endpoints(official, channel, source, version),
expected,
"{version} on {channel:?} via {source:?}"
);
}
}
/// A fork's own endpoint keeps serving its own channel.
#[test]
fn a_custom_endpoint_serves_the_builds_own_channel() {
let custom = vec!["https://updates.example.test/latest.json".to_string()];
assert_eq!(
source_endpoints(custom.clone(), UpdateChannel::Stable, UpdateSource::Github, "0.1.57")[0],
custom[0]
);
assert_eq!(
source_endpoints(custom.clone(), UpdateChannel::Nightly, UpdateSource::Github, "0.1.58-nightly.1"),
custom
);
}
/// A build without an update endpoint stays without one on either channel.
#[test]
fn builds_without_updates_get_no_endpoint() {
for channel in [UpdateChannel::Stable, UpdateChannel::Nightly] {
for source in [UpdateSource::Github, UpdateSource::Cnb] {
for version in ["0.1.57", "0.1.58-nightly.20261203"] {
assert!(source_endpoints(Vec::new(), channel, source, version).is_empty());
}
}
}
}
/// The constants are the URLs the release and nightly scripts publish to.
#[test]
fn channel_endpoints_match_the_build_configuration() {
assert!(include_str!("../../tauri.conf.json").contains(STABLE_ENDPOINT));
assert!(include_str!("../../../scripts/nightly-prepare.ts").contains(NIGHTLY_ENDPOINT));
}
/// Switching a nightly back to Stable does not downgrade it: the updater installs only a
/// higher SemVer, and a release sorts after all of its own nightlies.
#[test]
fn stable_does_not_downgrade_a_nightly() {
use semver::Version;
let nightly = Version::parse("0.1.57-nightly.20261130").unwrap();
assert!(Version::parse("0.1.56").unwrap() < nightly);
assert!(Version::parse("0.1.57").unwrap() > nightly);
assert!(Version::parse("0.1.57-nightly.20261130.2").unwrap() > nightly);
assert!(Version::parse("0.1.58-nightly.20261201").unwrap() > Version::parse("0.1.57").unwrap());
}
#[test]
fn updater_client_bounds_connection_setup() {
let proxy = ide_core::proxy_settings::ProxySettings::default();
+8 -1
Переглянути файл
@@ -2,7 +2,9 @@
mod download;
use crate::commands::window::{UpdateSource, check_update, update_endpoint_env, updater, updates_configured};
use crate::commands::window::{
UpdateChannel, UpdateSource, check_update, update_endpoint_env, updater, updates_configured,
};
use crate::state::AppState;
use ide_core::updates::{UpdateCheck, UpdatePolicy};
use ide_core::{CancellationToken, IdeError, IdeEvent, IdeResult};
@@ -38,6 +40,11 @@ pub fn configured_source(state: &AppState) -> UpdateSource {
)
}
/// The update channel the settings pick (Stable or Nightly; the build's own by default).
pub fn configured_channel(state: &AppState) -> UpdateChannel {
UpdateChannel::resolve(&state.global_settings.effective().general.update_channel)
}
#[derive(Default)]
pub struct Updates {
started: AtomicBool,
+2
Переглянути файл
@@ -10102,6 +10102,8 @@ export type GeneralSettings = {
projectName?: string,
/** Where updates come from: `auto` (the CNB mirror for the Chinese UI, else GitHub) | `github` | `cnb`. */
updateSource?: string,
/** `stable` | `nightly`; defaults to the running build's channel. */
updateChannel?: string,
autoCheckUpdates?: boolean,
/** System Settings › Updates: open the What's New page after the app starts a new version. */
showWhatsNewAfterUpdate?: boolean,
+50
Переглянути файл
@@ -278,3 +278,53 @@ it("clamps projectColorStrength to 10–70% and scales the header wash only when
applyAppearanceOptions(validateSettings({}), root);
expect(root.style.getPropertyValue("--project-gradient-strength")).toBe("");
});
describe("update channel", () => {
const channelOption = async () => {
const { UPDATES_PAGE } = await import("../pages/updates");
const options = (UPDATES_PAGE.sections ?? []).flatMap((s) => s.options);
return { options, channel: options.find((o) => "key" in o && o.key === "general.updateChannel") };
};
it("keeps stable and nightly and falls back to the build's channel", async () => {
const { BUILD_UPDATE_CHANNEL } = await import("../model/behaviorSchema");
const { version } = await import("../../../../package.json");
expect(BUILD_UPDATE_CHANNEL).toBe(version.includes("-nightly.") ? "nightly" : "stable");
expect(validateGeneralExtras({ updateChannel: "stable" }).updateChannel).toBe("stable");
expect(validateGeneralExtras({ updateChannel: "nightly" }).updateChannel).toBe("nightly");
for (const raw of [undefined, "", "eap", "Nightly", 1]) {
expect(validateGeneralExtras({ updateChannel: raw }).updateChannel).toBe(BUILD_UPDATE_CHANNEL);
}
});
it("sits before the update source and says what switching does", async () => {
const { CLIENT_SETTINGS_KEYS } = await import("@/platform/clientSettings");
const { options, channel } = await channelOption();
const keys = options.map((o) => ("key" in o ? o.key : o.label));
expect(keys.indexOf("general.updateChannel")).toBe(keys.indexOf("general.updateSource") - 1);
expect(channel).toMatchObject({
kind: "select",
label: "Update channel",
options: [
{ value: "stable", label: "Stable" },
{ value: "nightly", label: "Nightly" },
],
});
const hint = (channel as { hint: string }).hint;
// No downgrade when switching back, GitHub only, shared settings.
expect(hint).toContain("keeps the nightly until the next stable release");
expect(hint).toContain("from GitHub only");
expect(hint).toContain("Settings are shared");
expect(CLIENT_SETTINGS_KEYS).toContain("general.updateChannel");
});
it("is translated wherever the update source is", async () => {
const { hint } = (await channelOption()).channel as { hint: string };
const langs = ["zh", "zh-TW", "ru", "tr"];
const texts = await Promise.all(langs.map((lang) => import(`@/platform/locales/text/${lang}.json`)));
texts.forEach(({ default: text }: { default: Record<string, string> }, i) => {
for (const key of ["Update channel", "Stable", "Nightly", hint])
expect(text[key], `${langs[i]}: ${key}`).toBeTruthy();
});
});
});
+9
Переглянути файл
@@ -8,6 +8,7 @@ import { isThemeChoiceId, type ThemeChoiceId } from "@/platform/themes";
import type { FileIconThemeOptions } from "@/bindings";
import { ZOOM_LIMITS } from "@/platform/zoom";
import { validateIconThemeOptionsMap } from "@/platform/iconThemeOptions";
import { version as appVersion } from "../../../../package.json";
export type Antialiasing = "subpixel" | "greyscale" | "none";
export type OpenProjectIn = "ask" | "new" | "same" | "tab";
@@ -115,10 +116,16 @@ export interface DateFormatValid {
}
export type UpdateSourceSetting = "auto" | "github" | "cnb";
export type UpdateChannelSetting = "stable" | "nightly";
/** The channel this build updates from by default, as the backend's `UpdateChannel::of_version`. */
export const BUILD_UPDATE_CHANNEL: UpdateChannelSetting = appVersion.includes("-nightly.") ? "nightly" : "stable";
export interface GeneralExtras {
openProjectIn: OpenProjectIn;
updateSource: UpdateSourceSetting;
/** System Settings › Updates › Update channel; defaults to the running build's channel. */
updateChannel: UpdateChannelSetting;
autoCheckUpdates: boolean;
/** System Settings › Updates: show the What's New page after the app starts a new version. */
showWhatsNewAfterUpdate: boolean;
@@ -204,6 +211,7 @@ const NAV_BAR_POSITIONS: readonly NavigationBarPosition[] = ["top", "statusBar",
export const DEFAULT_GENERAL_EXTRAS: GeneralExtras = {
openProjectIn: "ask",
updateSource: "auto",
updateChannel: BUILD_UPDATE_CHANNEL,
autoCheckUpdates: true,
showWhatsNewAfterUpdate: true,
lastRunVersion: "",
@@ -318,6 +326,7 @@ export function validateGeneralExtras(raw: unknown): GeneralExtras {
return {
openProjectIn: oneOf(g.openProjectIn, ["ask", "new", "same", "tab"] as const, d.openProjectIn),
updateSource: oneOf(g.updateSource, ["auto", "github", "cnb"] as const, d.updateSource),
updateChannel: oneOf(g.updateChannel, ["stable", "nightly"] as const, d.updateChannel),
autoCheckUpdates: bool(g.autoCheckUpdates, d.autoCheckUpdates),
showWhatsNewAfterUpdate: bool(g.showWhatsNewAfterUpdate, d.showWhatsNewAfterUpdate),
lastRunVersion: typeof g.lastRunVersion === "string" ? g.lastRunVersion : d.lastRunVersion,
+11 -1
Переглянути файл
@@ -8,7 +8,7 @@ export const UPDATES_PAGE: PageSpec = {
id: "general.updates",
title: "Updates",
order: 3,
keywords: ["update", "upgrade", "version", "automatic", "GitHub", "CNB"],
keywords: ["update", "upgrade", "version", "automatic", "GitHub", "CNB", "channel", "nightly", "stable"],
sections: [
{
options: [
@@ -23,6 +23,16 @@ export const UPDATES_PAGE: PageSpec = {
label: "Check for updates automatically",
hint: "At startup and every 4 hours while OpenIDEA runs. Each new version is announced once per session.",
},
{
kind: "select",
key: "general.updateChannel",
label: "Update channel",
hint: "Nightly builds are less tested and come from GitHub only. Switching back to Stable keeps the nightly until the next stable release. Settings are shared, and an older stable may not read ones a nightly changed.",
options: [
{ value: "stable", label: "Stable" },
{ value: "nightly", label: "Nightly" },
],
},
{
kind: "select",
key: "general.updateSource",
+1
Переглянути файл
@@ -14,6 +14,7 @@ export const CLIENT_SETTINGS_KEYS = [
"general.closeTabsWithWindow",
"general.openProjectIn",
"general.updateSource",
"general.updateChannel",
"general.autoCheckUpdates",
"general.showWhatsNewAfterUpdate",
"general.lastRunVersion",
+4
Переглянути файл
@@ -1353,6 +1353,10 @@
"Where updates are downloaded from. If it can't be reached, the other source is tried.": "Where updates are downloaded from. If it can't be reached, the other source is tried.",
"Automatic": "Automatic",
"CNB (China mirror)": "CNB (China mirror)",
"Update channel": "Update channel",
"Stable": "Stable",
"Nightly": "Nightly",
"Nightly builds are less tested and come from GitHub only. Switching back to Stable keeps the nightly until the next stable release. Settings are shared, and an older stable may not read ones a nightly changed.": "Nightly builds are less tested and come from GitHub only. Switching back to Stable keeps the nightly until the next stable release. Settings are shared, and an older stable may not read ones a nightly changed.",
"Remote connection cancelled": "Remote connection cancelled",
"Xdebug is not loaded in PHP {version}": "Xdebug is not loaded in PHP {version}",
"{php} runs without Xdebug, so breakpoints are skipped. Install Xdebug 3 for this PHP or choose another PHP interpreter.": "{php} runs without Xdebug, so breakpoints are skipped. Install Xdebug 3 for this PHP or choose another PHP interpreter.",
+4
Переглянути файл
@@ -7854,6 +7854,10 @@
"Checking for updates…": "Проверка обновлений…",
"Where updates are downloaded from. If it can't be reached, the other source is tried.": "Откуда загружаются обновления. Если этот источник недоступен, используется другой.",
"CNB (China mirror)": "CNB (зеркало в Китае)",
"Update channel": "Канал обновлений",
"Stable": "Стабильный",
"Nightly": "Ночной",
"Nightly builds are less tested and come from GitHub only. Switching back to Stable keeps the nightly until the next stable release. Settings are shared, and an older stable may not read ones a nightly changed.": "Ночные сборки проверены меньше и загружаются только с GitHub. После возврата на стабильный канал ночная сборка остаётся до следующего стабильного релиза. Настройки общие, и более старый стабильный релиз может не прочитать изменённые ночной сборкой.",
"Remote connection cancelled": "Удаленное подключение отменено",
"Xdebug is not loaded in PHP {version}": "Xdebug не загружен в PHP {version}",
"{php} runs without Xdebug, so breakpoints are skipped. Install Xdebug 3 for this PHP or choose another PHP interpreter.": "{php} работает без Xdebug, поэтому точки останова будут пропущены. Установите Xdebug 3 для этого PHP или выберите другой интерпретатор PHP.",
+4
Переглянути файл
@@ -657,6 +657,10 @@
"Where updates are downloaded from. If it can't be reached, the other source is tried.": "Güncellemelerin indirildiği kaynaktır. Kaynağa erişilemezse diğer kaynak denenir.",
"Automatic": "Otomatik",
"CNB (China mirror)": "CNB (Çin yansısı)",
"Update channel": "Güncelleme kanalı",
"Stable": "Kararlı",
"Nightly": "Gecelik",
"Nightly builds are less tested and come from GitHub only. Switching back to Stable keeps the nightly until the next stable release. Settings are shared, and an older stable may not read ones a nightly changed.": "Gecelik sürümler daha az test edilir ve yalnızca GitHub'dan indirilir. Kararlı kanala dönüldüğünde gecelik sürüm bir sonraki kararlı sürüme kadar korunur. Ayarlar ortaktır; daha eski bir kararlı sürüm, gecelik sürümün değiştirdiği ayarları okuyamayabilir.",
"Remote connection cancelled": "Uzak bağlantı iptal edildi",
"Xdebug is not loaded in PHP {version}": "Xdebug, PHP {version} içinde yüklü değil",
"{php} runs without Xdebug, so breakpoints are skipped. Install Xdebug 3 for this PHP or choose another PHP interpreter.": "{php}, Xdebug olmadan çalışıyor; bu nedenle kesme noktaları atlanıyor. Bu PHP sürümü için Xdebug 3 yükleyin veya başka bir PHP yorumlayıcısı seçin.",
+4
Переглянути файл
@@ -7455,6 +7455,10 @@
"Checking for updates…": "正在檢查更新…",
"Where updates are downloaded from. If it can't be reached, the other source is tried.": "從哪裡下載更新。無法連線時會改用另一個源。",
"CNB (China mirror)": "CNB(國內映像)",
"Update channel": "更新通道",
"Stable": "穩定版",
"Nightly": "Nightly 版",
"Nightly builds are less tested and come from GitHub only. Switching back to Stable keeps the nightly until the next stable release. Settings are shared, and an older stable may not read ones a nightly changed.": "Nightly 版測試較少,只從 GitHub 下載。切回穩定版後會保留 Nightly 版,直到下一個穩定版發布。設定是共用的,Nightly 版改過的設定在較舊的穩定版裡可能讀不出來。",
"Remote connection cancelled": "遠端連線已取消",
"Xdebug is not loaded in PHP {version}": "PHP {version} 未載入 Xdebug",
"{php} runs without Xdebug, so breakpoints are skipped. Install Xdebug 3 for this PHP or choose another PHP interpreter.": "{php} 執行時沒有 Xdebug,斷點會被跳過。請為此 PHP 安裝 Xdebug 3,或選擇其他 PHP 直譯器。",
+4
Переглянути файл
@@ -8418,6 +8418,10 @@
"Checking for updates…": "正在检查更新…",
"Where updates are downloaded from. If it can't be reached, the other source is tried.": "从哪里下载更新。无法连接时会改用另一个源。",
"CNB (China mirror)": "CNB(国内镜像)",
"Update channel": "更新渠道",
"Stable": "稳定版",
"Nightly": "Nightly 版",
"Nightly builds are less tested and come from GitHub only. Switching back to Stable keeps the nightly until the next stable release. Settings are shared, and an older stable may not read ones a nightly changed.": "Nightly 版测试较少,只从 GitHub 下载。切回稳定版后会保留 Nightly 版,直到下一个稳定版发布。设置是共用的,Nightly 版改过的设置在较旧的稳定版里可能读不出来。",
"Remote connection cancelled": "远程连接已取消",
"Xdebug is not loaded in PHP {version}": "PHP {version} 未加载 Xdebug",
"{php} runs without Xdebug, so breakpoints are skipped. Install Xdebug 3 for this PHP or choose another PHP interpreter.": "{php} 运行时没有 Xdebug,断点会被跳过。请为此 PHP 安装 Xdebug 3,或选择其他 PHP 解释器。",