Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

feat(start): a home page - create row, a poster grid with search and sort, and learn-and-community cards

Jareerf0a4fc047f61
diff --git a/src/crates/concat-android/java/ConcatFiles.java b/src/crates/concat-android/java/ConcatFiles.java
index 57751efb..7865b978 100644
--- a/src/crates/concat-android/java/ConcatFiles.java
+++ b/src/crates/concat-android/java/ConcatFiles.java
@@ -185,6 +185,27 @@ public class ConcatFiles extends Fragment {
return false;
}
+ /**
+ * Opens a web address in the browser, or in whichever app claims it -
+ * the launch screen's guides, the repository, the Discord invite. Null
+ * when it went, or why it could not. Asked straight rather than through
+ * resolveActivity, which from Android 11 answers no for any app the
+ * manifest does not name in its queries. From any thread.
+ */
+ public static String openLink(Activity activity, String url) {
+ try {
+ Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ activity.startActivity(intent);
+ return null;
+ } catch (android.content.ActivityNotFoundException e) {
+ return "no app on this phone opens " + url;
+ } catch (RuntimeException e) {
+ Log.w(TAG, "could not open " + url, e);
+ return String.valueOf(e.getMessage());
+ }
+ }
+
/** Registered from Rust: the picked files' paths, or none. */
public static native void filesPicked(String[] paths);
diff --git a/src/crates/concat-android/src/lib.rs b/src/crates/concat-android/src/lib.rs
index 446e4789..d03df93c 100644
--- a/src/crates/concat-android/src/lib.rs
+++ b/src/crates/concat-android/src/lib.rs
@@ -471,6 +471,43 @@ mod microphone {
}
}
+/// The browser, for the launch screen's guides and links: an ACTION_VIEW
+/// intent through the activity, which the Java sends.
+#[cfg(target_os = "android")]
+mod links {
+ use jni::objects::JString;
+ use jni::{jni_sig, jni_str};
+ use slint::android::AndroidApp;
+
+ /// Hands the window's crate the way to open a web address.
+ pub fn install(app: &AndroidApp) {
+ let app = app.clone();
+ concat::install_link_opener(Box::new(move |url| {
+ let answer = super::java::with_class(&app, |env, activity, class| {
+ let url = env.new_string(url)?;
+ let answer = env
+ .call_static_method(
+ class,
+ jni_str!("openLink"),
+ jni_sig!("(Landroid/app/Activity;Ljava/lang/String;)Ljava/lang/String;"),
+ &[activity.into(), (&url).into()],
+ )?
+ .l()?;
+ if answer.is_null() {
+ return Ok(None);
+ }
+ let answer = env.cast_local::<JString>(answer)?;
+ Ok(Some(answer.mutf8_chars(env)?.to_string()))
+ });
+ match answer {
+ Ok(None) => Ok(()),
+ Ok(Some(why)) => Err(why),
+ Err(error) => Err(format!("could not reach the browser: {error}")),
+ }
+ }));
+ }
+}
+
/// Called by the activity's native glue; the name is the contract.
#[cfg(target_os = "android")]
#[unsafe(no_mangle)]
@@ -487,6 +524,7 @@ fn android_main(app: slint::android::AndroidApp) {
picker::install(&app);
publisher::install(&app);
microphone::install(&app);
+ links::install(&app);
if let Err(error) = concat::run() {
log::error!("{error}");
}
diff --git a/src/crates/concat-host/src/media.rs b/src/crates/concat-host/src/media.rs
index 217a9d6f..5703b10a 100644
--- a/src/crates/concat-host/src/media.rs
+++ b/src/crates/concat-host/src/media.rs
@@ -707,6 +707,22 @@ pub fn poster_frame(project: &str) -> Result<Vec<u8>, String> {
Ok(bytes)
}
+/// How long a project's active timeline runs, in seconds: where its last
+/// clip ends. For the launch screen's cards, read on a worker beside the
+/// poster; None when the manifest cannot be read as a project.
+pub fn timeline_seconds(project: &str) -> Option<f64> {
+ let manifest = projects::manifest_path(Path::new(project));
+ let text = std::fs::read_to_string(manifest).ok()?;
+ let document: serde_json::Value = serde_json::from_str(&text).ok()?;
+ let project = concat_project::from_document(&document)?;
+ let timeline = project
+ .timelines
+ .iter()
+ .find(|timeline| timeline.id == project.active_timeline_id)
+ .or_else(|| project.timelines.first())?;
+ Some(timeline.duration())
+}
+
/// Below this mean brightness, out of 255, a frame is a black one: a
/// leader, the foot of a fade, a lens cap. A night scene is well above it.
const DEAD_BELOW: u32 = 10;
diff --git a/src/crates/concat-host/src/projects.rs b/src/crates/concat-host/src/projects.rs
index fa570741..6571f903 100644
--- a/src/crates/concat-host/src/projects.rs
+++ b/src/crates/concat-host/src/projects.rs
@@ -48,8 +48,10 @@ pub fn is_project(root: &Path) -> bool {
}
const RECENTS: &str = "recents.json";
-/// Long enough to be useful, short enough that the list stays scannable.
-const MAX_RECENTS: usize = 12;
+/// Long enough to be a working set of projects, short enough that the
+/// launch screen's grid stays scannable - and past a page of it, the screen
+/// has a search and a sort to find one by.
+const MAX_RECENTS: usize = 40;
/// Everything needed to reopen a project.
#[derive(Serialize, Deserialize, Clone, Debug)]
@@ -483,6 +485,47 @@ pub fn list(config: &Path) -> Vec<ProjectInfo> {
.collect()
}
+/// One row of the recents list as the launch screen shows it.
+#[derive(Clone, Debug)]
+pub struct Recent {
+ /// What the list remembers of it.
+ pub info: ProjectInfo,
+ /// The folder is there and still holds a project. One on a drive that
+ /// is unplugged is not, and the launch screen shows it as missing
+ /// rather than dropping it, so the person sees where it went and can
+ /// forget it - and it comes back by itself when the drive does.
+ pub present: bool,
+ /// When the project was last written, in milliseconds since the epoch:
+ /// the manifest's own time, which every autosave moves. None for a
+ /// missing folder, or a file system that keeps no times.
+ pub edited_at: Option<u64>,
+}
+
+/// The recents list, most recent first, missing folders included and
+/// marked. One stat per project, so it is read when the list changes and
+/// not on every frame.
+pub fn recents(config: &Path) -> Vec<Recent> {
+ read_recents(config)
+ .into_iter()
+ .map(|info| {
+ let manifest = manifest_path(Path::new(&info.path));
+ let meta = std::fs::metadata(&manifest)
+ .ok()
+ .filter(|meta| meta.is_file());
+ let edited_at = meta
+ .as_ref()
+ .and_then(|meta| meta.modified().ok())
+ .and_then(|time| time.duration_since(UNIX_EPOCH).ok())
+ .map(|elapsed| elapsed.as_millis() as u64);
+ Recent {
+ present: meta.is_some(),
+ edited_at,
+ info,
+ }
+ })
+ .collect()
+}
+
/// Removes one project from the list. The folder itself is left alone.
pub fn forget(config: &Path, path: &str) -> Result<(), String> {
let mut entries = read_recents(config);
diff --git a/src/crates/concat/locales/ar.json b/src/crates/concat/locales/ar.json
index 8c22a623..b2c85152 100644
--- a/src/crates/concat/locales/ar.json
+++ b/src/crates/concat/locales/ar.json
@@ -263,7 +263,9 @@
"export.timelineSize": "المخطط الزمني",
"export.toneMapped": "مُعيَّن الدرجات، يعمل في أي مكان",
"format.almostDone": "على وشك الانتهاء",
+ "format.anHourAgo": "قبل ساعة",
"format.daysAgo": "قبل {0} أيام",
+ "format.hoursAgo": "قبل {0} ساعات",
"format.hoursMinutes": "{0} س {1} د",
"format.justNow": "الآن",
"format.minutes": "{0} د",
@@ -272,7 +274,6 @@
"format.monthsAgo": "قبل {0} أشهر",
"format.sLeft": "تبقّى {0} ث",
"format.seconds": "{0} ث",
- "format.today": "اليوم",
"format.yesterday": "أمس",
"keyframesPane.addRemoveKeyPlayhead": "إضافة إطار مفتاحي أو إزالته عند مؤشر التشغيل",
"keyframesPane.clearAllKeys": "مسح كل الإطارات المفتاحية",
@@ -586,19 +587,53 @@
"start.choose": "اختيار…",
"start.chooseAFolder": "اختيار مجلد",
"start.chooseWhereProjectFolder": "اختر مكان مجلد المشروع",
+ "start.couldNotOpenLink": "تعذّر فتح {0}: {1}",
"start.create": "إنشاء",
"start.creating": "جارٍ الإنشاء…",
- "start.everythingHaveOpenedMachine": "كل ما فتحته على هذا الجهاز.",
+ "start.discordNote": "اطرح أسئلتك وشارك ما صنعته",
+ "start.documentation": "التوثيق",
+ "start.documentationNote": "دليل لكل لوحة وأداة",
+ "start.dropHint": "يمكنك أيضًا إفلات مجلد مشروع، أو وسائط لبدء مشروع جديد، على هذه النافذة.",
+ "start.dropNothingToOpen": "لا شيء لفتحه هنا: أفلِت مجلد مشروع، أو ملفات فيديو أو صور أو صوت.",
+ "start.dropToStart": "أفلِت للبدء",
+ "start.dropToStartNote": "يُفتح مجلد المشروع، وتبدأ الوسائط مشروعًا جديدًا",
+ "start.droppedFiles": "ستُضاف الملفات المُفلَتة ({0}) إلى هذا المشروع عند إنشائه.",
+ "start.droppedOneFile": "سيُضاف الملف المُفلَت إلى هذا المشروع عند إنشائه.",
+ "start.firstEdit": "تحريرك الأول",
+ "start.firstEditNote": "من مشروع جديد إلى التصدير في خمس خطوات",
+ "start.folderMissing": "لم يعد {0} موجودًا: ربما فُصل محرك الأقراص، أو نُقل المجلد أو حُذف.",
+ "start.folderNotFound": "المجلد غير موجود",
+ "start.githubNote": "الشيفرة والمشكلات وكل إصدار",
+ "start.keyboardShortcuts": "اختصارات لوحة المفاتيح",
+ "start.keyboardShortcutsNote": "اطّلع على كل مفتاح، وغيّر أيًّا منها",
+ "start.learnAndCommunity": "التعلّم والمجتمع",
"start.location": "الموقع",
"start.newProject": "مشروع جديد",
+ "start.newProjectNote": "اختر الشكل ومعدّل الإطارات",
+ "start.noMatches": "لا يوجد مشروع يطابق «{0}».",
+ "start.noProjectsNote": "يظهر هنا كل ما تُنشئه أو تفتحه. جديد على التحرير؟ ينقلك دليل «تحريرك الأول» من مخطط زمني فارغ إلى فيديو مُصدَّر في خمس خطوات.",
+ "start.noProjectsYet": "لا توجد مشاريع بعد",
"start.notConcatProjectFolder": "{0} ليس مجلد مشروع Concat",
"start.openAProject": "فتح مشروع",
- "start.openProject": "فتح المشروع",
+ "start.openProject": "فتح مشروع",
+ "start.openProjectNote": "مجلد مشروع من هذا الجهاز",
"start.projectFolderCreatedNow": "يُنشأ مجلد المشروع الآن؛ ويُحفظ التحرير فيه تلقائيًا.",
- "start.projects": "المشاريع",
+ "start.recentProjects": "المشاريع الأخيرة",
+ "start.removeFromList": "إزالة من القائمة",
+ "start.reportProblem": "الإبلاغ عن مشكلة",
+ "start.reportProblemNote": "ما الذي ترسله لكي يمكن إصلاحها",
"start.safeMode": "أُغلق Concat أثناء بدء تشغيله في المرة السابقة، لذا يرسم الآن برمجيًا: أبطأ، لكنه يفتح. لتجربة بطاقة الرسوميات مجددًا، فعّل الرسم على GPU من الإعدادات > عام.",
+ "start.searchProjects": "البحث في المشاريع",
"start.settingsApplyWholeEdit": "تنطبق هذه الإعدادات على التحرير كله ولا يمكن تغييرها لاحقًا.",
"start.shape": "الشكل",
+ "start.showInFolder": "إظهار في المجلد",
+ "start.sortName": "الاسم",
+ "start.sortRecent": "الأحدث",
+ "start.welcome": "مرحبًا بك في Concat",
+ "start.welcomeBack": "مرحبًا بعودتك",
+ "start.welcomeBackNote": "تابع من حيث توقفت، أو ابدأ شيئًا جديدًا.",
+ "start.welcomeNote": "محرر فيديو مجاني يعمل بالكامل على هذا الجهاز.",
+ "start.whatsNew": "ما الجديد في {0}",
"start.whereShouldProjectFolder": "أين يجب أن يكون مجلد المشروع؟",
"studio.addAtPlayhead": "إضافة عند مؤشر التشغيل",
"studio.addSelectedToTimeline": "إضافة المحدّد إلى المخطط الزمني",
diff --git a/src/crates/concat/locales/bn.json b/src/crates/concat/locales/bn.json
index ff852cb4..f07e06ca 100644
--- a/src/crates/concat/locales/bn.json
+++ b/src/crates/concat/locales/bn.json
@@ -263,7 +263,9 @@
"export.timelineSize": "টাইমলাইন",
"export.toneMapped": "টোন-ম্যাপড, সব জায়গায় চলে",
"format.almostDone": "প্রায় শেষ",
+ "format.anHourAgo": "এক ঘণ্টা আগে",
"format.daysAgo": "{0} দিন আগে",
+ "format.hoursAgo": "{0} ঘণ্টা আগে",
"format.hoursMinutes": "{0} ঘণ্টা {1} মিনিট",
"format.justNow": "এইমাত্র",
"format.minutes": "{0} মিনিট",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} মাস আগে",
"format.sLeft": "{0}সে বাকি",
"format.seconds": "{0} সেকেন্ড",
- "format.today": "আজ",
"format.yesterday": "গতকাল",
"keyframesPane.addRemoveKeyPlayhead": "প্লেহেডে কী যোগ বা সরান",
"keyframesPane.clearAllKeys": "সব কী মুছে ফেলুন",
@@ -586,19 +587,53 @@
"start.choose": "বেছে নিন…",
"start.chooseAFolder": "একটি ফোল্ডার বেছে নিন",
"start.chooseWhereProjectFolder": "প্রকল্প ফোল্ডার কোথায় যাবে তা বেছে নিন",
+ "start.couldNotOpenLink": "{0} খোলা যায়নি: {1}",
"start.create": "তৈরি করুন",
"start.creating": "তৈরি হচ্ছে…",
- "start.everythingHaveOpenedMachine": "এই মেশিনে আপনি যা যা খুলেছেন।",
+ "start.discordNote": "প্রশ্ন করুন আর আপনার কাজ শেয়ার করুন",
+ "start.documentation": "ডকুমেন্টেশন",
+ "start.documentationNote": "প্রতিটি প্যানেল ও টুলের গাইড",
+ "start.dropHint": "এই উইন্ডোতে একটি প্রকল্প ফোল্ডার, অথবা নতুন প্রকল্প শুরু করতে মিডিয়াও ছেড়ে দিতে পারেন।",
+ "start.dropNothingToOpen": "সেখানে খোলার মতো কিছু নেই: একটি প্রকল্প ফোল্ডার, অথবা ভিডিও, ছবি বা অডিও ফাইল ছেড়ে দিন।",
+ "start.dropToStart": "শুরু করতে ছেড়ে দিন",
+ "start.dropToStartNote": "প্রকল্প ফোল্ডার খোলে; মিডিয়া দিয়ে নতুন প্রকল্প শুরু হয়",
+ "start.droppedFiles": "ছেড়ে দেওয়া {0}টি ফাইল প্রকল্প তৈরি হলে এতে যুক্ত হবে।",
+ "start.droppedOneFile": "ছেড়ে দেওয়া ফাইলটি প্রকল্প তৈরি হলে এতে যুক্ত হবে।",
+ "start.firstEdit": "আপনার প্রথম এডিট",
+ "start.firstEditNote": "নতুন প্রকল্প থেকে এক্সপোর্ট পর্যন্ত পাঁচ ধাপে",
+ "start.folderMissing": "{0} আর সেখানে নেই: হয়তো এর ড্রাইভ খুলে ফেলা হয়েছে, অথবা ফোল্ডারটি সরানো বা মুছে ফেলা হয়েছে।",
+ "start.folderNotFound": "ফোল্ডার পাওয়া যায়নি",
+ "start.githubNote": "কোড, ইস্যু আর প্রতিটি রিলিজ",
+ "start.keyboardShortcuts": "কিবোর্ড শর্টকাট",
+ "start.keyboardShortcutsNote": "প্রতিটি কী দেখুন, আর যেকোনোটি বদলান",
+ "start.learnAndCommunity": "শেখা ও কমিউনিটি",
"start.location": "অবস্থান",
"start.newProject": "নতুন প্রকল্প",
+ "start.newProjectNote": "আকৃতি ও ফ্রেম রেট বেছে নিন",
+ "start.noMatches": "“{0}”-এর সাথে কোনো প্রকল্প মেলে না।",
+ "start.noProjectsNote": "আপনি যা তৈরি করেন বা খোলেন সব এখানে দেখা যায়। এডিটিংয়ে নতুন? “আপনার প্রথম এডিট” গাইড পাঁচ ধাপে একটি ফাঁকা টাইমলাইন থেকে এক্সপোর্ট করা ভিডিও পর্যন্ত নিয়ে যায়।",
+ "start.noProjectsYet": "এখনো কোনো প্রকল্প নেই",
"start.notConcatProjectFolder": "{0} একটি Concat প্রকল্প ফোল্ডার নয়",
"start.openAProject": "একটি প্রকল্প খুলুন",
"start.openProject": "প্রকল্প খুলুন",
+ "start.openProjectNote": "এই মেশিনের একটি প্রকল্প ফোল্ডার",
"start.projectFolderCreatedNow": "প্রকল্প ফোল্ডার এখন তৈরি হয়েছে; সম্পাদনা এতে স্বয়ংক্রিয়ভাবে সংরক্ষিত হয়।",
- "start.projects": "প্রকল্পসমূহ",
+ "start.recentProjects": "সাম্প্রতিক প্রকল্প",
+ "start.removeFromList": "তালিকা থেকে সরান",
+ "start.reportProblem": "সমস্যা জানান",
+ "start.reportProblemNote": "ঠিক করার জন্য কী পাঠাবেন",
"start.safeMode": "গতবার শুরু হওয়ার সময় Concat বন্ধ হয়ে গিয়েছিল, তাই এখন সফটওয়্যারে আঁকছে: ধীর, কিন্তু খোলে। গ্রাফিক্স কার্ড আবার চেষ্টা করতে সেটিংস > সাধারণ-এ GPU-তে আঁকা চালু করুন।",
+ "start.searchProjects": "প্রকল্প খুঁজুন",
"start.settingsApplyWholeEdit": "এই সেটিংস পুরো সম্পাদনায় প্রযোজ্য এবং পরে বদলানো যাবে না।",
"start.shape": "আকৃতি",
+ "start.showInFolder": "ফোল্ডারে দেখান",
+ "start.sortName": "নাম",
+ "start.sortRecent": "সাম্প্রতিক",
+ "start.welcome": "Concat-এ স্বাগতম",
+ "start.welcomeBack": "আবার স্বাগতম",
+ "start.welcomeBackNote": "যেখানে থেমেছিলেন সেখান থেকে চালিয়ে যান, অথবা নতুন কিছু শুরু করুন।",
+ "start.welcomeNote": "একটি বিনামূল্যের ভিডিও এডিটর যা পুরোপুরি এই মেশিনেই চলে।",
+ "start.whatsNew": "{0}-এ নতুন কী",
"start.whereShouldProjectFolder": "প্রকল্প ফোল্ডার কোথায় যাবে?",
"studio.addAtPlayhead": "প্লেহেডে যোগ করুন",
"studio.addSelectedToTimeline": "নির্বাচিতটি টাইমলাইনে যোগ করুন",
diff --git a/src/crates/concat/locales/de.json b/src/crates/concat/locales/de.json
index aaf6b2bb..b1e6de23 100644
--- a/src/crates/concat/locales/de.json
+++ b/src/crates/concat/locales/de.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Zeitleiste",
"export.toneMapped": "Tonegemappt, läuft überall",
"format.almostDone": "fast fertig",
+ "format.anHourAgo": "vor einer Stunde",
"format.daysAgo": "vor {0} Tagen",
+ "format.hoursAgo": "vor {0} Stunden",
"format.hoursMinutes": "{0} h {1} min",
"format.justNow": "gerade eben",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "vor {0} Monaten",
"format.sLeft": "noch {0} s",
"format.seconds": "{0} s",
- "format.today": "heute",
"format.yesterday": "gestern",
"keyframesPane.addRemoveKeyPlayhead": "Key am Abspielkopf setzen oder entfernen",
"keyframesPane.clearAllKeys": "Alle Keys entfernen",
@@ -586,19 +587,53 @@
"start.choose": "Wählen…",
"start.chooseAFolder": "Ordner wählen",
"start.chooseWhereProjectFolder": "Wähle, wohin der Projektordner soll",
+ "start.couldNotOpenLink": "{0} konnte nicht geöffnet werden: {1}",
"start.create": "Erstellen",
"start.creating": "Wird erstellt…",
- "start.everythingHaveOpenedMachine": "Alles, was du auf diesem Rechner geöffnet hast.",
+ "start.discordNote": "Stell Fragen und zeig, was du gemacht hast",
+ "start.documentation": "Dokumentation",
+ "start.documentationNote": "Eine Anleitung zu jedem Bereich und Werkzeug",
+ "start.dropHint": "Du kannst auch einen Projektordner oder Medien für ein neues Projekt auf dieses Fenster ziehen.",
+ "start.dropNothingToOpen": "Dort gibt es nichts zu öffnen: Zieh einen Projektordner oder Video-, Foto- oder Audiodateien hierher.",
+ "start.dropToStart": "Zum Starten ablegen",
+ "start.dropToStartNote": "Ein Projektordner wird geöffnet; Medien starten ein neues Projekt",
+ "start.droppedFiles": "{0} abgelegte Dateien kommen in dieses Projekt, sobald es erstellt ist.",
+ "start.droppedOneFile": "Die abgelegte Datei kommt in dieses Projekt, sobald es erstellt ist.",
+ "start.firstEdit": "Dein erster Schnitt",
+ "start.firstEditNote": "Vom neuen Projekt zum Export in fünf Schritten",
+ "start.folderMissing": "{0} ist nicht mehr da: Das Laufwerk ist vielleicht nicht angeschlossen, oder der Ordner wurde verschoben oder gelöscht.",
+ "start.folderNotFound": "Ordner nicht gefunden",
+ "start.githubNote": "Der Code, die Issues und jedes Release",
+ "start.keyboardShortcuts": "Tastenkürzel",
+ "start.keyboardShortcutsNote": "Alle Tasten ansehen und jede davon ändern",
+ "start.learnAndCommunity": "Lernen und Community",
"start.location": "Speicherort",
"start.newProject": "Neues Projekt",
+ "start.newProjectNote": "Form und Bildrate wählen",
+ "start.noMatches": "Kein Projekt passt zu „{0}“.",
+ "start.noProjectsNote": "Alles, was du erstellst oder öffnest, erscheint hier. Neu im Schnitt? Die Anleitung „Dein erster Schnitt“ führt in fünf Schritten von einer leeren Zeitleiste zum exportierten Video.",
+ "start.noProjectsYet": "Noch keine Projekte",
"start.notConcatProjectFolder": "{0} ist kein Concat-Projektordner",
"start.openAProject": "Projekt öffnen",
- "start.openProject": "Open project",
+ "start.openProject": "Projekt öffnen",
+ "start.openProjectNote": "Ein Projektordner von diesem Rechner",
"start.projectFolderCreatedNow": "Der Projektordner wird jetzt erstellt; der Schnitt speichert automatisch hinein.",
- "start.projects": "Projekte",
+ "start.recentProjects": "Letzte Projekte",
+ "start.removeFromList": "Aus der Liste entfernen",
+ "start.reportProblem": "Problem melden",
+ "start.reportProblemNote": "Was du schicken solltest, damit es behoben werden kann",
"start.safeMode": "Concat wurde beim letzten Start geschlossen und zeichnet deshalb jetzt in Software: langsamer, aber es öffnet sich. Um es wieder mit der Grafikkarte zu versuchen, schalte „Auf der GPU zeichnen“ unter Einstellungen > Allgemein ein.",
+ "start.searchProjects": "Projekte suchen",
"start.settingsApplyWholeEdit": "Diese Einstellungen gelten für den ganzen Schnitt und lassen sich später nicht ändern.",
"start.shape": "Form",
+ "start.showInFolder": "Im Ordner zeigen",
+ "start.sortName": "Name",
+ "start.sortRecent": "Zuletzt",
+ "start.welcome": "Willkommen bei Concat",
+ "start.welcomeBack": "Willkommen zurück",
+ "start.welcomeBackNote": "Mach weiter, wo du aufgehört hast, oder fang etwas Neues an.",
+ "start.welcomeNote": "Ein kostenloser Videoeditor, der komplett auf diesem Rechner läuft.",
+ "start.whatsNew": "Neu in {0}",
"start.whereShouldProjectFolder": "Wohin soll der Projektordner?",
"studio.addAtPlayhead": "Am Abspielkopf hinzufügen",
"studio.addSelectedToTimeline": "Auswahl zur Zeitleiste hinzufügen",
diff --git a/src/crates/concat/locales/en.json b/src/crates/concat/locales/en.json
index 2c9a26c1..5e2d9b19 100644
--- a/src/crates/concat/locales/en.json
+++ b/src/crates/concat/locales/en.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Timeline",
"export.toneMapped": "Tone-mapped, plays anywhere",
"format.almostDone": "almost done",
+ "format.anHourAgo": "an hour ago",
"format.daysAgo": "{0} days ago",
+ "format.hoursAgo": "{0} hours ago",
"format.hoursMinutes": "{0} h {1} min",
"format.justNow": "just now",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} months ago",
"format.sLeft": "{0}s left",
"format.seconds": "{0}s",
- "format.today": "today",
"format.yesterday": "yesterday",
"keyframesPane.addRemoveKeyPlayhead": "Add or remove a key at the playhead",
"keyframesPane.clearAllKeys": "Clear all keys",
@@ -586,19 +587,53 @@
"start.choose": "Choose…",
"start.chooseAFolder": "Choose a folder",
"start.chooseWhereProjectFolder": "Choose where the project folder should go",
+ "start.couldNotOpenLink": "Could not open {0}: {1}",
"start.create": "Create",
"start.creating": "Creating…",
- "start.everythingHaveOpenedMachine": "Everything you have opened on this machine.",
+ "start.discordNote": "Ask questions and share what you made",
+ "start.documentation": "Documentation",
+ "start.documentationNote": "A guide to every panel and tool",
+ "start.dropHint": "You can also drop a project folder, or media to start a new project, onto this window.",
+ "start.dropNothingToOpen": "Nothing to open there: drop a project folder, or video, photo or audio files.",
+ "start.dropToStart": "Drop to start",
+ "start.dropToStartNote": "A project folder opens; media starts a new project",
+ "start.droppedFiles": "{0} dropped files go into this project when it is made.",
+ "start.droppedOneFile": "The dropped file goes into this project when it is made.",
+ "start.firstEdit": "Your first edit",
+ "start.firstEditNote": "From a new project to an export in five steps",
+ "start.folderMissing": "{0} is not there any more: its drive may be unplugged, or the folder was moved or deleted.",
+ "start.folderNotFound": "Folder not found",
+ "start.githubNote": "The code, the issues and every release",
+ "start.keyboardShortcuts": "Keyboard shortcuts",
+ "start.keyboardShortcutsNote": "See every key, and change any of them",
+ "start.learnAndCommunity": "Learn and community",
"start.location": "Location",
"start.newProject": "New project",
+ "start.newProjectNote": "Pick a shape and a frame rate",
+ "start.noMatches": "No project matches “{0}”.",
+ "start.noProjectsNote": "Everything you make or open shows up here. New to editing? The first-edit guide goes from an empty timeline to an exported video in five steps.",
+ "start.noProjectsYet": "No projects yet",
"start.notConcatProjectFolder": "{0} is not a Concat project folder",
"start.openAProject": "Open a project",
"start.openProject": "Open project",
+ "start.openProjectNote": "A project folder from this machine",
"start.projectFolderCreatedNow": "The project folder is created now; the edit autosaves into it.",
- "start.projects": "Projects",
+ "start.recentProjects": "Recent projects",
+ "start.removeFromList": "Remove from list",
+ "start.reportProblem": "Report a problem",
+ "start.reportProblemNote": "What to send so it can be fixed",
"start.safeMode": "Concat closed while starting last time, so it is drawing in software now: slower, but it opens. To try the graphics card again, turn on Draw on the GPU in Settings > General.",
+ "start.searchProjects": "Search projects",
"start.settingsApplyWholeEdit": "These settings apply to the whole edit and cannot be changed later.",
"start.shape": "Shape",
+ "start.showInFolder": "Show in folder",
+ "start.sortName": "Name",
+ "start.sortRecent": "Recent",
+ "start.welcome": "Welcome to Concat",
+ "start.welcomeBack": "Welcome back",
+ "start.welcomeBackNote": "Pick up where you left off, or start something new.",
+ "start.welcomeNote": "A free video editor that runs entirely on this machine.",
+ "start.whatsNew": "What's new in {0}",
"start.whereShouldProjectFolder": "Where should the project folder go?",
"studio.addAtPlayhead": "Add at playhead",
"studio.addSelectedToTimeline": "Add selected to timeline",
diff --git a/src/crates/concat/locales/es.json b/src/crates/concat/locales/es.json
index 9fe06548..e740010d 100644
--- a/src/crates/concat/locales/es.json
+++ b/src/crates/concat/locales/es.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Línea de tiempo",
"export.toneMapped": "Convertido a SDR, se ve en todas partes",
"format.almostDone": "casi listo",
+ "format.anHourAgo": "hace una hora",
"format.daysAgo": "hace {0} días",
+ "format.hoursAgo": "hace {0} horas",
"format.hoursMinutes": "{0} h {1} min",
"format.justNow": "ahora mismo",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "hace {0} meses",
"format.sLeft": "quedan {0} s",
"format.seconds": "{0} s",
- "format.today": "hoy",
"format.yesterday": "ayer",
"keyframesPane.addRemoveKeyPlayhead": "Añadir o quitar un fotograma clave en el cabezal",
"keyframesPane.clearAllKeys": "Quitar todos los fotogramas clave",
@@ -586,19 +587,53 @@
"start.choose": "Elegir…",
"start.chooseAFolder": "Elige una carpeta",
"start.chooseWhereProjectFolder": "Elige dónde irá la carpeta del proyecto",
+ "start.couldNotOpenLink": "No se pudo abrir {0}: {1}",
"start.create": "Crear",
"start.creating": "Creando…",
- "start.everythingHaveOpenedMachine": "Todo lo que has abierto en este equipo.",
+ "start.discordNote": "Haz preguntas y comparte lo que has hecho",
+ "start.documentation": "Documentación",
+ "start.documentationNote": "Una guía de cada panel y herramienta",
+ "start.dropHint": "También puedes soltar en esta ventana una carpeta de proyecto, o medios para empezar un proyecto nuevo.",
+ "start.dropNothingToOpen": "Ahí no hay nada que abrir: suelta una carpeta de proyecto, o archivos de vídeo, foto o audio.",
+ "start.dropToStart": "Suelta para empezar",
+ "start.dropToStartNote": "Una carpeta de proyecto se abre; los medios inician un proyecto nuevo",
+ "start.droppedFiles": "Los {0} archivos soltados se añadirán a este proyecto cuando se cree.",
+ "start.droppedOneFile": "El archivo soltado se añadirá a este proyecto cuando se cree.",
+ "start.firstEdit": "Tu primera edición",
+ "start.firstEditNote": "De un proyecto nuevo a una exportación en cinco pasos",
+ "start.folderMissing": "{0} ya no está: puede que su unidad esté desconectada, o que la carpeta se haya movido o eliminado.",
+ "start.folderNotFound": "Carpeta no encontrada",
+ "start.githubNote": "El código, las incidencias y cada versión",
+ "start.keyboardShortcuts": "Atajos de teclado",
+ "start.keyboardShortcutsNote": "Mira cada tecla y cambia la que quieras",
+ "start.learnAndCommunity": "Aprendizaje y comunidad",
"start.location": "Ubicación",
"start.newProject": "Nuevo proyecto",
+ "start.newProjectNote": "Elige la forma y los fotogramas por segundo",
+ "start.noMatches": "Ningún proyecto coincide con «{0}».",
+ "start.noProjectsNote": "Todo lo que crees o abras aparece aquí. ¿Nuevo en la edición? La guía «Tu primera edición» va de una línea de tiempo vacía a un vídeo exportado en cinco pasos.",
+ "start.noProjectsYet": "Aún no hay proyectos",
"start.notConcatProjectFolder": "{0} no es una carpeta de proyecto de Concat",
"start.openAProject": "Abrir un proyecto",
- "start.openProject": "Open project",
+ "start.openProject": "Abrir proyecto",
+ "start.openProjectNote": "Una carpeta de proyecto de este equipo",
"start.projectFolderCreatedNow": "La carpeta del proyecto se crea ahora; la edición se guarda en ella automáticamente.",
- "start.projects": "Proyectos",
+ "start.recentProjects": "Proyectos recientes",
+ "start.removeFromList": "Quitar de la lista",
+ "start.reportProblem": "Informar de un problema",
+ "start.reportProblemNote": "Qué enviar para que se pueda arreglar",
"start.safeMode": "Concat se cerró al iniciarse la última vez, así que ahora dibuja por software: más lento, pero se abre. Para volver a probar la tarjeta gráfica, activa Dibujar en la GPU en Ajustes > General.",
+ "start.searchProjects": "Buscar proyectos",
"start.settingsApplyWholeEdit": "Estos ajustes se aplican a toda la edición y no se pueden cambiar después.",
"start.shape": "Forma",
+ "start.showInFolder": "Mostrar en la carpeta",
+ "start.sortName": "Nombre",
+ "start.sortRecent": "Recientes",
+ "start.welcome": "Te damos la bienvenida a Concat",
+ "start.welcomeBack": "Hola de nuevo",
+ "start.welcomeBackNote": "Sigue donde lo dejaste o empieza algo nuevo.",
+ "start.welcomeNote": "Un editor de vídeo gratuito que funciona por completo en este equipo.",
+ "start.whatsNew": "Novedades de {0}",
"start.whereShouldProjectFolder": "¿Dónde irá la carpeta del proyecto?",
"studio.addAtPlayhead": "Añadir en el cabezal",
"studio.addSelectedToTimeline": "Añadir la selección a la línea de tiempo",
diff --git a/src/crates/concat/locales/fa.json b/src/crates/concat/locales/fa.json
index 413038e5..e1e66ae5 100644
--- a/src/crates/concat/locales/fa.json
+++ b/src/crates/concat/locales/fa.json
@@ -263,7 +263,9 @@
"export.timelineSize": "خط زمان",
"export.toneMapped": "با Tone Mapping، همه‌جا پخش می‌شود",
"format.almostDone": "تقریباً تمام شد",
+ "format.anHourAgo": "یک ساعت پیش",
"format.daysAgo": "{0} روز پیش",
+ "format.hoursAgo": "{0} ساعت پیش",
"format.hoursMinutes": "{0} ساعت و {1} دقیقه",
"format.justNow": "همین الان",
"format.minutes": "{0} دقیقه",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} ماه پیش",
"format.sLeft": "{0}s باقی مانده",
"format.seconds": "{0} ثانیه",
- "format.today": "امروز",
"format.yesterday": "دیروز",
"keyframesPane.addRemoveKeyPlayhead": "افزودن یا حذف کی‌فریم در جای نشانگر پخش",
"keyframesPane.clearAllKeys": "حذف همهٔ کی‌فریم‌ها",
@@ -586,19 +587,53 @@
"start.choose": "انتخاب…",
"start.chooseAFolder": "انتخاب پوشه",
"start.chooseWhereProjectFolder": "محل ذخیره پوشه پروژه را انتخاب کنید",
+ "start.couldNotOpenLink": "باز کردن {0} ممکن نشد: {1}",
"start.create": "ایجاد",
"start.creating": "در حال ایجاد…",
- "start.everythingHaveOpenedMachine": "همه چیزهایی که روی این دستگاه باز کرده‌اید.",
+ "start.discordNote": "سؤال بپرسید و ساخته‌هایتان را به اشتراک بگذارید",
+ "start.documentation": "مستندات",
+ "start.documentationNote": "راهنمای همه پنل‌ها و ابزارها",
+ "start.dropHint": "می‌توانید یک پوشه پروژه، یا رسانه برای شروع پروژه جدید را هم روی این پنجره رها کنید.",
+ "start.dropNothingToOpen": "چیزی برای باز کردن نیست: یک پوشه پروژه، یا فایل‌های ویدئو، عکس یا صدا رها کنید.",
+ "start.dropToStart": "برای شروع رها کنید",
+ "start.dropToStartNote": "پوشه پروژه باز می‌شود؛ رسانه پروژه جدیدی شروع می‌کند",
+ "start.droppedFiles": "{0} فایل رهاشده پس از ساخته شدن این پروژه به آن اضافه می‌شوند.",
+ "start.droppedOneFile": "فایل رهاشده پس از ساخته شدن این پروژه به آن اضافه می‌شود.",
+ "start.firstEdit": "اولین تدوین شما",
+ "start.firstEditNote": "از پروژه جدید تا خروجی در پنج گام",
+ "start.folderMissing": "{0} دیگر آنجا نیست: شاید درایو آن جدا شده باشد، یا پوشه جابه‌جا یا حذف شده است.",
+ "start.folderNotFound": "پوشه پیدا نشد",
+ "start.githubNote": "کد، گزارش‌ها و همه نسخه‌ها",
+ "start.keyboardShortcuts": "میان‌برهای صفحه‌کلید",
+ "start.keyboardShortcutsNote": "همه کلیدها را ببینید و هر کدام را تغییر دهید",
+ "start.learnAndCommunity": "یادگیری و انجمن",
"start.location": "موقعیت",
"start.newProject": "پروژه جدید",
+ "start.newProjectNote": "شکل و نرخ فریم را انتخاب کنید",
+ "start.noMatches": "هیچ پروژه‌ای با «{0}» مطابقت ندارد.",
+ "start.noProjectsNote": "هر چه بسازید یا باز کنید اینجا نمایش داده می‌شود. تازه‌کار در تدوین هستید؟ راهنمای «اولین تدوین شما» در پنج گام از یک تایم‌لاین خالی به یک ویدئوی خروجی‌گرفته می‌رسد.",
+ "start.noProjectsYet": "هنوز پروژه‌ای نیست",
"start.notConcatProjectFolder": "{0} یک پوشه پروژه Concat نیست",
"start.openAProject": "باز کردن یک پروژه",
"start.openProject": "باز کردن پروژه",
+ "start.openProjectNote": "یک پوشه پروژه از همین دستگاه",
"start.projectFolderCreatedNow": "پوشه پروژه اکنون ساخته می‌شود و ویرایش به‌صورت Auto Save داخل آن ذخیره می‌شود.",
- "start.projects": "پروژه‌ها",
+ "start.recentProjects": "پروژه‌های اخیر",
+ "start.removeFromList": "حذف از فهرست",
+ "start.reportProblem": "گزارش مشکل",
+ "start.reportProblemNote": "چه چیزی بفرستید تا قابل رفع باشد",
"start.safeMode": "Concat دفعهٔ قبل هنگام شروع بسته شد، برای همین اکنون به‌صورت نرم‌افزاری رسم می‌کند: کندتر، اما باز می‌شود. برای امتحان دوبارهٔ کارت گرافیک، «رسم با GPU» را در تنظیمات > عمومی روشن کنید.",
+ "start.searchProjects": "جستجوی پروژه‌ها",
"start.settingsApplyWholeEdit": "این تنظیمات روی کل ویرایش اعمال می‌شوند و بعداً قابل تغییر نیستند.",
"start.shape": "شکل",
+ "start.showInFolder": "نمایش در پوشه",
+ "start.sortName": "نام",
+ "start.sortRecent": "اخیر",
+ "start.welcome": "به Concat خوش آمدید",
+ "start.welcomeBack": "خوش برگشتید",
+ "start.welcomeBackNote": "از همان جایی که ماندید ادامه دهید، یا چیز تازه‌ای شروع کنید.",
+ "start.welcomeNote": "یک ویرایشگر ویدئوی رایگان که کاملاً روی همین دستگاه اجرا می‌شود.",
+ "start.whatsNew": "تازه‌های {0}",
"start.whereShouldProjectFolder": "پوشه پروژه کجا ذخیره شود؟",
"studio.addAtPlayhead": "افزودن در نشانگر پخش",
"studio.addSelectedToTimeline": "افزودن موارد انتخاب‌شده به تایم‌لاین",
diff --git a/src/crates/concat/locales/fr.json b/src/crates/concat/locales/fr.json
index 41b3773b..cec00615 100644
--- a/src/crates/concat/locales/fr.json
+++ b/src/crates/concat/locales/fr.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Timeline",
"export.toneMapped": "Ramené en SDR, lisible partout",
"format.almostDone": "presque fini",
+ "format.anHourAgo": "il y a une heure",
"format.daysAgo": "il y a {0} jours",
+ "format.hoursAgo": "il y a {0} heures",
"format.hoursMinutes": "{0} h {1} min",
"format.justNow": "à l'instant",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "il y a {0} mois",
"format.sLeft": "{0} s restantes",
"format.seconds": "{0} s",
- "format.today": "aujourd'hui",
"format.yesterday": "hier",
"keyframesPane.addRemoveKeyPlayhead": "Ajouter ou retirer une image clé à la tête de lecture",
"keyframesPane.clearAllKeys": "Supprimer toutes les images clés",
@@ -586,19 +587,53 @@
"start.choose": "Choisir…",
"start.chooseAFolder": "Choisir un dossier",
"start.chooseWhereProjectFolder": "Choisissez où placer le dossier du projet",
+ "start.couldNotOpenLink": "Impossible d'ouvrir {0} : {1}",
"start.create": "Créer",
"start.creating": "Création…",
- "start.everythingHaveOpenedMachine": "Tout ce que vous avez ouvert sur cette machine.",
+ "start.discordNote": "Posez vos questions et partagez vos créations",
+ "start.documentation": "Documentation",
+ "start.documentationNote": "Un guide de chaque panneau et outil",
+ "start.dropHint": "Vous pouvez aussi déposer sur cette fenêtre un dossier de projet, ou des médias pour commencer un nouveau projet.",
+ "start.dropNothingToOpen": "Rien à ouvrir ici : déposez un dossier de projet, ou des fichiers vidéo, photo ou audio.",
+ "start.dropToStart": "Déposez pour commencer",
+ "start.dropToStartNote": "Un dossier de projet s'ouvre ; des médias lancent un nouveau projet",
+ "start.droppedFiles": "Les {0} fichiers déposés iront dans ce projet à sa création.",
+ "start.droppedOneFile": "Le fichier déposé ira dans ce projet à sa création.",
+ "start.firstEdit": "Votre premier montage",
+ "start.firstEditNote": "D'un nouveau projet à un export en cinq étapes",
+ "start.folderMissing": "{0} n'est plus là : son disque est peut-être débranché, ou le dossier a été déplacé ou supprimé.",
+ "start.folderNotFound": "Dossier introuvable",
+ "start.githubNote": "Le code, les tickets et chaque version",
+ "start.keyboardShortcuts": "Raccourcis clavier",
+ "start.keyboardShortcutsNote": "Voyez chaque touche, et modifiez celles que vous voulez",
+ "start.learnAndCommunity": "Apprentissage et communauté",
"start.location": "Emplacement",
"start.newProject": "Nouveau projet",
+ "start.newProjectNote": "Choisissez une forme et une cadence",
+ "start.noMatches": "Aucun projet ne correspond à « {0} ».",
+ "start.noProjectsNote": "Tout ce que vous créez ou ouvrez apparaît ici. Vous débutez en montage ? Le guide « Votre premier montage » mène d'une timeline vide à une vidéo exportée en cinq étapes.",
+ "start.noProjectsYet": "Aucun projet pour l'instant",
"start.notConcatProjectFolder": "{0} n'est pas un dossier de projet Concat",
"start.openAProject": "Ouvrir un projet",
- "start.openProject": "Open project",
+ "start.openProject": "Ouvrir un projet",
+ "start.openProjectNote": "Un dossier de projet sur cette machine",
"start.projectFolderCreatedNow": "Le dossier du projet est créé maintenant ; le montage s'y enregistre automatiquement.",
- "start.projects": "Projets",
+ "start.recentProjects": "Projets récents",
+ "start.removeFromList": "Retirer de la liste",
+ "start.reportProblem": "Signaler un problème",
+ "start.reportProblemNote": "Quoi envoyer pour que ce soit corrigé",
"start.safeMode": "Concat s'est fermé pendant son dernier démarrage, il dessine donc maintenant de façon logicielle : plus lent, mais il s'ouvre. Pour réessayer la carte graphique, activez Dessiner avec le GPU dans Réglages > Général.",
+ "start.searchProjects": "Rechercher des projets",
"start.settingsApplyWholeEdit": "Ces réglages s'appliquent à tout le montage et ne pourront plus être changés.",
"start.shape": "Forme",
+ "start.showInFolder": "Afficher dans le dossier",
+ "start.sortName": "Nom",
+ "start.sortRecent": "Récents",
+ "start.welcome": "Bienvenue dans Concat",
+ "start.welcomeBack": "Bon retour",
+ "start.welcomeBackNote": "Reprenez là où vous en étiez, ou commencez quelque chose de nouveau.",
+ "start.welcomeNote": "Un éditeur vidéo gratuit qui fonctionne entièrement sur cette machine.",
+ "start.whatsNew": "Nouveautés de {0}",
"start.whereShouldProjectFolder": "Où placer le dossier du projet ?",
"studio.addAtPlayhead": "Ajouter à la tête de lecture",
"studio.addSelectedToTimeline": "Ajouter la sélection à la timeline",
diff --git a/src/crates/concat/locales/he.json b/src/crates/concat/locales/he.json
index c30e98e2..e432fda5 100644
--- a/src/crates/concat/locales/he.json
+++ b/src/crates/concat/locales/he.json
@@ -263,7 +263,9 @@
"export.timelineSize": "ציר זמן",
"export.toneMapped": "עם מיפוי טונים, מתנגן בכל מקום",
"format.almostDone": "כמעט סיים",
+ "format.anHourAgo": "לפני שעה",
"format.daysAgo": "לפני {0} ימים",
+ "format.hoursAgo": "לפני {0} שעות",
"format.hoursMinutes": "{0} שע׳ {1} דק׳",
"format.justNow": "זה עתה",
"format.minutes": "{0} דק׳",
@@ -272,7 +274,6 @@
"format.monthsAgo": "לפני {0} חודשים",
"format.sLeft": "נותרו {0} שנ׳",
"format.seconds": "{0} שנ׳",
- "format.today": "היום",
"format.yesterday": "אתמול",
"keyframesPane.addRemoveKeyPlayhead": "הוספה או הסרה של פריים מפתח בסמן ההפעלה",
"keyframesPane.clearAllKeys": "ניקוי כל פריימי המפתח",
@@ -586,19 +587,53 @@
"start.choose": "בחירה…",
"start.chooseAFolder": "בחירת תיקייה",
"start.chooseWhereProjectFolder": "בחירת המיקום של תיקיית הפרויקט",
+ "start.couldNotOpenLink": "לא ניתן לפתוח את {0}: {1}",
"start.create": "יצירה",
"start.creating": "יוצר…",
- "start.everythingHaveOpenedMachine": "כל מה שנפתח במחשב הזה.",
+ "start.discordNote": "אפשר לשאול שאלות ולשתף את מה שיצרת",
+ "start.documentation": "תיעוד",
+ "start.documentationNote": "מדריך לכל חלונית וכלי",
+ "start.dropHint": "אפשר גם לגרור לחלון הזה תיקיית פרויקט, או מדיה כדי להתחיל פרויקט חדש.",
+ "start.dropNothingToOpen": "אין כאן מה לפתוח: אפשר לגרור תיקיית פרויקט, או קובצי וידאו, תמונה או שמע.",
+ "start.dropToStart": "גרירה לכאן להתחלה",
+ "start.dropToStartNote": "תיקיית פרויקט נפתחת; מדיה מתחילה פרויקט חדש",
+ "start.droppedFiles": "{0} הקבצים שנגררו ייכנסו לפרויקט הזה כשייווצר.",
+ "start.droppedOneFile": "הקובץ שנגרר ייכנס לפרויקט הזה כשייווצר.",
+ "start.firstEdit": "העריכה הראשונה שלך",
+ "start.firstEditNote": "מפרויקט חדש לייצוא בחמישה שלבים",
+ "start.folderMissing": "{0} כבר לא שם: ייתכן שהכונן מנותק, או שהתיקייה הועברה או נמחקה.",
+ "start.folderNotFound": "התיקייה לא נמצאה",
+ "start.githubNote": "הקוד, הדיווחים וכל גרסה",
+ "start.keyboardShortcuts": "קיצורי מקשים",
+ "start.keyboardShortcutsNote": "כל המקשים, ואפשר לשנות כל אחד מהם",
+ "start.learnAndCommunity": "למידה וקהילה",
"start.location": "מיקום",
"start.newProject": "פרויקט חדש",
+ "start.newProjectNote": "בחירת צורה וקצב פריימים",
+ "start.noMatches": "אף פרויקט לא תואם את ״{0}״.",
+ "start.noProjectsNote": "כל מה שיוצרים או פותחים מופיע כאן. חדשים בעריכה? המדריך ״העריכה הראשונה שלך״ מוביל מציר זמן ריק לסרטון מיוצא בחמישה שלבים.",
+ "start.noProjectsYet": "אין עדיין פרויקטים",
"start.notConcatProjectFolder": "{0} אינה תיקיית פרויקט של Concat",
"start.openAProject": "פתיחת פרויקט",
- "start.openProject": "פתיחת הפרויקט",
+ "start.openProject": "פתיחת פרויקט",
+ "start.openProjectNote": "תיקיית פרויקט מהמחשב הזה",
"start.projectFolderCreatedNow": "תיקיית הפרויקט נוצרת עכשיו; העריכה נשמרת בה אוטומטית.",
- "start.projects": "פרויקטים",
+ "start.recentProjects": "פרויקטים אחרונים",
+ "start.removeFromList": "הסרה מהרשימה",
+ "start.reportProblem": "דיווח על בעיה",
+ "start.reportProblemNote": "מה לשלוח כדי שאפשר יהיה לתקן",
"start.safeMode": "Concat נסגר בזמן ההפעלה בפעם הקודמת, ולכן הוא מצייר עכשיו בתוכנה: איטי יותר, אבל נפתח. כדי לנסות שוב את כרטיס המסך, יש להפעיל את ציור ב-GPU בהגדרות > כללי.",
+ "start.searchProjects": "חיפוש פרויקטים",
"start.settingsApplyWholeEdit": "ההגדרות האלה חלות על כל העריכה ולא ניתן לשנות אותן מאוחר יותר.",
"start.shape": "צורה",
+ "start.showInFolder": "הצגה בתיקייה",
+ "start.sortName": "שם",
+ "start.sortRecent": "אחרונים",
+ "start.welcome": "ברוכים הבאים ל-Concat",
+ "start.welcomeBack": "ברוכים השבים",
+ "start.welcomeBackNote": "אפשר להמשיך מאיפה שהפסקת, או להתחיל משהו חדש.",
+ "start.welcomeNote": "עורך וידאו חינמי שפועל כולו במחשב הזה.",
+ "start.whatsNew": "מה חדש ב-{0}",
"start.whereShouldProjectFolder": "איפה תהיה תיקיית הפרויקט?",
"studio.addAtPlayhead": "הוספה בסמן ההפעלה",
"studio.addSelectedToTimeline": "הוספת הנבחרים לציר הזמן",
diff --git a/src/crates/concat/locales/hi.json b/src/crates/concat/locales/hi.json
index f4c90f34..f5dfbca2 100644
--- a/src/crates/concat/locales/hi.json
+++ b/src/crates/concat/locales/hi.json
@@ -263,7 +263,9 @@
"export.timelineSize": "टाइमलाइन",
"export.toneMapped": "टोन-मैप्ड, हर जगह चलता है",
"format.almostDone": "लगभग हो गया",
+ "format.anHourAgo": "एक घंटा पहले",
"format.daysAgo": "{0} दिन पहले",
+ "format.hoursAgo": "{0} घंटे पहले",
"format.hoursMinutes": "{0} घंटे {1} मिनट",
"format.justNow": "अभी-अभी",
"format.minutes": "{0} मिनट",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} महीने पहले",
"format.sLeft": "{0} से बाकी",
"format.seconds": "{0} सेकंड",
- "format.today": "आज",
"format.yesterday": "कल",
"keyframesPane.addRemoveKeyPlayhead": "प्लेहेड पर कीफ़्रेम जोड़ें या हटाएं",
"keyframesPane.clearAllKeys": "सभी कीफ़्रेम हटाएं",
@@ -586,19 +587,53 @@
"start.choose": "चुनें…",
"start.chooseAFolder": "फ़ोल्डर चुनें",
"start.chooseWhereProjectFolder": "चुनें कि प्रोजेक्ट फ़ोल्डर कहां रखा जाए",
+ "start.couldNotOpenLink": "{0} नहीं खुल सका: {1}",
"start.create": "बनाएं",
"start.creating": "बनाया जा रहा है…",
- "start.everythingHaveOpenedMachine": "इस मशीन पर आपने जो कुछ भी खोला है।",
+ "start.discordNote": "सवाल पूछें और अपना बनाया हुआ साझा करें",
+ "start.documentation": "दस्तावेज़",
+ "start.documentationNote": "हर पैनल और टूल की गाइड",
+ "start.dropHint": "आप इस विंडो पर कोई प्रोजेक्ट फ़ोल्डर, या नया प्रोजेक्ट शुरू करने के लिए मीडिया भी छोड़ सकते हैं।",
+ "start.dropNothingToOpen": "वहां खोलने को कुछ नहीं है: कोई प्रोजेक्ट फ़ोल्डर, या वीडियो, फ़ोटो या ऑडियो फ़ाइलें छोड़ें।",
+ "start.dropToStart": "शुरू करने के लिए छोड़ें",
+ "start.dropToStartNote": "प्रोजेक्ट फ़ोल्डर खुलता है; मीडिया से नया प्रोजेक्ट शुरू होता है",
+ "start.droppedFiles": "छोड़ी गई {0} फ़ाइलें प्रोजेक्ट बनने पर उसमें जुड़ जाएंगी।",
+ "start.droppedOneFile": "छोड़ी गई फ़ाइल प्रोजेक्ट बनने पर उसमें जुड़ जाएगी।",
+ "start.firstEdit": "आपका पहला एडिट",
+ "start.firstEditNote": "नए प्रोजेक्ट से एक्सपोर्ट तक पांच चरणों में",
+ "start.folderMissing": "{0} अब वहां नहीं है: शायद उसकी ड्राइव निकाल दी गई है, या फ़ोल्डर को कहीं और ले जाया गया या मिटा दिया गया है।",
+ "start.folderNotFound": "फ़ोल्डर नहीं मिला",
+ "start.githubNote": "कोड, समस्याएं और हर रिलीज़",
+ "start.keyboardShortcuts": "कीबोर्ड शॉर्टकट",
+ "start.keyboardShortcutsNote": "हर कुंजी देखें, और किसी को भी बदलें",
+ "start.learnAndCommunity": "सीखना और समुदाय",
"start.location": "स्थान",
"start.newProject": "नया प्रोजेक्ट",
+ "start.newProjectNote": "आकृति और फ़्रेम रेट चुनें",
+ "start.noMatches": "“{0}” से कोई प्रोजेक्ट मेल नहीं खाता।",
+ "start.noProjectsNote": "आप जो कुछ बनाते या खोलते हैं, वह यहां दिखता है। एडिटिंग में नए हैं? “आपका पहला एडिट” गाइड पांच चरणों में खाली टाइमलाइन से एक्सपोर्ट किए गए वीडियो तक ले जाती है।",
+ "start.noProjectsYet": "अभी कोई प्रोजेक्ट नहीं",
"start.notConcatProjectFolder": "{0} Concat प्रोजेक्ट फ़ोल्डर नहीं है",
"start.openAProject": "कोई प्रोजेक्ट खोलें",
"start.openProject": "प्रोजेक्ट खोलें",
+ "start.openProjectNote": "इस मशीन से कोई प्रोजेक्ट फ़ोल्डर",
"start.projectFolderCreatedNow": "प्रोजेक्ट फ़ोल्डर अभी बनाया जाता है; एडिट अपने-आप उसमें सेव होता रहता है।",
- "start.projects": "प्रोजेक्ट",
+ "start.recentProjects": "हाल के प्रोजेक्ट",
+ "start.removeFromList": "सूची से हटाएं",
+ "start.reportProblem": "समस्या की रिपोर्ट करें",
+ "start.reportProblemNote": "क्या भेजें ताकि इसे ठीक किया जा सके",
"start.safeMode": "पिछली बार Concat शुरू होते समय बंद हो गया था, इसलिए अब सॉफ़्टवेयर से ड्रॉ कर रहा है: धीमा, लेकिन खुल जाता है। ग्राफ़िक्स कार्ड फिर से आज़माने के लिए सेटिंग > सामान्य में GPU पर ड्रॉ करें चालू करें।",
+ "start.searchProjects": "प्रोजेक्ट खोजें",
"start.settingsApplyWholeEdit": "ये सेटिंग पूरे एडिट पर लागू होती हैं और बाद में बदली नहीं जा सकतीं।",
"start.shape": "आकृति",
+ "start.showInFolder": "फ़ोल्डर में दिखाएं",
+ "start.sortName": "नाम",
+ "start.sortRecent": "हाल के",
+ "start.welcome": "Concat में आपका स्वागत है",
+ "start.welcomeBack": "फिर से स्वागत है",
+ "start.welcomeBackNote": "जहां छोड़ा था वहीं से जारी रखें, या कुछ नया शुरू करें।",
+ "start.welcomeNote": "एक मुफ़्त वीडियो एडिटर जो पूरी तरह इसी मशीन पर चलता है।",
+ "start.whatsNew": "{0} में नया क्या है",
"start.whereShouldProjectFolder": "प्रोजेक्ट फ़ोल्डर कहां रखा जाए?",
"studio.addAtPlayhead": "प्लेहेड पर जोड़ें",
"studio.addSelectedToTimeline": "चुने गए को टाइमलाइन में जोड़ें",
diff --git a/src/crates/concat/locales/hr.json b/src/crates/concat/locales/hr.json
index 63d546d3..454b2797 100644
--- a/src/crates/concat/locales/hr.json
+++ b/src/crates/concat/locales/hr.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Vremenska crta",
"export.toneMapped": "Mapirano u SDR, radi svugdje",
"format.almostDone": "skoro gotovo",
+ "format.anHourAgo": "prije sat vremena",
"format.daysAgo": "prije {0} dana",
+ "format.hoursAgo": "prije {0} h",
"format.hoursMinutes": "{0} h {1} min",
"format.justNow": "upravo sada",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "prije {0} mjeseci",
"format.sLeft": "preostalo {0}s",
"format.seconds": "{0}s",
- "format.today": "danas",
"format.yesterday": "jučer",
"keyframesPane.addRemoveKeyPlayhead": "Dodaj ili ukloni ključni kadar na playheadu",
"keyframesPane.clearAllKeys": "Ukloni sve ključne kadrove",
@@ -586,19 +587,53 @@
"start.choose": "Odaberi…",
"start.chooseAFolder": "Odaberite mapu",
"start.chooseWhereProjectFolder": "Odaberite kamo će mapa projekta",
+ "start.couldNotOpenLink": "Nije moguće otvoriti {0}: {1}",
"start.create": "Stvori",
"start.creating": "Stvaranje…",
- "start.everythingHaveOpenedMachine": "Sve što ste otvorili na ovom računalu.",
+ "start.discordNote": "Postavite pitanja i podijelite što ste napravili",
+ "start.documentation": "Dokumentacija",
+ "start.documentationNote": "Vodič kroz svaku ploču i alat",
+ "start.dropHint": "Na ovaj prozor možete ispustiti i mapu projekta ili medije za novi projekt.",
+ "start.dropNothingToOpen": "Ovdje nema ništa za otvaranje: ispustite mapu projekta ili video, foto ili audio datoteke.",
+ "start.dropToStart": "Ispustite za početak",
+ "start.dropToStartNote": "Mapa projekta se otvara; mediji pokreću novi projekt",
+ "start.droppedFiles": "Ispuštene datoteke ({0}) ući će u ovaj projekt kad se stvori.",
+ "start.droppedOneFile": "Ispuštena datoteka ući će u ovaj projekt kad se stvori.",
+ "start.firstEdit": "Vaša prva montaža",
+ "start.firstEditNote": "Od novog projekta do izvoza u pet koraka",
+ "start.folderMissing": "{0} više nije ondje: disk je možda isključen, ili je mapa premještena ili izbrisana.",
+ "start.folderNotFound": "Mapa nije pronađena",
+ "start.githubNote": "Kod, prijave problema i svako izdanje",
+ "start.keyboardShortcuts": "Tipkovnički prečaci",
+ "start.keyboardShortcutsNote": "Pogledajte svaku tipku i promijenite bilo koju",
+ "start.learnAndCommunity": "Učenje i zajednica",
"start.location": "Lokacija",
"start.newProject": "Novi projekt",
+ "start.newProjectNote": "Odaberite oblik i broj sličica",
+ "start.noMatches": "Nijedan projekt ne odgovara “{0}”.",
+ "start.noProjectsNote": "Sve što napravite ili otvorite pojavit će se ovdje. Prvi put montirate? Vodič “Vaša prva montaža” u pet koraka vodi od prazne vremenske linije do izvezenog videa.",
+ "start.noProjectsYet": "Još nema projekata",
"start.notConcatProjectFolder": "{0} nije mapa Concat projekta",
"start.openAProject": "Otvori projekt",
- "start.openProject": "Open project",
+ "start.openProject": "Otvori projekt",
+ "start.openProjectNote": "Mapa projekta s ovog računala",
"start.projectFolderCreatedNow": "Mapa projekta stvara se sada; montaža se u nju autosprema.",
- "start.projects": "Projekti",
+ "start.recentProjects": "Nedavni projekti",
+ "start.removeFromList": "Ukloni s popisa",
+ "start.reportProblem": "Prijavi problem",
+ "start.reportProblemNote": "Što poslati da se može popraviti",
"start.safeMode": "Concat se prošli put zatvorio tijekom pokretanja, pa sada crta softverski: sporije, ali se otvara. Da ponovno isprobaš grafičku karticu, uključi Crtaj na GPU-u u Postavke > Općenito.",
+ "start.searchProjects": "Pretraži projekte",
"start.settingsApplyWholeEdit": "Ove postavke vrijede za cijelu montažu i ne mogu se mijenjati kasnije.",
"start.shape": "Oblik",
+ "start.showInFolder": "Prikaži u mapi",
+ "start.sortName": "Naziv",
+ "start.sortRecent": "Nedavno",
+ "start.welcome": "Dobro došli u Concat",
+ "start.welcomeBack": "Dobro došli natrag",
+ "start.welcomeBackNote": "Nastavite gdje ste stali ili započnite nešto novo.",
+ "start.welcomeNote": "Besplatan uređivač videa koji radi u potpunosti na ovom računalu.",
+ "start.whatsNew": "Novosti u {0}",
"start.whereShouldProjectFolder": "Kamo bi mapa projekta trebala ići?",
"studio.addAtPlayhead": "Dodaj na playheadu",
"studio.addSelectedToTimeline": "Dodaj odabrano na vremensku liniju",
diff --git a/src/crates/concat/locales/id.json b/src/crates/concat/locales/id.json
index d4eecf01..cc38ada3 100644
--- a/src/crates/concat/locales/id.json
+++ b/src/crates/concat/locales/id.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Linimasa",
"export.toneMapped": "Dipetakan nada, dapat diputar di mana saja",
"format.almostDone": "hampir selesai",
+ "format.anHourAgo": "satu jam lalu",
"format.daysAgo": "{0} hari lalu",
+ "format.hoursAgo": "{0} jam lalu",
"format.hoursMinutes": "{0} jam {1} mnt",
"format.justNow": "baru saja",
"format.minutes": "{0} mnt",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} bulan lalu",
"format.sLeft": "{0} dtk lagi",
"format.seconds": "{0} dtk",
- "format.today": "hari ini",
"format.yesterday": "kemarin",
"keyframesPane.addRemoveKeyPlayhead": "Tambah atau hapus keyframe di penanda putar",
"keyframesPane.clearAllKeys": "Hapus semua keyframe",
@@ -586,19 +587,53 @@
"start.choose": "Pilih…",
"start.chooseAFolder": "Pilih folder",
"start.chooseWhereProjectFolder": "Pilih lokasi folder proyek",
+ "start.couldNotOpenLink": "Tidak dapat membuka {0}: {1}",
"start.create": "Buat",
"start.creating": "Membuat…",
- "start.everythingHaveOpenedMachine": "Semua yang pernah Anda buka di mesin ini.",
+ "start.discordNote": "Ajukan pertanyaan dan bagikan karya Anda",
+ "start.documentation": "Dokumentasi",
+ "start.documentationNote": "Panduan untuk setiap panel dan alat",
+ "start.dropHint": "Anda juga dapat melepaskan folder proyek, atau media untuk memulai proyek baru, ke jendela ini.",
+ "start.dropNothingToOpen": "Tidak ada yang bisa dibuka di sana: lepaskan folder proyek, atau file video, foto, atau audio.",
+ "start.dropToStart": "Lepaskan untuk mulai",
+ "start.dropToStartNote": "Folder proyek akan dibuka; media memulai proyek baru",
+ "start.droppedFiles": "{0} file yang dilepas akan masuk ke proyek ini saat dibuat.",
+ "start.droppedOneFile": "File yang dilepas akan masuk ke proyek ini saat dibuat.",
+ "start.firstEdit": "Suntingan pertama Anda",
+ "start.firstEditNote": "Dari proyek baru hingga ekspor dalam lima langkah",
+ "start.folderMissing": "{0} sudah tidak ada: drive-nya mungkin dicabut, atau folder telah dipindahkan atau dihapus.",
+ "start.folderNotFound": "Folder tidak ditemukan",
+ "start.githubNote": "Kode, isu, dan setiap rilis",
+ "start.keyboardShortcuts": "Pintasan keyboard",
+ "start.keyboardShortcutsNote": "Lihat setiap tombol, dan ubah yang mana saja",
+ "start.learnAndCommunity": "Belajar dan komunitas",
"start.location": "Lokasi",
"start.newProject": "Proyek baru",
+ "start.newProjectNote": "Pilih bentuk dan laju bingkai",
+ "start.noMatches": "Tidak ada proyek yang cocok dengan “{0}”.",
+ "start.noProjectsNote": "Semua yang Anda buat atau buka muncul di sini. Baru mengenal penyuntingan? Panduan “Suntingan pertama Anda” membawa Anda dari linimasa kosong ke video yang diekspor dalam lima langkah.",
+ "start.noProjectsYet": "Belum ada proyek",
"start.notConcatProjectFolder": "{0} bukan folder proyek Concat",
"start.openAProject": "Buka sebuah proyek",
"start.openProject": "Buka proyek",
+ "start.openProjectNote": "Folder proyek dari mesin ini",
"start.projectFolderCreatedNow": "Folder proyek dibuat sekarang; hasil edit tersimpan otomatis ke dalamnya.",
- "start.projects": "Proyek",
+ "start.recentProjects": "Proyek terbaru",
+ "start.removeFromList": "Hapus dari daftar",
+ "start.reportProblem": "Laporkan masalah",
+ "start.reportProblemNote": "Apa yang perlu dikirim agar bisa diperbaiki",
"start.safeMode": "Concat tertutup saat dimulai terakhir kali, jadi sekarang menggambar secara perangkat lunak: lebih lambat, tetapi bisa terbuka. Untuk mencoba kartu grafis lagi, aktifkan Menggambar dengan GPU di Pengaturan > Umum.",
+ "start.searchProjects": "Cari proyek",
"start.settingsApplyWholeEdit": "Pengaturan ini berlaku untuk seluruh hasil edit dan tidak dapat diubah nanti.",
"start.shape": "Bentuk",
+ "start.showInFolder": "Tampilkan di folder",
+ "start.sortName": "Nama",
+ "start.sortRecent": "Terbaru",
+ "start.welcome": "Selamat datang di Concat",
+ "start.welcomeBack": "Selamat datang kembali",
+ "start.welcomeBackNote": "Lanjutkan dari bagian terakhir, atau mulai sesuatu yang baru.",
+ "start.welcomeNote": "Editor video gratis yang berjalan sepenuhnya di mesin ini.",
+ "start.whatsNew": "Yang baru di {0}",
"start.whereShouldProjectFolder": "Di mana folder proyek akan disimpan?",
"studio.addAtPlayhead": "Tambahkan di penanda putar",
"studio.addSelectedToTimeline": "Tambahkan pilihan ke linimasa",
diff --git a/src/crates/concat/locales/it.json b/src/crates/concat/locales/it.json
index f53ad212..0d905c30 100644
--- a/src/crates/concat/locales/it.json
+++ b/src/crates/concat/locales/it.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Timeline",
"export.toneMapped": "Convertito in SDR, si vede ovunque",
"format.almostDone": "quasi fatto",
+ "format.anHourAgo": "un'ora fa",
"format.daysAgo": "{0} giorni fa",
+ "format.hoursAgo": "{0} ore fa",
"format.hoursMinutes": "{0} h {1} min",
"format.justNow": "proprio ora",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} mesi fa",
"format.sLeft": "{0} s rimanenti",
"format.seconds": "{0} s",
- "format.today": "oggi",
"format.yesterday": "ieri",
"keyframesPane.addRemoveKeyPlayhead": "Aggiungi o rimuovi un fotogramma chiave alla testina",
"keyframesPane.clearAllKeys": "Rimuovi tutti i fotogrammi chiave",
@@ -586,19 +587,53 @@
"start.choose": "Scegli…",
"start.chooseAFolder": "Scegli una cartella",
"start.chooseWhereProjectFolder": "Scegli dove mettere la cartella del progetto",
+ "start.couldNotOpenLink": "Impossibile aprire {0}: {1}",
"start.create": "Crea",
"start.creating": "Creazione…",
- "start.everythingHaveOpenedMachine": "Tutto ciò che hai aperto su questo computer.",
+ "start.discordNote": "Fai domande e condividi ciò che hai creato",
+ "start.documentation": "Documentazione",
+ "start.documentationNote": "Una guida a ogni pannello e strumento",
+ "start.dropHint": "Puoi anche rilasciare su questa finestra una cartella di progetto, o dei media per iniziare un nuovo progetto.",
+ "start.dropNothingToOpen": "Niente da aprire qui: rilascia una cartella di progetto, o file video, foto o audio.",
+ "start.dropToStart": "Rilascia per iniziare",
+ "start.dropToStartNote": "Una cartella di progetto si apre; i media avviano un nuovo progetto",
+ "start.droppedFiles": "I {0} file rilasciati finiranno in questo progetto quando verrà creato.",
+ "start.droppedOneFile": "Il file rilasciato finirà in questo progetto quando verrà creato.",
+ "start.firstEdit": "Il tuo primo montaggio",
+ "start.firstEditNote": "Da un nuovo progetto all'esportazione in cinque passaggi",
+ "start.folderMissing": "{0} non c'è più: forse l'unità è scollegata, oppure la cartella è stata spostata o eliminata.",
+ "start.folderNotFound": "Cartella non trovata",
+ "start.githubNote": "Il codice, le segnalazioni e ogni release",
+ "start.keyboardShortcuts": "Scorciatoie da tastiera",
+ "start.keyboardShortcutsNote": "Vedi ogni tasto e cambia quelli che vuoi",
+ "start.learnAndCommunity": "Impara e community",
"start.location": "Posizione",
"start.newProject": "Nuovo progetto",
+ "start.newProjectNote": "Scegli forma e frequenza fotogrammi",
+ "start.noMatches": "Nessun progetto corrisponde a «{0}».",
+ "start.noProjectsNote": "Tutto ciò che crei o apri compare qui. Nuovo al montaggio? La guida «Il tuo primo montaggio» porta da una timeline vuota a un video esportato in cinque passaggi.",
+ "start.noProjectsYet": "Ancora nessun progetto",
"start.notConcatProjectFolder": "{0} non è una cartella di progetto Concat",
"start.openAProject": "Apri un progetto",
- "start.openProject": "Open project",
+ "start.openProject": "Apri progetto",
+ "start.openProjectNote": "Una cartella di progetto da questo computer",
"start.projectFolderCreatedNow": "La cartella del progetto viene creata ora; il montaggio si salva lì automaticamente.",
- "start.projects": "Progetti",
+ "start.recentProjects": "Progetti recenti",
+ "start.removeFromList": "Rimuovi dall'elenco",
+ "start.reportProblem": "Segnala un problema",
+ "start.reportProblemNote": "Cosa inviare perché si possa correggere",
"start.safeMode": "L'ultima volta Concat si è chiuso durante l'avvio, quindi ora disegna via software: più lento, ma si apre. Per riprovare con la scheda grafica, attiva Disegna sulla GPU in Impostazioni > Generale.",
+ "start.searchProjects": "Cerca progetti",
"start.settingsApplyWholeEdit": "Queste impostazioni valgono per tutto il montaggio e non si possono cambiare in seguito.",
"start.shape": "Forma",
+ "start.showInFolder": "Mostra nella cartella",
+ "start.sortName": "Nome",
+ "start.sortRecent": "Recenti",
+ "start.welcome": "Ti diamo il benvenuto in Concat",
+ "start.welcomeBack": "Bentornato",
+ "start.welcomeBackNote": "Riprendi da dove avevi lasciato o inizia qualcosa di nuovo.",
+ "start.welcomeNote": "Un editor video gratuito che funziona interamente su questo computer.",
+ "start.whatsNew": "Novità della {0}",
"start.whereShouldProjectFolder": "Dove mettere la cartella del progetto?",
"studio.addAtPlayhead": "Aggiungi alla testina",
"studio.addSelectedToTimeline": "Aggiungi la selezione alla timeline",
diff --git a/src/crates/concat/locales/ja.json b/src/crates/concat/locales/ja.json
index b4b61e07..bcfb2d23 100644
--- a/src/crates/concat/locales/ja.json
+++ b/src/crates/concat/locales/ja.json
@@ -263,7 +263,9 @@
"export.timelineSize": "タイムライン",
"export.toneMapped": "トーンマッピング済み、どこでも再生可",
"format.almostDone": "まもなく完了",
+ "format.anHourAgo": "1 時間前",
"format.daysAgo": "{0} 日前",
+ "format.hoursAgo": "{0} 時間前",
"format.hoursMinutes": "{0} 時間 {1} 分",
"format.justNow": "今",
"format.minutes": "{0} 分",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} か月前",
"format.sLeft": "残り {0} 秒",
"format.seconds": "{0} 秒",
- "format.today": "今日",
"format.yesterday": "昨日",
"keyframesPane.addRemoveKeyPlayhead": "再生ヘッドにキーを追加または削除",
"keyframesPane.clearAllKeys": "すべてのキーを削除",
@@ -586,19 +587,53 @@
"start.choose": "選択…",
"start.chooseAFolder": "フォルダーを選択",
"start.chooseWhereProjectFolder": "プロジェクトフォルダーの保存先を選んでください",
+ "start.couldNotOpenLink": "{0} を開けませんでした : {1}",
"start.create": "作成",
"start.creating": "作成中…",
- "start.everythingHaveOpenedMachine": "このマシンで開いたすべてのもの。",
+ "start.discordNote": "質問したり、作ったものを共有したり",
+ "start.documentation": "ドキュメント",
+ "start.documentationNote": "すべてのパネルとツールのガイド",
+ "start.dropHint": "このウィンドウには、プロジェクトフォルダーや、新規プロジェクトを始めるためのメディアもドロップできます。",
+ "start.dropNothingToOpen": "開けるものがありません。プロジェクトフォルダー、またはビデオ・写真・オーディオファイルをドロップしてください。",
+ "start.dropToStart": "ドロップして開始",
+ "start.dropToStartNote": "プロジェクトフォルダーは開き、メディアは新規プロジェクトになります",
+ "start.droppedFiles": "ドロップした {0} 個のファイルは、プロジェクトの作成時に追加されます。",
+ "start.droppedOneFile": "ドロップしたファイルは、プロジェクトの作成時に追加されます。",
+ "start.firstEdit": "はじめての編集",
+ "start.firstEditNote": "新規プロジェクトから書き出しまで 5 ステップ",
+ "start.folderMissing": "{0} はもうありません。ドライブが外されたか、フォルダーが移動または削除された可能性があります。",
+ "start.folderNotFound": "フォルダーが見つかりません",
+ "start.githubNote": "コード、Issue、すべてのリリース",
+ "start.keyboardShortcuts": "キーボードショートカット",
+ "start.keyboardShortcutsNote": "すべてのキーを確認し、自由に変更できます",
+ "start.learnAndCommunity": "学習とコミュニティ",
"start.location": "場所",
"start.newProject": "新規プロジェクト",
+ "start.newProjectNote": "形とフレームレートを選択",
+ "start.noMatches": "「{0}」に一致するプロジェクトはありません。",
+ "start.noProjectsNote": "作成したり開いたりしたものはすべてここに表示されます。編集が初めてなら、ガイド「はじめての編集」で空のタイムラインから書き出したビデオまで 5 ステップで進められます。",
+ "start.noProjectsYet": "プロジェクトはまだありません",
"start.notConcatProjectFolder": "{0} は Concat のプロジェクトフォルダーではありません",
"start.openAProject": "プロジェクトを開く",
"start.openProject": "プロジェクトを開く",
+ "start.openProjectNote": "このマシン上のプロジェクトフォルダー",
"start.projectFolderCreatedNow": "プロジェクトフォルダーは今作成され、編集内容はそこに自動保存されます。",
- "start.projects": "プロジェクト",
+ "start.recentProjects": "最近のプロジェクト",
+ "start.removeFromList": "リストから削除",
+ "start.reportProblem": "問題を報告",
+ "start.reportProblemNote": "修正のために送ってほしい情報",
"start.safeMode": "前回 Concat が起動中に終了したため、現在はソフトウェアで描画しています。遅くなりますが、開くことはできます。グラフィックカードをもう一度試すには、設定 > 全般 で「GPU で描画」をオンにしてください。",
+ "start.searchProjects": "プロジェクトを検索",
"start.settingsApplyWholeEdit": "これらの設定は編集全体に適用され、後から変更できません。",
"start.shape": "形",
+ "start.showInFolder": "フォルダーで表示",
+ "start.sortName": "名前",
+ "start.sortRecent": "最近",
+ "start.welcome": "Concat へようこそ",
+ "start.welcomeBack": "おかえりなさい",
+ "start.welcomeBackNote": "前回の続きから、または新しく始めましょう。",
+ "start.welcomeNote": "このマシンだけで動く無料のビデオエディター。",
+ "start.whatsNew": "{0} の新機能",
"start.whereShouldProjectFolder": "プロジェクトフォルダーをどこに作成しますか?",
"studio.addAtPlayhead": "再生ヘッドに追加",
"studio.addSelectedToTimeline": "選択項目をタイムラインに追加",
diff --git a/src/crates/concat/locales/ko.json b/src/crates/concat/locales/ko.json
index 57e52905..77d74386 100644
--- a/src/crates/concat/locales/ko.json
+++ b/src/crates/concat/locales/ko.json
@@ -263,7 +263,9 @@
"export.timelineSize": "타임라인",
"export.toneMapped": "톤 매핑, 어디서나 재생",
"format.almostDone": "거의 완료",
+ "format.anHourAgo": "1시간 전",
"format.daysAgo": "{0}일 전",
+ "format.hoursAgo": "{0}시간 전",
"format.hoursMinutes": "{0}시간 {1}분",
"format.justNow": "방금",
"format.minutes": "{0}분",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0}개월 전",
"format.sLeft": "{0}초 남음",
"format.seconds": "{0}초",
- "format.today": "오늘",
"format.yesterday": "어제",
"keyframesPane.addRemoveKeyPlayhead": "재생 헤드에 키 추가 또는 제거",
"keyframesPane.clearAllKeys": "모든 키 지우기",
@@ -586,19 +587,53 @@
"start.choose": "선택…",
"start.chooseAFolder": "폴더 선택",
"start.chooseWhereProjectFolder": "프로젝트 폴더를 둘 위치를 선택하세요",
+ "start.couldNotOpenLink": "{0}을(를) 열 수 없습니다: {1}",
"start.create": "만들기",
"start.creating": "만드는 중…",
- "start.everythingHaveOpenedMachine": "이 컴퓨터에서 연 모든 프로젝트.",
+ "start.discordNote": "질문하고 만든 작품을 공유하세요",
+ "start.documentation": "문서",
+ "start.documentationNote": "모든 패널과 도구 안내",
+ "start.dropHint": "프로젝트 폴더나 새 프로젝트를 시작할 미디어를 이 창에 놓을 수도 있습니다.",
+ "start.dropNothingToOpen": "열 수 있는 항목이 없습니다. 프로젝트 폴더나 비디오, 사진, 오디오 파일을 놓으세요.",
+ "start.dropToStart": "놓아서 시작",
+ "start.dropToStartNote": "프로젝트 폴더는 열리고, 미디어는 새 프로젝트를 시작합니다",
+ "start.droppedFiles": "놓은 파일 {0}개는 프로젝트를 만들 때 추가됩니다.",
+ "start.droppedOneFile": "놓은 파일은 프로젝트를 만들 때 추가됩니다.",
+ "start.firstEdit": "첫 편집",
+ "start.firstEditNote": "새 프로젝트부터 내보내기까지 5단계",
+ "start.folderMissing": "{0}이(가) 더 이상 없습니다. 드라이브가 분리되었거나 폴더가 이동 또는 삭제되었을 수 있습니다.",
+ "start.folderNotFound": "폴더를 찾을 수 없음",
+ "start.githubNote": "코드, 이슈, 모든 릴리스",
+ "start.keyboardShortcuts": "키보드 단축키",
+ "start.keyboardShortcutsNote": "모든 키를 보고 원하는 대로 변경",
+ "start.learnAndCommunity": "학습 및 커뮤니티",
"start.location": "위치",
"start.newProject": "새 프로젝트",
+ "start.newProjectNote": "모양과 프레임 속도 선택",
+ "start.noMatches": "“{0}”와(과) 일치하는 프로젝트가 없습니다.",
+ "start.noProjectsNote": "만들거나 연 모든 것이 여기에 표시됩니다. 편집이 처음인가요? “첫 편집” 가이드가 빈 타임라인에서 내보낸 비디오까지 5단계로 안내합니다.",
+ "start.noProjectsYet": "아직 프로젝트가 없습니다",
"start.notConcatProjectFolder": "{0}은(는) Concat 프로젝트 폴더가 아닙니다",
"start.openAProject": "프로젝트 열기",
- "start.openProject": "Open project",
+ "start.openProject": "프로젝트 열기",
+ "start.openProjectNote": "이 컴퓨터의 프로젝트 폴더",
"start.projectFolderCreatedNow": "프로젝트 폴더가 지금 만들어지고, 편집 내용은 그 안에 자동 저장됩니다.",
- "start.projects": "프로젝트",
+ "start.recentProjects": "최근 프로젝트",
+ "start.removeFromList": "목록에서 제거",
+ "start.reportProblem": "문제 신고",
+ "start.reportProblemNote": "고칠 수 있도록 보내야 할 내용",
"start.safeMode": "지난번 시작 중에 Concat이 닫혀서 지금은 소프트웨어로 그리고 있습니다. 느리지만 열립니다. 그래픽 카드를 다시 시도하려면 설정 > 일반에서 GPU로 그리기를 켜세요.",
+ "start.searchProjects": "프로젝트 검색",
"start.settingsApplyWholeEdit": "이 설정은 편집 전체에 적용되며 나중에 바꿀 수 없습니다.",
"start.shape": "모양",
+ "start.showInFolder": "폴더에서 보기",
+ "start.sortName": "이름",
+ "start.sortRecent": "최근",
+ "start.welcome": "Concat에 오신 것을 환영합니다",
+ "start.welcomeBack": "다시 오신 것을 환영합니다",
+ "start.welcomeBackNote": "하던 작업을 이어서 하거나 새로 시작하세요.",
+ "start.welcomeNote": "이 컴퓨터에서만 실행되는 무료 비디오 편집기입니다.",
+ "start.whatsNew": "{0}의 새로운 기능",
"start.whereShouldProjectFolder": "프로젝트 폴더를 어디에 만들까요?",
"studio.addAtPlayhead": "재생 헤드에 추가",
"studio.addSelectedToTimeline": "선택 항목을 타임라인에 추가",
diff --git a/src/crates/concat/locales/nl.json b/src/crates/concat/locales/nl.json
index be08e28d..7b34210b 100644
--- a/src/crates/concat/locales/nl.json
+++ b/src/crates/concat/locales/nl.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Tijdlijn",
"export.toneMapped": "Omgezet naar SDR, speelt overal af",
"format.almostDone": "bijna klaar",
+ "format.anHourAgo": "een uur geleden",
"format.daysAgo": "{0} dagen geleden",
+ "format.hoursAgo": "{0} uur geleden",
"format.hoursMinutes": "{0} u {1} min",
"format.justNow": "zojuist",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} maanden geleden",
"format.sLeft": "nog {0} s",
"format.seconds": "{0} s",
- "format.today": "vandaag",
"format.yesterday": "gisteren",
"keyframesPane.addRemoveKeyPlayhead": "Sleutel bij de afspeelkop toevoegen of verwijderen",
"keyframesPane.clearAllKeys": "Alle sleutels wissen",
@@ -586,19 +587,53 @@
"start.choose": "Kiezen…",
"start.chooseAFolder": "Kies een map",
"start.chooseWhereProjectFolder": "Kies waar de projectmap moet komen",
+ "start.couldNotOpenLink": "Kan {0} niet openen: {1}",
"start.create": "Maken",
"start.creating": "Maken…",
- "start.everythingHaveOpenedMachine": "Alles wat je op deze computer hebt geopend.",
+ "start.discordNote": "Stel vragen en deel wat je hebt gemaakt",
+ "start.documentation": "Documentatie",
+ "start.documentationNote": "Een gids voor elk paneel en gereedschap",
+ "start.dropHint": "Je kunt ook een projectmap, of media om een nieuw project te beginnen, op dit venster neerzetten.",
+ "start.dropNothingToOpen": "Daar valt niets te openen: zet een projectmap neer, of video-, foto- of audiobestanden.",
+ "start.dropToStart": "Neerzetten om te beginnen",
+ "start.dropToStartNote": "Een projectmap wordt geopend; media starten een nieuw project",
+ "start.droppedFiles": "{0} neergezette bestanden gaan in dit project zodra het is gemaakt.",
+ "start.droppedOneFile": "Het neergezette bestand gaat in dit project zodra het is gemaakt.",
+ "start.firstEdit": "Je eerste montage",
+ "start.firstEditNote": "Van nieuw project naar export in vijf stappen",
+ "start.folderMissing": "{0} is er niet meer: de schijf is misschien losgekoppeld, of de map is verplaatst of verwijderd.",
+ "start.folderNotFound": "Map niet gevonden",
+ "start.githubNote": "De code, de issues en elke release",
+ "start.keyboardShortcuts": "Sneltoetsen",
+ "start.keyboardShortcutsNote": "Bekijk elke toets en wijzig wat je wilt",
+ "start.learnAndCommunity": "Leren en community",
"start.location": "Locatie",
"start.newProject": "Nieuw project",
+ "start.newProjectNote": "Kies een beeldverhouding en framesnelheid",
+ "start.noMatches": "Geen project komt overeen met ‘{0}’.",
+ "start.noProjectsNote": "Alles wat je maakt of opent verschijnt hier. Nieuw met monteren? De gids ‘Je eerste montage’ gaat in vijf stappen van een lege tijdlijn naar een geëxporteerde video.",
+ "start.noProjectsYet": "Nog geen projecten",
"start.notConcatProjectFolder": "{0} is geen Concat-projectmap",
"start.openAProject": "Een project openen",
"start.openProject": "Project openen",
+ "start.openProjectNote": "Een projectmap op deze computer",
"start.projectFolderCreatedNow": "De projectmap wordt nu gemaakt; de montage wordt er automatisch in opgeslagen.",
- "start.projects": "Projecten",
+ "start.recentProjects": "Recente projecten",
+ "start.removeFromList": "Uit lijst verwijderen",
+ "start.reportProblem": "Een probleem melden",
+ "start.reportProblemNote": "Wat je moet sturen zodat het opgelost kan worden",
"start.safeMode": "Concat sloot vorige keer tijdens het opstarten, dus het tekent nu in software: trager, maar het opent. Zet Tekenen op de GPU aan in Instellingen > Algemeen om de videokaart opnieuw te proberen.",
+ "start.searchProjects": "Projecten zoeken",
"start.settingsApplyWholeEdit": "Deze instellingen gelden voor de hele montage en kunnen later niet worden gewijzigd.",
"start.shape": "Beeldverhouding",
+ "start.showInFolder": "Tonen in map",
+ "start.sortName": "Naam",
+ "start.sortRecent": "Recent",
+ "start.welcome": "Welkom bij Concat",
+ "start.welcomeBack": "Welkom terug",
+ "start.welcomeBackNote": "Ga verder waar je gebleven was, of begin iets nieuws.",
+ "start.welcomeNote": "Een gratis video-editor die volledig op deze computer draait.",
+ "start.whatsNew": "Nieuw in {0}",
"start.whereShouldProjectFolder": "Waar moet de projectmap komen?",
"studio.addAtPlayhead": "Toevoegen bij afspeelkop",
"studio.addSelectedToTimeline": "Selectie aan tijdlijn toevoegen",
diff --git a/src/crates/concat/locales/pl.json b/src/crates/concat/locales/pl.json
index 2e1b0c89..93253971 100644
--- a/src/crates/concat/locales/pl.json
+++ b/src/crates/concat/locales/pl.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Oś czasu",
"export.toneMapped": "Zmapowane do SDR, odtwarza się wszędzie",
"format.almostDone": "prawie gotowe",
+ "format.anHourAgo": "godzinę temu",
"format.daysAgo": "{0} dni temu",
+ "format.hoursAgo": "{0} godz. temu",
"format.hoursMinutes": "{0} godz. {1} min",
"format.justNow": "przed chwilą",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} mies. temu",
"format.sLeft": "pozostało {0} s",
"format.seconds": "{0} s",
- "format.today": "dzisiaj",
"format.yesterday": "wczoraj",
"keyframesPane.addRemoveKeyPlayhead": "Dodaj lub usuń klucz na głowicy odtwarzania",
"keyframesPane.clearAllKeys": "Wyczyść wszystkie klucze",
@@ -586,19 +587,53 @@
"start.choose": "Wybierz…",
"start.chooseAFolder": "Wybierz folder",
"start.chooseWhereProjectFolder": "Wybierz, gdzie ma się znaleźć folder projektu",
+ "start.couldNotOpenLink": "Nie można otworzyć {0}: {1}",
"start.create": "Utwórz",
"start.creating": "Tworzenie…",
- "start.everythingHaveOpenedMachine": "Wszystko, co otwierano na tym komputerze.",
+ "start.discordNote": "Zadawaj pytania i pokazuj swoje prace",
+ "start.documentation": "Dokumentacja",
+ "start.documentationNote": "Przewodnik po każdym panelu i narzędziu",
+ "start.dropHint": "Na to okno można też upuścić folder projektu albo multimedia, aby rozpocząć nowy projekt.",
+ "start.dropNothingToOpen": "Nie ma tu nic do otwarcia: upuść folder projektu albo pliki wideo, zdjęć lub audio.",
+ "start.dropToStart": "Upuść, aby zacząć",
+ "start.dropToStartNote": "Folder projektu się otworzy; multimedia rozpoczną nowy projekt",
+ "start.droppedFiles": "Upuszczone pliki ({0}) trafią do tego projektu po jego utworzeniu.",
+ "start.droppedOneFile": "Upuszczony plik trafi do tego projektu po jego utworzeniu.",
+ "start.firstEdit": "Twój pierwszy montaż",
+ "start.firstEditNote": "Od nowego projektu do eksportu w pięciu krokach",
+ "start.folderMissing": "{0} już tam nie ma: dysk może być odłączony albo folder został przeniesiony lub usunięty.",
+ "start.folderNotFound": "Nie znaleziono folderu",
+ "start.githubNote": "Kod, zgłoszenia i każde wydanie",
+ "start.keyboardShortcuts": "Skróty klawiszowe",
+ "start.keyboardShortcutsNote": "Zobacz każdy klawisz i zmień dowolny z nich",
+ "start.learnAndCommunity": "Nauka i społeczność",
"start.location": "Lokalizacja",
"start.newProject": "Nowy projekt",
+ "start.newProjectNote": "Wybierz format i liczbę klatek na sekundę",
+ "start.noMatches": "Żaden projekt nie pasuje do „{0}”.",
+ "start.noProjectsNote": "Wszystko, co utworzysz lub otworzysz, pojawi się tutaj. Pierwszy raz montujesz? Przewodnik „Twój pierwszy montaż” w pięciu krokach prowadzi od pustej osi czasu do wyeksportowanego filmu.",
+ "start.noProjectsYet": "Brak projektów",
"start.notConcatProjectFolder": "{0} nie jest folderem projektu Concat",
"start.openAProject": "Otwórz projekt",
"start.openProject": "Otwórz projekt",
+ "start.openProjectNote": "Folder projektu z tego komputera",
"start.projectFolderCreatedNow": "Folder projektu zostanie utworzony teraz; montaż będzie w nim automatycznie zapisywany.",
- "start.projects": "Projekty",
+ "start.recentProjects": "Ostatnie projekty",
+ "start.removeFromList": "Usuń z listy",
+ "start.reportProblem": "Zgłoś problem",
+ "start.reportProblemNote": "Co wysłać, żeby dało się to naprawić",
"start.safeMode": "Concat zamknął się podczas ostatniego uruchamiania, więc teraz rysuje programowo: wolniej, ale się otwiera. Aby znów spróbować karty graficznej, włącz Rysuj na GPU w Ustawienia > Ogólne.",
+ "start.searchProjects": "Szukaj projektów",
"start.settingsApplyWholeEdit": "Te ustawienia dotyczą całego montażu i nie można ich później zmienić.",
"start.shape": "Format",
+ "start.showInFolder": "Pokaż w folderze",
+ "start.sortName": "Nazwa",
+ "start.sortRecent": "Ostatnie",
+ "start.welcome": "Witaj w Concat",
+ "start.welcomeBack": "Witaj ponownie",
+ "start.welcomeBackNote": "Wróć do przerwanej pracy albo zacznij coś nowego.",
+ "start.welcomeNote": "Darmowy edytor wideo, który działa w całości na tym komputerze.",
+ "start.whatsNew": "Nowości w {0}",
"start.whereShouldProjectFolder": "Gdzie ma się znaleźć folder projektu?",
"studio.addAtPlayhead": "Dodaj na głowicy",
"studio.addSelectedToTimeline": "Dodaj zaznaczone do osi czasu",
diff --git a/src/crates/concat/locales/pt-BR.json b/src/crates/concat/locales/pt-BR.json
index fcc2e579..6f1c7724 100644
--- a/src/crates/concat/locales/pt-BR.json
+++ b/src/crates/concat/locales/pt-BR.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Linha do tempo",
"export.toneMapped": "Convertido para SDR, toca em qualquer lugar",
"format.almostDone": "quase pronto",
+ "format.anHourAgo": "há uma hora",
"format.daysAgo": "há {0} dias",
+ "format.hoursAgo": "há {0} horas",
"format.hoursMinutes": "{0} h {1} min",
"format.justNow": "agora mesmo",
"format.minutes": "{0} min",
@@ -272,7 +274,6 @@
"format.monthsAgo": "há {0} meses",
"format.sLeft": "faltam {0} s",
"format.seconds": "{0} s",
- "format.today": "hoje",
"format.yesterday": "ontem",
"keyframesPane.addRemoveKeyPlayhead": "Adicionar ou remover um quadro-chave no cursor",
"keyframesPane.clearAllKeys": "Remover todos os quadros-chave",
@@ -586,19 +587,53 @@
"start.choose": "Escolher…",
"start.chooseAFolder": "Escolha uma pasta",
"start.chooseWhereProjectFolder": "Escolha onde a pasta do projeto deve ficar",
+ "start.couldNotOpenLink": "Não foi possível abrir {0}: {1}",
"start.create": "Criar",
"start.creating": "Criando…",
- "start.everythingHaveOpenedMachine": "Tudo que você abriu nesta máquina.",
+ "start.discordNote": "Tire dúvidas e compartilhe o que você fez",
+ "start.documentation": "Documentação",
+ "start.documentationNote": "Um guia de cada painel e ferramenta",
+ "start.dropHint": "Você também pode soltar nesta janela uma pasta de projeto, ou mídia para começar um novo projeto.",
+ "start.dropNothingToOpen": "Nada para abrir aí: solte uma pasta de projeto, ou arquivos de vídeo, foto ou áudio.",
+ "start.dropToStart": "Solte para começar",
+ "start.dropToStartNote": "Uma pasta de projeto é aberta; mídia inicia um novo projeto",
+ "start.droppedFiles": "Os {0} arquivos soltos vão para este projeto quando ele for criado.",
+ "start.droppedOneFile": "O arquivo solto vai para este projeto quando ele for criado.",
+ "start.firstEdit": "Sua primeira edição",
+ "start.firstEditNote": "De um projeto novo a uma exportação em cinco passos",
+ "start.folderMissing": "{0} não está mais lá: a unidade pode estar desconectada, ou a pasta foi movida ou excluída.",
+ "start.folderNotFound": "Pasta não encontrada",
+ "start.githubNote": "O código, os relatos de problemas e cada versão",
+ "start.keyboardShortcuts": "Atalhos de teclado",
+ "start.keyboardShortcutsNote": "Veja cada tecla e mude qualquer uma",
+ "start.learnAndCommunity": "Aprender e comunidade",
"start.location": "Local",
"start.newProject": "Novo projeto",
+ "start.newProjectNote": "Escolha a forma e a taxa de quadros",
+ "start.noMatches": "Nenhum projeto corresponde a “{0}”.",
+ "start.noProjectsNote": "Tudo que você cria ou abre aparece aqui. Novo em edição? O guia “Sua primeira edição” vai de uma linha do tempo vazia a um vídeo exportado em cinco passos.",
+ "start.noProjectsYet": "Nenhum projeto ainda",
"start.notConcatProjectFolder": "{0} não é uma pasta de projeto do Concat",
"start.openAProject": "Abrir um projeto",
"start.openProject": "Abrir projeto",
+ "start.openProjectNote": "Uma pasta de projeto desta máquina",
"start.projectFolderCreatedNow": "A pasta do projeto é criada agora; a edição é salva nela automaticamente.",
- "start.projects": "Projetos",
+ "start.recentProjects": "Projetos recentes",
+ "start.removeFromList": "Remover da lista",
+ "start.reportProblem": "Relatar um problema",
+ "start.reportProblemNote": "O que enviar para que possa ser corrigido",
"start.safeMode": "O Concat fechou durante a inicialização da última vez, então agora está desenhando por software: mais lento, mas abre. Para tentar a placa de vídeo de novo, ligue Desenhar na GPU em Configurações > Geral.",
+ "start.searchProjects": "Buscar projetos",
"start.settingsApplyWholeEdit": "Estas configurações valem para toda a edição e não podem ser alteradas depois.",
"start.shape": "Forma",
+ "start.showInFolder": "Mostrar na pasta",
+ "start.sortName": "Nome",
+ "start.sortRecent": "Recentes",
+ "start.welcome": "Boas-vindas ao Concat",
+ "start.welcomeBack": "Olá de novo",
+ "start.welcomeBackNote": "Continue de onde parou ou comece algo novo.",
+ "start.welcomeNote": "Um editor de vídeo gratuito que roda inteiramente nesta máquina.",
+ "start.whatsNew": "Novidades da {0}",
"start.whereShouldProjectFolder": "Onde a pasta do projeto deve ficar?",
"studio.addAtPlayhead": "Adicionar no cursor",
"studio.addSelectedToTimeline": "Adicionar seleção à linha do tempo",
diff --git a/src/crates/concat/locales/ru.json b/src/crates/concat/locales/ru.json
index a2300caf..6db5234e 100644
--- a/src/crates/concat/locales/ru.json
+++ b/src/crates/concat/locales/ru.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Таймлайн",
"export.toneMapped": "Приведено к SDR, играет везде",
"format.almostDone": "почти готово",
+ "format.anHourAgo": "час назад",
"format.daysAgo": "{0} дн. назад",
+ "format.hoursAgo": "{0} ч. назад",
"format.hoursMinutes": "{0} ч {1} мин",
"format.justNow": "только что",
"format.minutes": "{0} мин",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} мес. назад",
"format.sLeft": "осталось {0} с",
"format.seconds": "{0} с",
- "format.today": "сегодня",
"format.yesterday": "вчера",
"keyframesPane.addRemoveKeyPlayhead": "Добавить или убрать ключевой кадр под курсором",
"keyframesPane.clearAllKeys": "Убрать все ключевые кадры",
@@ -586,19 +587,53 @@
"start.choose": "Выбрать…",
"start.chooseAFolder": "Выберите папку",
"start.chooseWhereProjectFolder": "Выберите, где будет папка проекта",
+ "start.couldNotOpenLink": "Не удалось открыть {0}: {1}",
"start.create": "Создать",
"start.creating": "Создание…",
- "start.everythingHaveOpenedMachine": "Всё, что вы открывали на этом компьютере.",
+ "start.discordNote": "Задавайте вопросы и делитесь своими работами",
+ "start.documentation": "Документация",
+ "start.documentationNote": "Руководство по каждой панели и инструменту",
+ "start.dropHint": "Можно также перетащить в это окно папку проекта или медиафайлы, чтобы начать новый проект.",
+ "start.dropNothingToOpen": "Здесь нечего открыть: перетащите папку проекта или видео-, фото- либо аудиофайлы.",
+ "start.dropToStart": "Перетащите, чтобы начать",
+ "start.dropToStartNote": "Папка проекта откроется; медиафайлы начнут новый проект",
+ "start.droppedFiles": "Перетащенные файлы ({0}) попадут в этот проект после его создания.",
+ "start.droppedOneFile": "Перетащенный файл попадёт в этот проект после его создания.",
+ "start.firstEdit": "Ваш первый монтаж",
+ "start.firstEditNote": "От нового проекта до экспорта за пять шагов",
+ "start.folderMissing": "{0} больше нет: возможно, диск отключён, или папку переместили или удалили.",
+ "start.folderNotFound": "Папка не найдена",
+ "start.githubNote": "Код, задачи и все релизы",
+ "start.keyboardShortcuts": "Горячие клавиши",
+ "start.keyboardShortcutsNote": "Все клавиши, и любую можно изменить",
+ "start.learnAndCommunity": "Обучение и сообщество",
"start.location": "Расположение",
"start.newProject": "Новый проект",
+ "start.newProjectNote": "Выберите форму и частоту кадров",
+ "start.noMatches": "Нет проектов по запросу «{0}».",
+ "start.noProjectsNote": "Здесь появится всё, что вы создадите или откроете. Впервые монтируете? Руководство «Ваш первый монтаж» за пять шагов проведёт от пустого таймлайна до готового видео.",
+ "start.noProjectsYet": "Пока нет проектов",
"start.notConcatProjectFolder": "{0} — не папка проекта Concat",
"start.openAProject": "Открыть проект",
"start.openProject": "Открыть проект",
+ "start.openProjectNote": "Папка проекта с этого компьютера",
"start.projectFolderCreatedNow": "Папка проекта создаётся сейчас; монтаж автоматически сохраняется в неё.",
- "start.projects": "Проекты",
+ "start.recentProjects": "Недавние проекты",
+ "start.removeFromList": "Убрать из списка",
+ "start.reportProblem": "Сообщить о проблеме",
+ "start.reportProblemNote": "Что прислать, чтобы это исправили",
"start.safeMode": "В прошлый раз Concat закрылся при запуске, поэтому сейчас отрисовка идёт программно: медленнее, но программа открывается. Чтобы снова попробовать видеокарту, включите «Отрисовка на GPU» в Настройки > Общие.",
+ "start.searchProjects": "Поиск проектов",
"start.settingsApplyWholeEdit": "Эти настройки действуют на весь монтаж и потом не меняются.",
"start.shape": "Форма",
+ "start.showInFolder": "Показать в папке",
+ "start.sortName": "Имя",
+ "start.sortRecent": "Недавние",
+ "start.welcome": "Добро пожаловать в Concat",
+ "start.welcomeBack": "С возвращением",
+ "start.welcomeBackNote": "Продолжите с того места, где остановились, или начните что-то новое.",
+ "start.welcomeNote": "Бесплатный видеоредактор, который работает целиком на этом компьютере.",
+ "start.whatsNew": "Что нового в {0}",
"start.whereShouldProjectFolder": "Где разместить папку проекта?",
"studio.addAtPlayhead": "Добавить по курсору",
"studio.addSelectedToTimeline": "Добавить выбранное на таймлайн",
diff --git a/src/crates/concat/locales/th.json b/src/crates/concat/locales/th.json
index 8380ca24..81859f2f 100644
--- a/src/crates/concat/locales/th.json
+++ b/src/crates/concat/locales/th.json
@@ -263,7 +263,9 @@
"export.timelineSize": "ไทม์ไลน์",
"export.toneMapped": "แมปโทนแล้ว เล่นได้ทุกที่",
"format.almostDone": "ใกล้เสร็จแล้ว",
+ "format.anHourAgo": "1 ชั่วโมงที่แล้ว",
"format.daysAgo": "{0} วันที่แล้ว",
+ "format.hoursAgo": "{0} ชั่วโมงที่แล้ว",
"format.hoursMinutes": "{0} ชม. {1} นาที",
"format.justNow": "เมื่อสักครู่",
"format.minutes": "{0} นาที",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} เดือนที่แล้ว",
"format.sLeft": "เหลือ {0} วินาที",
"format.seconds": "{0} วินาที",
- "format.today": "วันนี้",
"format.yesterday": "เมื่อวาน",
"keyframesPane.addRemoveKeyPlayhead": "เพิ่มหรือลบคีย์เฟรมที่หัวเล่น",
"keyframesPane.clearAllKeys": "ล้างคีย์เฟรมทั้งหมด",
@@ -586,19 +587,53 @@
"start.choose": "เลือก…",
"start.chooseAFolder": "เลือกโฟลเดอร์",
"start.chooseWhereProjectFolder": "เลือกตำแหน่งของโฟลเดอร์โปรเจกต์",
+ "start.couldNotOpenLink": "เปิด {0} ไม่ได้: {1}",
"start.create": "สร้าง",
"start.creating": "กำลังสร้าง…",
- "start.everythingHaveOpenedMachine": "ทุกอย่างที่คุณเคยเปิดในเครื่องนี้",
+ "start.discordNote": "ถามคำถามและแชร์ผลงานของคุณ",
+ "start.documentation": "เอกสารประกอบ",
+ "start.documentationNote": "คู่มือสำหรับทุกแผงและเครื่องมือ",
+ "start.dropHint": "คุณยังวางโฟลเดอร์โปรเจกต์ หรือสื่อเพื่อเริ่มโปรเจกต์ใหม่ ลงบนหน้าต่างนี้ได้ด้วย",
+ "start.dropNothingToOpen": "ไม่มีอะไรให้เปิด: วางโฟลเดอร์โปรเจกต์ หรือไฟล์วิดีโอ รูปภาพ หรือเสียง",
+ "start.dropToStart": "วางเพื่อเริ่ม",
+ "start.dropToStartNote": "โฟลเดอร์โปรเจกต์จะเปิดขึ้น ส่วนสื่อจะเริ่มโปรเจกต์ใหม่",
+ "start.droppedFiles": "ไฟล์ที่วางไว้ {0} ไฟล์จะถูกเพิ่มในโปรเจกต์นี้เมื่อสร้างเสร็จ",
+ "start.droppedOneFile": "ไฟล์ที่วางไว้จะถูกเพิ่มในโปรเจกต์นี้เมื่อสร้างเสร็จ",
+ "start.firstEdit": "การตัดต่อครั้งแรกของคุณ",
+ "start.firstEditNote": "จากโปรเจกต์ใหม่ถึงการส่งออกใน 5 ขั้นตอน",
+ "start.folderMissing": "{0} ไม่อยู่ที่นั่นแล้ว: ไดรฟ์อาจถูกถอดออก หรือโฟลเดอร์ถูกย้ายหรือลบไปแล้ว",
+ "start.folderNotFound": "ไม่พบโฟลเดอร์",
+ "start.githubNote": "โค้ด ปัญหาที่รายงาน และทุกรุ่นที่เผยแพร่",
+ "start.keyboardShortcuts": "แป้นพิมพ์ลัด",
+ "start.keyboardShortcutsNote": "ดูทุกปุ่ม และเปลี่ยนปุ่มใดก็ได้",
+ "start.learnAndCommunity": "เรียนรู้และชุมชน",
"start.location": "ตำแหน่ง",
"start.newProject": "โปรเจกต์ใหม่",
+ "start.newProjectNote": "เลือกสัดส่วนภาพและอัตราเฟรม",
+ "start.noMatches": "ไม่มีโปรเจกต์ที่ตรงกับ “{0}”",
+ "start.noProjectsNote": "ทุกอย่างที่คุณสร้างหรือเปิดจะแสดงที่นี่ เพิ่งเริ่มตัดต่อใช่ไหม คู่มือ “การตัดต่อครั้งแรกของคุณ” จะพาจากไทม์ไลน์ว่างไปจนถึงวิดีโอที่ส่งออกแล้วใน 5 ขั้นตอน",
+ "start.noProjectsYet": "ยังไม่มีโปรเจกต์",
"start.notConcatProjectFolder": "{0} ไม่ใช่โฟลเดอร์โปรเจกต์ Concat",
"start.openAProject": "เปิดโปรเจกต์",
"start.openProject": "เปิดโปรเจกต์",
+ "start.openProjectNote": "โฟลเดอร์โปรเจกต์จากเครื่องนี้",
"start.projectFolderCreatedNow": "โฟลเดอร์โปรเจกต์จะถูกสร้างตอนนี้ และงานตัดต่อจะบันทึกอัตโนมัติลงในนั้น",
- "start.projects": "โปรเจกต์",
+ "start.recentProjects": "โปรเจกต์ล่าสุด",
+ "start.removeFromList": "นำออกจากรายการ",
+ "start.reportProblem": "รายงานปัญหา",
+ "start.reportProblemNote": "สิ่งที่ควรส่งเพื่อให้แก้ไขได้",
"start.safeMode": "ครั้งที่แล้ว Concat ปิดตัวระหว่างเริ่มทำงาน ตอนนี้จึงวาดด้วยซอฟต์แวร์ ช้ากว่า แต่เปิดได้ หากต้องการลองใช้การ์ดจออีกครั้ง ให้เปิด วาดด้วย GPU ใน การตั้งค่า > ทั่วไป",
+ "start.searchProjects": "ค้นหาโปรเจกต์",
"start.settingsApplyWholeEdit": "การตั้งค่าเหล่านี้ใช้กับงานตัดต่อทั้งหมดและเปลี่ยนภายหลังไม่ได้",
"start.shape": "สัดส่วนภาพ",
+ "start.showInFolder": "แสดงในโฟลเดอร์",
+ "start.sortName": "ชื่อ",
+ "start.sortRecent": "ล่าสุด",
+ "start.welcome": "ยินดีต้อนรับสู่ Concat",
+ "start.welcomeBack": "ยินดีต้อนรับกลับมา",
+ "start.welcomeBackNote": "ทำต่อจากที่ค้างไว้ หรือเริ่มงานใหม่",
+ "start.welcomeNote": "โปรแกรมตัดต่อวิดีโอฟรีที่ทำงานบนเครื่องนี้ทั้งหมด",
+ "start.whatsNew": "มีอะไรใหม่ใน {0}",
"start.whereShouldProjectFolder": "จะเก็บโฟลเดอร์โปรเจกต์ไว้ที่ไหน",
"studio.addAtPlayhead": "เพิ่มที่หัวเล่น",
"studio.addSelectedToTimeline": "เพิ่มรายการที่เลือกลงไทม์ไลน์",
diff --git a/src/crates/concat/locales/tr.json b/src/crates/concat/locales/tr.json
index a15e50e1..d3324712 100644
--- a/src/crates/concat/locales/tr.json
+++ b/src/crates/concat/locales/tr.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Zaman çizelgesi",
"export.toneMapped": "Ton eşlemeli, her yerde oynar",
"format.almostDone": "neredeyse bitti",
+ "format.anHourAgo": "bir saat önce",
"format.daysAgo": "{0} gün önce",
+ "format.hoursAgo": "{0} saat önce",
"format.hoursMinutes": "{0} sa {1} dk",
"format.justNow": "az önce",
"format.minutes": "{0} dk",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} ay önce",
"format.sLeft": "{0} sn kaldı",
"format.seconds": "{0} sn",
- "format.today": "bugün",
"format.yesterday": "dün",
"keyframesPane.addRemoveKeyPlayhead": "Oynatma kafasında anahtar kare ekle veya kaldır",
"keyframesPane.clearAllKeys": "Tüm anahtar kareleri kaldır",
@@ -586,19 +587,53 @@
"start.choose": "Seç…",
"start.chooseAFolder": "Bir klasör seçin",
"start.chooseWhereProjectFolder": "Proje klasörünün nereye gideceğini seçin",
+ "start.couldNotOpenLink": "{0} açılamadı: {1}",
"start.create": "Oluştur",
"start.creating": "Oluşturuluyor…",
- "start.everythingHaveOpenedMachine": "Bu makinede açtığınız her şey.",
+ "start.discordNote": "Soru sorun ve yaptıklarınızı paylaşın",
+ "start.documentation": "Belgeler",
+ "start.documentationNote": "Her panel ve araç için bir rehber",
+ "start.dropHint": "Bu pencereye bir proje klasörünü ya da yeni bir proje başlatmak için medyayı da bırakabilirsiniz.",
+ "start.dropNothingToOpen": "Orada açılacak bir şey yok: bir proje klasörü ya da video, fotoğraf veya ses dosyaları bırakın.",
+ "start.dropToStart": "Başlamak için bırakın",
+ "start.dropToStartNote": "Proje klasörü açılır; medya yeni bir proje başlatır",
+ "start.droppedFiles": "Bırakılan {0} dosya, proje oluşturulduğunda bu projeye eklenir.",
+ "start.droppedOneFile": "Bırakılan dosya, proje oluşturulduğunda bu projeye eklenir.",
+ "start.firstEdit": "İlk düzenlemeniz",
+ "start.firstEditNote": "Yeni projeden dışa aktarmaya beş adımda",
+ "start.folderMissing": "{0} artık orada değil: sürücüsü çıkarılmış olabilir ya da klasör taşınmış veya silinmiş.",
+ "start.folderNotFound": "Klasör bulunamadı",
+ "start.githubNote": "Kod, sorun kayıtları ve tüm sürümler",
+ "start.keyboardShortcuts": "Klavye kısayolları",
+ "start.keyboardShortcutsNote": "Tüm tuşları görün ve istediğinizi değiştirin",
+ "start.learnAndCommunity": "Öğrenme ve topluluk",
"start.location": "Konum",
"start.newProject": "Yeni proje",
+ "start.newProjectNote": "Bir biçim ve kare hızı seçin",
+ "start.noMatches": "“{0}” ile eşleşen proje yok.",
+ "start.noProjectsNote": "Oluşturduğunuz veya açtığınız her şey burada görünür. Düzenlemede yeni misiniz? “İlk düzenlemeniz” rehberi boş bir zaman çizelgesinden dışa aktarılmış bir videoya beş adımda götürür.",
+ "start.noProjectsYet": "Henüz proje yok",
"start.notConcatProjectFolder": "{0} bir Concat proje klasörü değil",
"start.openAProject": "Bir proje aç",
- "start.openProject": "Open project",
+ "start.openProject": "Proje aç",
+ "start.openProjectNote": "Bu makineden bir proje klasörü",
"start.projectFolderCreatedNow": "Proje klasörü şimdi oluşturulur; düzenleme oraya otomatik kaydedilir.",
- "start.projects": "Projeler",
+ "start.recentProjects": "Son projeler",
+ "start.removeFromList": "Listeden kaldır",
+ "start.reportProblem": "Sorun bildir",
+ "start.reportProblemNote": "Düzeltilebilmesi için ne gönderilmeli",
"start.safeMode": "Concat geçen sefer açılırken kapandı, bu yüzden şimdi yazılımla çiziyor: daha yavaş, ama açılıyor. Ekran kartını yeniden denemek için Ayarlar > Genel bölümünde GPU'da çiz seçeneğini açın.",
+ "start.searchProjects": "Projelerde ara",
"start.settingsApplyWholeEdit": "Bu ayarlar tüm düzenleme için geçerlidir ve sonradan değiştirilemez.",
"start.shape": "Biçim",
+ "start.showInFolder": "Klasörde göster",
+ "start.sortName": "Ad",
+ "start.sortRecent": "Son kullanılan",
+ "start.welcome": "Concat'e hoş geldiniz",
+ "start.welcomeBack": "Tekrar hoş geldiniz",
+ "start.welcomeBackNote": "Kaldığınız yerden devam edin ya da yeni bir şey başlatın.",
+ "start.welcomeNote": "Tamamen bu makinede çalışan ücretsiz bir video düzenleyici.",
+ "start.whatsNew": "{0} sürümündeki yenilikler",
"start.whereShouldProjectFolder": "Proje klasörü nereye gitsin?",
"studio.addAtPlayhead": "Playhead konumuna ekle",
"studio.addSelectedToTimeline": "Seçilenleri zaman çizelgesine ekle",
diff --git a/src/crates/concat/locales/uk.json b/src/crates/concat/locales/uk.json
index f2adda8e..a949ec1b 100644
--- a/src/crates/concat/locales/uk.json
+++ b/src/crates/concat/locales/uk.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Часова шкала",
"export.toneMapped": "Тонове відображення, відтворюється будь-де",
"format.almostDone": "майже готово",
+ "format.anHourAgo": "годину тому",
"format.daysAgo": "{0} дн. тому",
+ "format.hoursAgo": "{0} год тому",
"format.hoursMinutes": "{0} год {1} хв",
"format.justNow": "щойно",
"format.minutes": "{0} хв",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} міс. тому",
"format.sLeft": "залишилось {0} с",
"format.seconds": "{0} с",
- "format.today": "сьогодні",
"format.yesterday": "учора",
"keyframesPane.addRemoveKeyPlayhead": "Додати або видалити ключ на курсорі відтворення",
"keyframesPane.clearAllKeys": "Очистити всі ключі",
@@ -586,19 +587,53 @@
"start.choose": "Вибрати…",
"start.chooseAFolder": "Виберіть папку",
"start.chooseWhereProjectFolder": "Виберіть, де розмістити папку проєкту",
+ "start.couldNotOpenLink": "Не вдалося відкрити {0}: {1}",
"start.create": "Створити",
"start.creating": "Створення…",
- "start.everythingHaveOpenedMachine": "Усе, що ви відкривали на цьому комп’ютері.",
+ "start.discordNote": "Ставте запитання й діліться своїми роботами",
+ "start.documentation": "Документація",
+ "start.documentationNote": "Посібник з кожної панелі та інструмента",
+ "start.dropHint": "Також можна перетягнути в це вікно папку проєкту або медіа, щоб почати новий проєкт.",
+ "start.dropNothingToOpen": "Тут нічого відкрити: перетягніть папку проєкту або файли відео, фото чи аудіо.",
+ "start.dropToStart": "Перетягніть, щоб почати",
+ "start.dropToStartNote": "Папка проєкту відкриється; медіа почнуть новий проєкт",
+ "start.droppedFiles": "Перетягнуті файли ({0}) потраплять у цей проєкт після його створення.",
+ "start.droppedOneFile": "Перетягнутий файл потрапить у цей проєкт після його створення.",
+ "start.firstEdit": "Ваш перший монтаж",
+ "start.firstEditNote": "Від нового проєкту до експорту за п’ять кроків",
+ "start.folderMissing": "{0} більше немає: можливо, диск від’єднано, або папку переміщено чи видалено.",
+ "start.folderNotFound": "Папку не знайдено",
+ "start.githubNote": "Код, задачі та кожен реліз",
+ "start.keyboardShortcuts": "Гарячі клавіші",
+ "start.keyboardShortcutsNote": "Усі клавіші, і будь-яку можна змінити",
+ "start.learnAndCommunity": "Навчання та спільнота",
"start.location": "Розташування",
"start.newProject": "Новий проєкт",
+ "start.newProjectNote": "Виберіть формат і частоту кадрів",
+ "start.noMatches": "Немає проєктів за запитом «{0}».",
+ "start.noProjectsNote": "Тут з’явиться все, що ви створите або відкриєте. Вперше монтуєте? Посібник «Ваш перший монтаж» за п’ять кроків проведе від порожньої часової шкали до експортованого відео.",
+ "start.noProjectsYet": "Ще немає проєктів",
"start.notConcatProjectFolder": "{0} — не папка проєкту Concat",
"start.openAProject": "Відкрити проєкт",
"start.openProject": "Відкрити проєкт",
+ "start.openProjectNote": "Папка проєкту з цього комп’ютера",
"start.projectFolderCreatedNow": "Папку проєкту буде створено зараз; монтаж автоматично зберігається в неї.",
- "start.projects": "Проєкти",
+ "start.recentProjects": "Нещодавні проєкти",
+ "start.removeFromList": "Прибрати зі списку",
+ "start.reportProblem": "Повідомити про проблему",
+ "start.reportProblemNote": "Що надіслати, щоб це виправили",
"start.safeMode": "Минулого разу Concat закрився під час запуску, тож зараз малює програмно: повільніше, зате відкривається. Щоб знову спробувати відеокарту, увімкніть «Малювати на GPU» в Налаштування > Загальні.",
+ "start.searchProjects": "Пошук проєктів",
"start.settingsApplyWholeEdit": "Ці параметри застосовуються до всього монтажу, і змінити їх пізніше не можна.",
"start.shape": "Формат",
+ "start.showInFolder": "Показати в папці",
+ "start.sortName": "Назва",
+ "start.sortRecent": "Нещодавні",
+ "start.welcome": "Ласкаво просимо до Concat",
+ "start.welcomeBack": "З поверненням",
+ "start.welcomeBackNote": "Продовжте з того місця, де зупинилися, або почніть щось нове.",
+ "start.welcomeNote": "Безкоштовний відеоредактор, що працює повністю на цьому комп’ютері.",
+ "start.whatsNew": "Що нового в {0}",
"start.whereShouldProjectFolder": "Де розмістити папку проєкту?",
"studio.addAtPlayhead": "Додати на курсорі",
"studio.addSelectedToTimeline": "Додати вибране на часову шкалу",
diff --git a/src/crates/concat/locales/ur.json b/src/crates/concat/locales/ur.json
index d72286cd..4695cbcc 100644
--- a/src/crates/concat/locales/ur.json
+++ b/src/crates/concat/locales/ur.json
@@ -263,7 +263,9 @@
"export.timelineSize": "ٹائم لائن",
"export.toneMapped": "ٹون میپڈ، کہیں بھی چلتا ہے",
"format.almostDone": "تقریباً مکمل",
+ "format.anHourAgo": "ایک گھنٹہ پہلے",
"format.daysAgo": "{0} دن پہلے",
+ "format.hoursAgo": "{0} گھنٹے پہلے",
"format.hoursMinutes": "{0} گھنٹے {1} منٹ",
"format.justNow": "ابھی ابھی",
"format.minutes": "{0} منٹ",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} ماہ پہلے",
"format.sLeft": "{0} سیکنڈ باقی",
"format.seconds": "{0} سیکنڈ",
- "format.today": "آج",
"format.yesterday": "کل",
"keyframesPane.addRemoveKeyPlayhead": "پلے ہیڈ پر کی فریم شامل کریں یا ہٹائیں",
"keyframesPane.clearAllKeys": "تمام کی فریمز صاف کریں",
@@ -586,19 +587,53 @@
"start.choose": "چنیں…",
"start.chooseAFolder": "فولڈر چنیں",
"start.chooseWhereProjectFolder": "چنیں کہ پروجیکٹ فولڈر کہاں جائے",
+ "start.couldNotOpenLink": "{0} نہیں کھل سکا: {1}",
"start.create": "بنائیں",
"start.creating": "بنایا جا رہا ہے…",
- "start.everythingHaveOpenedMachine": "اس مشین پر آپ نے جو کچھ کھولا ہے۔",
+ "start.discordNote": "سوال پوچھیں اور اپنا کام شیئر کریں",
+ "start.documentation": "دستاویزات",
+ "start.documentationNote": "ہر پینل اور ٹول کی گائیڈ",
+ "start.dropHint": "آپ اس ونڈو پر پروجیکٹ فولڈر، یا نیا پروجیکٹ شروع کرنے کے لیے میڈیا بھی چھوڑ سکتے ہیں۔",
+ "start.dropNothingToOpen": "وہاں کھولنے کو کچھ نہیں: پروجیکٹ فولڈر، یا ویڈیو، تصویر یا آڈیو فائلیں چھوڑیں۔",
+ "start.dropToStart": "شروع کرنے کے لیے چھوڑیں",
+ "start.dropToStartNote": "پروجیکٹ فولڈر کھلتا ہے؛ میڈیا نیا پروجیکٹ شروع کرتا ہے",
+ "start.droppedFiles": "چھوڑی گئی {0} فائلیں پروجیکٹ بننے پر اس میں شامل ہو جائیں گی۔",
+ "start.droppedOneFile": "چھوڑی گئی فائل پروجیکٹ بننے پر اس میں شامل ہو جائے گی۔",
+ "start.firstEdit": "آپ کا پہلا ایڈٹ",
+ "start.firstEditNote": "نئے پروجیکٹ سے ایکسپورٹ تک پانچ مراحل میں",
+ "start.folderMissing": "{0} اب وہاں نہیں ہے: شاید اس کی ڈرائیو نکال دی گئی ہے، یا فولڈر منتقل یا حذف کر دیا گیا۔",
+ "start.folderNotFound": "فولڈر نہیں ملا",
+ "start.githubNote": "کوڈ، مسائل اور ہر ریلیز",
+ "start.keyboardShortcuts": "کی بورڈ شارٹ کٹس",
+ "start.keyboardShortcutsNote": "ہر کی دیکھیں، اور کوئی بھی بدلیں",
+ "start.learnAndCommunity": "سیکھنا اور کمیونٹی",
"start.location": "مقام",
"start.newProject": "نیا پروجیکٹ",
+ "start.newProjectNote": "شکل اور فریم ریٹ چنیں",
+ "start.noMatches": "«{0}» سے کوئی پروجیکٹ میل نہیں کھاتا۔",
+ "start.noProjectsNote": "آپ جو کچھ بنائیں یا کھولیں وہ یہاں دکھائی دیتا ہے۔ ایڈیٹنگ میں نئے ہیں؟ «آپ کا پہلا ایڈٹ» گائیڈ پانچ مراحل میں خالی ٹائم لائن سے ایکسپورٹ شدہ ویڈیو تک لے جاتی ہے۔",
+ "start.noProjectsYet": "ابھی کوئی پروجیکٹ نہیں",
"start.notConcatProjectFolder": "{0} Concat پروجیکٹ فولڈر نہیں ہے",
"start.openAProject": "پروجیکٹ کھولیں",
"start.openProject": "پروجیکٹ کھولیں",
+ "start.openProjectNote": "اس مشین سے ایک پروجیکٹ فولڈر",
"start.projectFolderCreatedNow": "پروجیکٹ فولڈر ابھی بنتا ہے؛ ایڈٹ خود بخود اسی میں محفوظ ہوتا ہے۔",
- "start.projects": "پروجیکٹس",
+ "start.recentProjects": "حالیہ پروجیکٹس",
+ "start.removeFromList": "فہرست سے ہٹائیں",
+ "start.reportProblem": "مسئلہ رپورٹ کریں",
+ "start.reportProblemNote": "کیا بھیجیں تاکہ اسے ٹھیک کیا جا سکے",
"start.safeMode": "پچھلی بار Concat شروع ہوتے وقت بند ہو گیا تھا، اس لیے اب سافٹ ویئر میں ڈرا کر رہا ہے: سست، مگر کھل جاتا ہے۔ گرافکس کارڈ دوبارہ آزمانے کے لیے ترتیبات > عمومی میں GPU پر ڈرا کریں آن کریں۔",
+ "start.searchProjects": "پروجیکٹس تلاش کریں",
"start.settingsApplyWholeEdit": "یہ ترتیبات پورے ایڈٹ پر لاگو ہوتی ہیں اور بعد میں بدلی نہیں جا سکتیں۔",
"start.shape": "شکل",
+ "start.showInFolder": "فولڈر میں دکھائیں",
+ "start.sortName": "نام",
+ "start.sortRecent": "حالیہ",
+ "start.welcome": "Concat میں خوش آمدید",
+ "start.welcomeBack": "دوبارہ خوش آمدید",
+ "start.welcomeBackNote": "جہاں چھوڑا تھا وہیں سے جاری رکھیں، یا کچھ نیا شروع کریں۔",
+ "start.welcomeNote": "ایک مفت ویڈیو ایڈیٹر جو مکمل طور پر اسی مشین پر چلتا ہے۔",
+ "start.whatsNew": "{0} میں نیا کیا ہے",
"start.whereShouldProjectFolder": "پروجیکٹ فولڈر کہاں ہونا چاہیے؟",
"studio.addAtPlayhead": "پلے ہیڈ پر شامل کریں",
"studio.addSelectedToTimeline": "منتخب کو ٹائم لائن میں شامل کریں",
diff --git a/src/crates/concat/locales/vi.json b/src/crates/concat/locales/vi.json
index 44665680..8d304982 100644
--- a/src/crates/concat/locales/vi.json
+++ b/src/crates/concat/locales/vi.json
@@ -263,7 +263,9 @@
"export.timelineSize": "Dòng thời gian",
"export.toneMapped": "Ánh xạ tông màu, phát được ở mọi nơi",
"format.almostDone": "sắp xong",
+ "format.anHourAgo": "một giờ trước",
"format.daysAgo": "{0} ngày trước",
+ "format.hoursAgo": "{0} giờ trước",
"format.hoursMinutes": "{0} giờ {1} phút",
"format.justNow": "vừa xong",
"format.minutes": "{0} phút",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} tháng trước",
"format.sLeft": "còn {0} giây",
"format.seconds": "{0} giây",
- "format.today": "hôm nay",
"format.yesterday": "hôm qua",
"keyframesPane.addRemoveKeyPlayhead": "Thêm hoặc xóa điểm khóa tại đầu phát",
"keyframesPane.clearAllKeys": "Xóa tất cả điểm khóa",
@@ -586,19 +587,53 @@
"start.choose": "Chọn…",
"start.chooseAFolder": "Chọn thư mục",
"start.chooseWhereProjectFolder": "Chọn nơi lưu thư mục dự án",
+ "start.couldNotOpenLink": "Không thể mở {0}: {1}",
"start.create": "Tạo",
"start.creating": "Đang tạo…",
- "start.everythingHaveOpenedMachine": "Tất cả dự án bạn đã mở trên máy này.",
+ "start.discordNote": "Đặt câu hỏi và chia sẻ thành quả của bạn",
+ "start.documentation": "Tài liệu",
+ "start.documentationNote": "Hướng dẫn cho mọi bảng và công cụ",
+ "start.dropHint": "Bạn cũng có thể thả thư mục dự án, hoặc phương tiện để bắt đầu dự án mới, vào cửa sổ này.",
+ "start.dropNothingToOpen": "Không có gì để mở ở đó: hãy thả thư mục dự án, hoặc tệp video, ảnh hay âm thanh.",
+ "start.dropToStart": "Thả để bắt đầu",
+ "start.dropToStartNote": "Thư mục dự án sẽ mở; phương tiện sẽ bắt đầu dự án mới",
+ "start.droppedFiles": "{0} tệp đã thả sẽ được đưa vào dự án này khi tạo xong.",
+ "start.droppedOneFile": "Tệp đã thả sẽ được đưa vào dự án này khi tạo xong.",
+ "start.firstEdit": "Lần chỉnh sửa đầu tiên",
+ "start.firstEditNote": "Từ dự án mới đến khi xuất trong năm bước",
+ "start.folderMissing": "{0} không còn ở đó: có thể ổ đĩa đã bị rút, hoặc thư mục đã bị di chuyển hay xóa.",
+ "start.folderNotFound": "Không tìm thấy thư mục",
+ "start.githubNote": "Mã nguồn, các issue và mọi bản phát hành",
+ "start.keyboardShortcuts": "Phím tắt",
+ "start.keyboardShortcutsNote": "Xem mọi phím và đổi bất kỳ phím nào",
+ "start.learnAndCommunity": "Học tập và cộng đồng",
"start.location": "Vị trí",
"start.newProject": "Dự án mới",
+ "start.newProjectNote": "Chọn tỷ lệ khung hình và tốc độ khung hình",
+ "start.noMatches": "Không có dự án nào khớp với “{0}”.",
+ "start.noProjectsNote": "Mọi thứ bạn tạo hoặc mở sẽ hiện ở đây. Mới làm quen với chỉnh sửa video? Hướng dẫn “Lần chỉnh sửa đầu tiên” đi từ dòng thời gian trống đến video đã xuất trong năm bước.",
+ "start.noProjectsYet": "Chưa có dự án nào",
"start.notConcatProjectFolder": "{0} không phải thư mục dự án Concat",
"start.openAProject": "Mở dự án",
"start.openProject": "Mở dự án",
+ "start.openProjectNote": "Thư mục dự án trên máy này",
"start.projectFolderCreatedNow": "Thư mục dự án đã được tạo; các chỉnh sửa sẽ tự động lưu vào đó.",
- "start.projects": "Dự án",
+ "start.recentProjects": "Dự án gần đây",
+ "start.removeFromList": "Xóa khỏi danh sách",
+ "start.reportProblem": "Báo cáo sự cố",
+ "start.reportProblemNote": "Cần gửi gì để có thể sửa",
"start.safeMode": "Lần trước Concat bị đóng khi đang khởi động, nên giờ đang vẽ bằng phần mềm: chậm hơn, nhưng vẫn mở được. Để thử lại card đồ họa, hãy bật Vẽ bằng GPU trong Cài đặt > Chung.",
+ "start.searchProjects": "Tìm dự án",
"start.settingsApplyWholeEdit": "Các cài đặt này áp dụng cho toàn bộ bản dựng và không thể thay đổi sau này.",
"start.shape": "Tỷ lệ khung hình",
+ "start.showInFolder": "Hiện trong thư mục",
+ "start.sortName": "Tên",
+ "start.sortRecent": "Gần đây",
+ "start.welcome": "Chào mừng bạn đến với Concat",
+ "start.welcomeBack": "Chào mừng bạn trở lại",
+ "start.welcomeBackNote": "Tiếp tục từ chỗ bạn dừng lại, hoặc bắt đầu điều gì đó mới.",
+ "start.welcomeNote": "Trình chỉnh sửa video miễn phí chạy hoàn toàn trên máy này.",
+ "start.whatsNew": "Có gì mới trong {0}",
"start.whereShouldProjectFolder": "Bạn muốn lưu thư mục dự án ở đâu?",
"studio.addAtPlayhead": "Thêm tại đầu phát",
"studio.addSelectedToTimeline": "Thêm mục đã chọn vào dòng thời gian",
diff --git a/src/crates/concat/locales/zh-Hans.json b/src/crates/concat/locales/zh-Hans.json
index e814f56e..2e088d09 100644
--- a/src/crates/concat/locales/zh-Hans.json
+++ b/src/crates/concat/locales/zh-Hans.json
@@ -263,7 +263,9 @@
"export.timelineSize": "时间线",
"export.toneMapped": "色调映射,随处可播",
"format.almostDone": "即将完成",
+ "format.anHourAgo": "1 小时前",
"format.daysAgo": "{0} 天前",
+ "format.hoursAgo": "{0} 小时前",
"format.hoursMinutes": "{0} 小时 {1} 分",
"format.justNow": "刚刚",
"format.minutes": "{0} 分钟",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} 个月前",
"format.sLeft": "剩余 {0} 秒",
"format.seconds": "{0} 秒",
- "format.today": "今天",
"format.yesterday": "昨天",
"keyframesPane.addRemoveKeyPlayhead": "在播放头处添加或移除关键帧",
"keyframesPane.clearAllKeys": "清除所有关键帧",
@@ -586,19 +587,53 @@
"start.choose": "选择…",
"start.chooseAFolder": "选择文件夹",
"start.chooseWhereProjectFolder": "选择项目文件夹的存放位置",
+ "start.couldNotOpenLink": "无法打开 {0}:{1}",
"start.create": "创建",
"start.creating": "正在创建…",
- "start.everythingHaveOpenedMachine": "你在这台电脑上打开过的所有内容。",
+ "start.discordNote": "提问并分享你的作品",
+ "start.documentation": "文档",
+ "start.documentationNote": "每个面板和工具的指南",
+ "start.dropHint": "也可以将项目文件夹,或用于新建项目的媒体,拖放到此窗口。",
+ "start.dropNothingToOpen": "没有可打开的内容:请拖放项目文件夹,或视频、照片、音频文件。",
+ "start.dropToStart": "拖放以开始",
+ "start.dropToStartNote": "项目文件夹会被打开;媒体会新建项目",
+ "start.droppedFiles": "拖放的 {0} 个文件将在项目创建时加入其中。",
+ "start.droppedOneFile": "拖放的文件将在项目创建时加入其中。",
+ "start.firstEdit": "你的第一次剪辑",
+ "start.firstEditNote": "五步从新项目到导出",
+ "start.folderMissing": "{0} 已不在原处:所在驱动器可能已拔出,或文件夹已被移动或删除。",
+ "start.folderNotFound": "找不到文件夹",
+ "start.githubNote": "代码、问题反馈和每个版本",
+ "start.keyboardShortcuts": "键盘快捷键",
+ "start.keyboardShortcutsNote": "查看每个按键,并可随意更改",
+ "start.learnAndCommunity": "学习与社区",
"start.location": "位置",
"start.newProject": "新建项目",
+ "start.newProjectNote": "选择形状和帧率",
+ "start.noMatches": "没有与“{0}”匹配的项目。",
+ "start.noProjectsNote": "你创建或打开的所有内容都会显示在这里。初次剪辑?“你的第一次剪辑”指南用五个步骤带你从空时间线到导出视频。",
+ "start.noProjectsYet": "还没有项目",
"start.notConcatProjectFolder": "{0} 不是 Concat 项目文件夹",
"start.openAProject": "打开项目",
"start.openProject": "打开项目",
+ "start.openProjectNote": "这台电脑上的项目文件夹",
"start.projectFolderCreatedNow": "项目文件夹现已创建,剪辑会自动保存到其中。",
- "start.projects": "项目",
+ "start.recentProjects": "最近的项目",
+ "start.removeFromList": "从列表中移除",
+ "start.reportProblem": "报告问题",
+ "start.reportProblemNote": "需要发送什么才能修复",
"start.safeMode": "Concat 上次在启动时关闭,因此现在改用软件绘制:较慢,但能打开。要再次尝试使用显卡,请在“设置 > 通用”中打开“使用 GPU 绘制”。",
+ "start.searchProjects": "搜索项目",
"start.settingsApplyWholeEdit": "这些设置作用于整个剪辑,之后无法更改。",
"start.shape": "形状",
+ "start.showInFolder": "在文件夹中显示",
+ "start.sortName": "名称",
+ "start.sortRecent": "最近",
+ "start.welcome": "欢迎使用 Concat",
+ "start.welcomeBack": "欢迎回来",
+ "start.welcomeBackNote": "从上次中断的地方继续,或开始新的创作。",
+ "start.welcomeNote": "一款完全在这台电脑上运行的免费视频编辑器。",
+ "start.whatsNew": "{0} 的新功能",
"start.whereShouldProjectFolder": "项目文件夹要放在哪里?",
"studio.addAtPlayhead": "在播放头处添加",
"studio.addSelectedToTimeline": "将所选项添加到时间线",
diff --git a/src/crates/concat/locales/zh-TW.json b/src/crates/concat/locales/zh-TW.json
index 2162fed1..bad458fb 100644
--- a/src/crates/concat/locales/zh-TW.json
+++ b/src/crates/concat/locales/zh-TW.json
@@ -263,7 +263,9 @@
"export.timelineSize": "時間軸",
"export.toneMapped": "色調映射,到處可播",
"format.almostDone": "即將完成",
+ "format.anHourAgo": "1 小時前",
"format.daysAgo": "{0} 天前",
+ "format.hoursAgo": "{0} 小時前",
"format.hoursMinutes": "{0} 小時 {1} 分",
"format.justNow": "剛剛",
"format.minutes": "{0} 分鐘",
@@ -272,7 +274,6 @@
"format.monthsAgo": "{0} 個月前",
"format.sLeft": "剩餘 {0} 秒",
"format.seconds": "{0} 秒",
- "format.today": "今天",
"format.yesterday": "昨天",
"keyframesPane.addRemoveKeyPlayhead": "在播放磁頭處加入或移除關鍵影格",
"keyframesPane.clearAllKeys": "清除所有關鍵影格",
@@ -586,19 +587,53 @@
"start.choose": "選擇…",
"start.chooseAFolder": "選擇資料夾",
"start.chooseWhereProjectFolder": "選擇專案資料夾的存放位置",
+ "start.couldNotOpenLink": "無法打開 {0}:{1}",
"start.create": "建立",
"start.creating": "正在建立…",
- "start.everythingHaveOpenedMachine": "你在這台電腦上打開過的所有內容。",
+ "start.discordNote": "提問並分享你的作品",
+ "start.documentation": "說明文件",
+ "start.documentationNote": "每個面板和工具的指南",
+ "start.dropHint": "也可以將專案資料夾,或用於新增專案的媒體,拖放到此視窗。",
+ "start.dropNothingToOpen": "沒有可打開的內容:請拖放專案資料夾,或影片、照片、音訊檔案。",
+ "start.dropToStart": "拖放以開始",
+ "start.dropToStartNote": "專案資料夾會被打開;媒體會新增專案",
+ "start.droppedFiles": "拖放的 {0} 個檔案會在專案建立時加入其中。",
+ "start.droppedOneFile": "拖放的檔案會在專案建立時加入其中。",
+ "start.firstEdit": "你的第一次剪輯",
+ "start.firstEditNote": "五步從新專案到匯出",
+ "start.folderMissing": "{0} 已不在原處:所在磁碟機可能已拔除,或資料夾已被移動或刪除。",
+ "start.folderNotFound": "找不到資料夾",
+ "start.githubNote": "程式碼、問題回報和每個版本",
+ "start.keyboardShortcuts": "鍵盤快速鍵",
+ "start.keyboardShortcutsNote": "查看每個按鍵,並可隨意變更",
+ "start.learnAndCommunity": "學習與社群",
"start.location": "位置",
"start.newProject": "新增專案",
+ "start.newProjectNote": "選擇形狀和影格率",
+ "start.noMatches": "沒有與「{0}」相符的專案。",
+ "start.noProjectsNote": "你建立或打開的所有內容都會顯示在這裡。第一次剪輯?「你的第一次剪輯」指南用五個步驟帶你從空白時間軸到匯出影片。",
+ "start.noProjectsYet": "還沒有專案",
"start.notConcatProjectFolder": "{0} 不是 Concat 專案資料夾",
"start.openAProject": "打開專案",
"start.openProject": "打開專案",
+ "start.openProjectNote": "這台電腦上的專案資料夾",
"start.projectFolderCreatedNow": "專案資料夾現已建立,剪輯會自動儲存到其中。",
- "start.projects": "專案",
+ "start.recentProjects": "最近的專案",
+ "start.removeFromList": "從清單中移除",
+ "start.reportProblem": "回報問題",
+ "start.reportProblemNote": "需要傳送什麼才能修正",
"start.safeMode": "Concat 上次在啟動時關閉,因此現在改用軟體繪製:較慢,但能開啟。若要再次嘗試使用顯示卡,請在「設定 > 一般」中開啟「使用 GPU 繪製」。",
+ "start.searchProjects": "搜尋專案",
"start.settingsApplyWholeEdit": "這些設定作用於整個剪輯,之後無法更改。",
"start.shape": "形狀",
+ "start.showInFolder": "在資料夾中顯示",
+ "start.sortName": "名稱",
+ "start.sortRecent": "最近",
+ "start.welcome": "歡迎使用 Concat",
+ "start.welcomeBack": "歡迎回來",
+ "start.welcomeBackNote": "從上次中斷的地方繼續,或開始新的創作。",
+ "start.welcomeNote": "一款完全在這台電腦上執行的免費影片編輯器。",
+ "start.whatsNew": "{0} 的新功能",
"start.whereShouldProjectFolder": "專案資料夾要放在哪裡?",
"studio.addAtPlayhead": "在播放磁頭處加入",
"studio.addSelectedToTimeline": "將所選內容加入時間軸",
diff --git a/src/crates/concat/src/format.rs b/src/crates/concat/src/format.rs
index c3428b71..939c985a 100644
--- a/src/crates/concat/src/format.rs
+++ b/src/crates/concat/src/format.rs
@@ -154,6 +154,32 @@ pub fn span(seconds: f64) -> String {
}
}
+/// A running time the way a video player's corner says it: "0:06",
+/// "12:30", "1:02:03". Whole seconds, rounded down, so a 5.9 second edit
+/// does not claim a sixth.
+pub fn running_time(seconds: f64) -> String {
+ let whole = if seconds.is_finite() {
+ seconds.max(0.0) as u64
+ } else {
+ 0
+ };
+ let (hours, minutes, seconds) = (whole / 3600, whole / 60 % 60, whole % 60);
+ if hours > 0 {
+ format!("{hours}:{minutes:02}:{seconds:02}")
+ } else {
+ format!("{minutes}:{seconds:02}")
+ }
+}
+
+/// A frame rate as a person says it: "30 fps", "29.97 fps", "23.976 fps".
+/// The exact fraction is the project's; this is its name.
+pub fn rate_label(num: i64, den: i64) -> String {
+ let fps = num as f64 / den.max(1) as f64;
+ let text = format!("{fps:.3}");
+ let text = text.trim_end_matches('0').trim_end_matches('.');
+ format!("{text} fps")
+}
+
pub fn hex_of(colour: slint::Color) -> String {
format!(
"#{:02x}{:02x}{:02x}",
@@ -299,8 +325,10 @@ pub fn when_phrase(opened_at_millis: u64) -> String {
t("format.justNow")
} else if hours < 1 {
tf("format.minutesAgo", &[&minutes])
+ } else if hours < 2 {
+ t("format.anHourAgo")
} else if days < 1 {
- t("format.today")
+ tf("format.hoursAgo", &[&hours])
} else if days == 1 {
t("format.yesterday")
} else if days < 30 {
@@ -545,6 +573,18 @@ mod tests {
assert_eq!(when_phrase(now - 3 * 86_400_000), "3 days ago");
}
+ #[test]
+ fn a_running_time_reads_as_a_player_says_it() {
+ assert_eq!(running_time(0.0), "0:00");
+ assert_eq!(running_time(5.9), "0:05");
+ assert_eq!(running_time(754.0), "12:34");
+ assert_eq!(running_time(3725.0), "1:02:05");
+ assert_eq!(running_time(f64::NAN), "0:00");
+ assert_eq!(rate_label(30, 1), "30 fps");
+ assert_eq!(rate_label(30000, 1001), "29.97 fps");
+ assert_eq!(rate_label(24000, 1001), "23.976 fps");
+ }
+
#[test]
fn an_estimate_is_said_in_the_unit_that_fits_it() {
let _english = crate::i18n::language_lock();
diff --git a/src/crates/concat/src/ios.rs b/src/crates/concat/src/ios.rs
index f6b9e50d..f75f6187 100644
--- a/src/crates/concat/src/ios.rs
+++ b/src/crates/concat/src/ios.rs
@@ -632,3 +632,29 @@ fn save_to_photos(path: &Path) -> Result<String, String> {
.map(|()| path.to_string_lossy().into_owned())
.map_err(|error| error.localizedDescription().to_string())
}
+
+/// Opens a web address in Safari, or in whichever app claims it: the
+/// launch screen's guides and the repository. From the main thread, where
+/// the window's callbacks run.
+pub fn open_link(url: &str) -> Result<(), String> {
+ let text = NSString::from_str(url);
+ // SAFETY: NSURL's class constructor, and UIApplication's shared
+ // instance and `openURL:options:completionHandler:` on the main
+ // thread; the options are an empty dictionary and the handler nil,
+ // both of which the method takes.
+ unsafe {
+ let link: Option<Retained<NSURL>> = msg_send![class!(NSURL), URLWithString: &*text];
+ let link = link.ok_or_else(|| format!("{url} is not a web address"))?;
+ let app: Option<Retained<AnyObject>> = msg_send![class!(UIApplication), sharedApplication];
+ let app = app.ok_or("no UIApplication")?;
+ let options: Retained<AnyObject> = msg_send![class!(NSDictionary), dictionary];
+ let handler: Option<&Block<dyn Fn(objc2::runtime::Bool)>> = None;
+ let _: () = msg_send![
+ &app,
+ openURL: &*link,
+ options: &*options,
+ completionHandler: handler
+ ];
+ }
+ Ok(())
+}
diff --git a/src/crates/concat/src/lib.rs b/src/crates/concat/src/lib.rs
index e89c217d..921e7143 100644
--- a/src/crates/concat/src/lib.rs
+++ b/src/crates/concat/src/lib.rs
@@ -54,6 +54,8 @@ mod platform;
pub use platform::{
ExportPublisher, FilePicker, PickKinds, install_export_publisher, install_file_picker,
};
+#[cfg(target_os = "android")]
+pub use platform::{LinkOpener, install_link_opener};
#[cfg(any(target_os = "android", target_os = "ios"))]
pub use platform::{MicrophoneAccess, install_microphone_access};
mod panes;
@@ -230,7 +232,12 @@ fn start(project: Option<std::path::PathBuf>, smoke: bool) -> Result<(), slint::
&& paths
.iter()
.all(|path| concat_host::sounds::is_sound(path));
- if to_library {
+ if studio.on_start {
+ // On the launch screen there is no project to
+ // import into: a dropped project opens, and media
+ // starts one.
+ studio.handle(Msg::Start(StartMsg::Dropped(paths)));
+ } else if to_library {
studio.handle(Msg::Sounds(SoundsMsg::Import(paths)));
} else {
studio.handle(Msg::Media(MediaMsg::Import(paths)));
@@ -263,6 +270,10 @@ fn start(project: Option<std::path::PathBuf>, smoke: bool) -> Result<(), slint::
// the playhead at their middle; the strip and the dock are the desk's.
let phone = platform::phone();
app.set_phone(phone);
+ // The launch screen's version line, and whether its drop zone is
+ // offered: a drag in from the system is a desk's (see platform.rs).
+ app.set_app_version(env!("CARGO_PKG_VERSION").into());
+ app.set_can_drop(cfg!(not(any(target_os = "android", target_os = "ios"))));
// The user's own packages - imported looks, and any effect folder they
// or the community wrote - sit beside the built-ins from the first
@@ -654,6 +665,18 @@ fn start(project: Option<std::path::PathBuf>, smoke: bool) -> Result<(), slint::
app.on_start_forget_recent(on_window!(|state, path: SharedString| {
state.handle(Msg::Start(StartMsg::ForgetRecent(path.to_string())));
}));
+ app.on_start_reveal_recent(on_window!(|state, path: SharedString| {
+ state.handle(Msg::Start(StartMsg::RevealRecent(path.to_string())));
+ }));
+ app.on_start_search_edited(on_window!(|state, query: SharedString| {
+ state.handle(Msg::Start(StartMsg::SearchEdited(query.to_string())));
+ }));
+ app.on_start_sort_changed(on_window!(|state, sort: i32| {
+ state.handle(Msg::Start(StartMsg::Sort(sort)));
+ }));
+ app.on_start_link(on_window!(|state, name: SharedString| {
+ state.handle(Msg::Start(StartMsg::Link(name.to_string())));
+ }));
// ── the workspace's arrangement ──
editor.on_workspace_resized(on_dock!(|state, width: f32, height: f32| {
diff --git a/src/crates/concat/src/panes/settings.rs b/src/crates/concat/src/panes/settings.rs
index e9dd57e1..0bee5f8f 100644
--- a/src/crates/concat/src/panes/settings.rs
+++ b/src/crates/concat/src/panes/settings.rs
@@ -113,6 +113,9 @@ pub enum SettingsMsg {
/// The Version page's index in the column of pages.
const VERSION_PAGE: i32 = 6;
+/// The Shortcuts page's index, which the launch screen's Keyboard
+/// shortcuts card opens the sheet on.
+pub const SHORTCUTS_PAGE: i32 = 7;
/// One downloadable model, as the settings sheet shows it.
#[derive(Clone, Debug)]
diff --git a/src/crates/concat/src/panes/start.rs b/src/crates/concat/src/panes/start.rs
index 000c36c6..8839573c 100644
--- a/src/crates/concat/src/panes/start.rs
+++ b/src/crates/concat/src/panes/start.rs
@@ -46,6 +46,73 @@ pub enum StartMsg {
OpenChosen(PathBuf),
OpenRecent(String),
ForgetRecent(String),
+ /// Show a project's folder in the file manager.
+ RevealRecent(String),
+ /// What the projects' search field holds now.
+ SearchEdited(String),
+ /// How the projects are ordered: [`SORT_RECENT`] or [`SORT_NAME`].
+ Sort(i32),
+ /// One of the learn-and-community cards, or the version line, by the
+ /// name [`link`] knows it by.
+ Link(String),
+ /// Files or folders dropped on the launch screen: a project folder
+ /// opens, and anything else starts a new project to go into.
+ Dropped(Vec<PathBuf>),
+}
+
+/// The projects in the order they were last opened, newest first.
+pub const SORT_RECENT: i32 = 0;
+/// The projects by name, A to Z.
+pub const SORT_NAME: i32 = 1;
+
+/// The recents the grid shows: those whose name or folder holds every
+/// word of the query, ignoring case, newest first or by name. A missing
+/// folder is found and sorted like any other.
+pub fn shown<'a>(
+ recents: &'a [projects::Recent],
+ query: &str,
+ sort: i32,
+) -> Vec<&'a projects::Recent> {
+ let words: Vec<String> = query.split_whitespace().map(str::to_lowercase).collect();
+ let mut shown: Vec<&projects::Recent> = recents
+ .iter()
+ .filter(|recent| {
+ let name = recent.info.name.to_lowercase();
+ let path = recent.info.path.to_lowercase();
+ words
+ .iter()
+ .all(|word| name.contains(word.as_str()) || path.contains(word.as_str()))
+ })
+ .collect();
+ if sort == SORT_NAME {
+ shown.sort_by_cached_key(|recent| recent.info.name.to_lowercase());
+ }
+ shown
+}
+
+/// The official site, which the guides and the developer docs are pages of.
+const SITE: &str = "https://concat.standalones.org";
+/// The repository: the code, the issues, the releases.
+pub const REPOSITORY: &str = "https://github.com/jub0t/Concat";
+
+/// Where each of the launch screen's links goes, by the name the screen
+/// sends. One table, so a moved page is one line here. Every address is a
+/// page of the website's own content - src/content/guides in its
+/// repository - or the repository's, and None for a name nobody sends.
+/// "shortcuts" is not here: it opens Settings, not a page.
+pub fn link(name: &str) -> Option<String> {
+ Some(match name {
+ "guides" => format!("{SITE}/guides/"),
+ "first-edit" => format!("{SITE}/guides/first-edit/"),
+ "report" => format!("{SITE}/guides/report-a-problem/"),
+ "github" => REPOSITORY.to_owned(),
+ // The invite the README carries.
+ "discord" => "https://discord.gg/DVuPfpXfqP".to_owned(),
+ // The notes for the release this build is, under the tag the
+ // release workflow pushes.
+ "release-notes" => format!("{REPOSITORY}/releases/tag/v{}", env!("CARGO_PKG_VERSION")),
+ _ => return None,
+ })
}
/// The sheet on the launch screen.
@@ -69,6 +136,14 @@ pub struct StartPane {
pub custom_rate: (i64, i64),
pub busy: bool,
pub error: String,
+ /// The projects' search, as typed; empty shows them all.
+ pub query: String,
+ /// [`SORT_RECENT`] or [`SORT_NAME`].
+ pub sort: i32,
+ /// Media dropped on the launch screen, waiting for the project the
+ /// sheet is about to make: imported into it once it opens, and let go
+ /// if the sheet is put down instead.
+ pub dropped: Vec<PathBuf>,
}
impl Default for StartPane {
@@ -86,6 +161,9 @@ impl Default for StartPane {
custom_rate: (30, 1),
busy: false,
error: String::new(),
+ query: String::new(),
+ sort: SORT_RECENT,
+ dropped: Vec::new(),
}
}
}
@@ -168,8 +246,10 @@ impl StartPane {
StartMsg::Dismiss => {
self.composing = false;
// The notice belongs to the attempt it reported on, not to
- // the next time the sheet comes up.
+ // the next time the sheet comes up; and so do the files
+ // dropped to start it.
self.error.clear();
+ self.dropped.clear();
}
StartMsg::NameEdited(name) => self.name = name,
StartMsg::LocationEdited(path) => self.location = path,
@@ -220,6 +300,13 @@ impl StartPane {
// does: the sheet is down while a card is pressed, and a notice
// inside it would go unseen.
StartMsg::OpenRecent(path) => {
+ // A folder that has gone says so in words, not as the
+ // manifest file it could not read.
+ if !projects::is_project(Path::new(&path)) {
+ studio.notify(&tf("start.folderMissing", &[&path]), true);
+ studio.recents = projects::recents(&studio.host.dirs.config);
+ return;
+ }
if let Err(error) = projects::open(&path).and_then(|info| studio.open_project(info))
{
studio.notify(&error, true);
@@ -229,8 +316,69 @@ impl StartPane {
if let Err(error) = projects::forget(&studio.host.dirs.config, &path) {
studio.notify(&error, true);
}
- studio.recents = projects::list(&studio.host.dirs.config);
+ studio.recents = projects::recents(&studio.host.dirs.config);
+ }
+ StartMsg::RevealRecent(path) => {
+ if let Err(error) = platform::reveal(&path) {
+ studio.notify(&error, true);
+ }
+ }
+ StartMsg::SearchEdited(query) => self.query = query,
+ StartMsg::Sort(sort) => {
+ self.sort = if sort == SORT_NAME {
+ SORT_NAME
+ } else {
+ SORT_RECENT
+ };
}
+ StartMsg::Link(name) => {
+ if name == "shortcuts" {
+ use crate::panes::settings::{SHORTCUTS_PAGE, SettingsMsg};
+ studio.handle(crate::panes::Msg::Settings(SettingsMsg::Open));
+ studio.handle(crate::panes::Msg::Settings(SettingsMsg::PageChanged(
+ SHORTCUTS_PAGE,
+ )));
+ return;
+ }
+ let Some(url) = link(&name) else {
+ log::warn!("start: no link is called {name:?}");
+ return;
+ };
+ if let Err(error) = platform::open_link(&url) {
+ studio.notify(&tf("start.couldNotOpenLink", &[&url, &error]), true);
+ }
+ }
+ StartMsg::Dropped(paths) => self.dropped_on(paths, studio),
+ }
+ }
+
+ /// Files or folders dropped on the launch screen. A project folder
+ /// among them opens, the first if there are several, as Open would;
+ /// anything else is media, and puts up the new-project sheet with the
+ /// files waiting to go into the project it makes.
+ fn dropped_on(&mut self, paths: Vec<PathBuf>, studio: &mut Studio) {
+ if self.busy {
+ return;
+ }
+ if let Some(folder) = paths.iter().find(|path| projects::is_project(path)) {
+ self.dropped.clear();
+ self.composing = false;
+ Self::open_chosen(folder, studio);
+ return;
+ }
+ let media: Vec<PathBuf> = paths.into_iter().filter(|path| path.is_file()).collect();
+ if media.is_empty() {
+ studio.notify(&t("start.dropNothingToOpen"), true);
+ return;
+ }
+ // A second drop while the sheet is up adds to the first.
+ for path in media {
+ if !self.dropped.contains(&path) {
+ self.dropped.push(path);
+ }
+ }
+ if !self.composing {
+ self.update(StartMsg::Compose, studio);
}
}
@@ -259,6 +407,14 @@ impl StartPane {
studio.prefs.save(&studio.host.dirs);
self.composing = false;
self.error.clear();
+ // What was dropped to start it goes in, the way an import
+ // does: probed on a worker, with its own notice.
+ let dropped = std::mem::take(&mut self.dropped);
+ if !dropped.is_empty() {
+ studio.handle(crate::panes::Msg::Media(
+ crate::panes::media_bin::MediaMsg::Import(dropped),
+ ));
+ }
}
Err(error) => self.error = error,
}
@@ -370,6 +526,9 @@ impl StartPane {
))),
busy: self.busy,
error: self.error.as_str().into(),
+ dropped: self.dropped.len() as i32,
+ query: self.query.as_str().into(),
+ sort: self.sort,
}
}
}
@@ -414,6 +573,71 @@ mod tests {
);
}
+ /// The search finds by every word, in the name or the folder, and the
+ /// sort by name ignores case; the list's own order is the recent one.
+ #[test]
+ fn the_projects_search_and_sort() {
+ let recent = |name: &str, path: &str| projects::Recent {
+ info: projects::ProjectInfo {
+ path: path.into(),
+ name: name.into(),
+ width: 1920,
+ height: 1080,
+ rate_num: 30,
+ rate_den: 1,
+ opened_at: 0,
+ },
+ present: true,
+ edited_at: None,
+ };
+ let list = [
+ recent("beach vlog", "/v/summer/beach"),
+ recent("Podcast 12", "/v/pods/12"),
+ recent("Apple ad", "/v/clients/apple"),
+ ];
+ let names = |shown: Vec<&projects::Recent>| -> Vec<String> {
+ shown
+ .iter()
+ .map(|recent| recent.info.name.clone())
+ .collect()
+ };
+ assert_eq!(
+ names(shown(&list, "", SORT_RECENT)),
+ ["beach vlog", "Podcast 12", "Apple ad"]
+ );
+ assert_eq!(
+ names(shown(&list, "", SORT_NAME)),
+ ["Apple ad", "beach vlog", "Podcast 12"]
+ );
+ assert_eq!(names(shown(&list, "SUMMER", SORT_RECENT)), ["beach vlog"]);
+ assert_eq!(names(shown(&list, "pod 12", SORT_RECENT)), ["Podcast 12"]);
+ assert!(shown(&list, "nothing", SORT_RECENT).is_empty());
+ }
+
+ /// Every link the launch screen sends goes somewhere, and the release
+ /// notes are this build's tag.
+ #[test]
+ fn every_link_has_an_address() {
+ for name in [
+ "guides",
+ "first-edit",
+ "report",
+ "github",
+ "discord",
+ "release-notes",
+ ] {
+ assert!(
+ link(name).is_some_and(|url| url.starts_with("https://")),
+ "{name}"
+ );
+ }
+ assert_eq!(
+ link("release-notes").unwrap(),
+ format!("{REPOSITORY}/releases/tag/v{}", env!("CARGO_PKG_VERSION"))
+ );
+ assert_eq!(link("nowhere"), None);
+ }
+
/// Only a name the sheet made up is replaced; a typed one is kept.
#[test]
fn only_a_made_up_name_moves_on() {
diff --git a/src/crates/concat/src/platform.rs b/src/crates/concat/src/platform.rs
index a0fc8764..dd1cfe17 100644
--- a/src/crates/concat/src/platform.rs
+++ b/src/crates/concat/src/platform.rs
@@ -846,6 +846,43 @@ pub fn install_microphone_access(access: MicrophoneAccess) {
let _ = MICROPHONE_ACCESS.set(access);
}
+/// Opens a web address in the browser, on a phone. Installed by the phone's
+/// own crate; see [`install_link_opener`].
+#[cfg(target_os = "android")]
+pub type LinkOpener = Box<dyn Fn(&str) -> Result<(), String> + Send + Sync>;
+
+#[cfg(target_os = "android")]
+static LINK_OPENER: std::sync::OnceLock<LinkOpener> = std::sync::OnceLock::new();
+
+/// Installs how a phone opens a web address. Once; a second call is
+/// ignored.
+#[cfg(target_os = "android")]
+pub fn install_link_opener(opener: LinkOpener) {
+ let _ = LINK_OPENER.set(opener);
+}
+
+/// Opens a web address in the system's browser: the launch screen's
+/// guides, the repository, the release notes. A desktop hands it to the
+/// platform's opener; Android to an ACTION_VIEW intent through the
+/// activity, iOS to UIApplication. An address that goes nowhere says why.
+pub fn open_link(url: &str) -> Result<(), String> {
+ #[cfg(not(any(target_os = "android", target_os = "ios")))]
+ {
+ opener::open(url).map_err(|error| error.to_string())
+ }
+ #[cfg(target_os = "android")]
+ {
+ match LINK_OPENER.get() {
+ Some(open) => open(url),
+ None => Err(format!("this device has no browser to open {url} with")),
+ }
+ }
+ #[cfg(target_os = "ios")]
+ {
+ crate::ios::open_link(url)
+ }
+}
+
/// Whether the microphone may be opened now. A desktop asks when the
/// device opens, which is the system's business, so it is always yes here;
/// a phone with nothing installed is too, and the device's own error says
diff --git a/src/crates/concat/src/studio.rs b/src/crates/concat/src/studio.rs
index c732f91a..8c569d78 100644
--- a/src/crates/concat/src/studio.rs
+++ b/src/crates/concat/src/studio.rs
@@ -55,8 +55,8 @@ use crate::dock::{
Dock, DockLayout, SEAT_GAP, default_dock, lay_out, nearest_row, row_at, row_top,
};
use crate::format::{
- WAVE_BAR, WAVE_PITCH, colour_of, frames_timecode, hex_of, hex_rgba, hex_with_alpha,
- wave_columns, wave_path, when_phrase,
+ WAVE_BAR, WAVE_PITCH, colour_of, frames_timecode, hex_of, hex_rgba, hex_with_alpha, rate_label,
+ running_time, wave_columns, wave_path, when_phrase,
};
use crate::grading;
use crate::host::{
@@ -879,9 +879,13 @@ pub struct Studio {
// ── the launch screen ──
pub on_start: bool,
pub start: crate::panes::start::StartPane,
- pub recents: Vec<ProjectInfo>,
+ pub recents: Vec<projects::Recent>,
pub posters: HashMap<String, slint::Image>,
posters_pending: HashSet<String>,
+ /// How long each recent project's timeline runs, in seconds, read on
+ /// the poster's worker. A path here has been tried, poster and all,
+ /// and is not asked for again until its project is next closed.
+ lengths: HashMap<String, Option<f64>>,
pub project_name: String,
// ── the workspace ──
@@ -2235,7 +2239,7 @@ impl Studio {
// the remembered language.
i18n::select(prefs.locale.as_deref().unwrap_or(i18n::ENGLISH), &host.dirs);
let languages = i18n::languages(&host.dirs);
- let recents = projects::list(&host.dirs.config);
+ let recents = projects::recents(&host.dirs.config);
let text_presets = presets::all(&host.dirs);
let mut studio = Self {
prefs,
@@ -2284,6 +2288,7 @@ impl Studio {
recents,
posters: HashMap::new(),
posters_pending: HashSet::new(),
+ lengths: HashMap::new(),
project_name: "Untitled project".into(),
dock: default_dock(),
dock_aside: crate::dock::compact_dock(),
@@ -8158,7 +8163,7 @@ impl Studio {
self.handle(crate::panes::Msg::Monitor(
crate::panes::monitor::MonitorMsg::Opened,
));
- self.recents = projects::list(&self.host.dirs.config);
+ self.recents = projects::recents(&self.host.dirs.config);
self.host.monitor.clear();
self.audition = None;
self.revision += 1;
@@ -8315,6 +8320,12 @@ impl Studio {
self.stabilize_retry.clear();
self.region_job = None;
self.autosave.stop();
+ // The launch screen's card for this project is read again: the
+ // edit just made may have moved its first frame and its length.
+ // The old poster stays up until the new one replaces it.
+ if let Some(session) = self.session.as_ref() {
+ self.lengths.remove(session.path());
+ }
if let Some(session) = self.session.as_ref() {
self.host.open_projects.release(session.path());
}
@@ -8351,16 +8362,18 @@ impl Studio {
.playback
.set_clips(std::path::PathBuf::new(), Vec::new());
self.on_start = true;
- self.recents = projects::list(&self.host.dirs.config);
+ self.recents = projects::recents(&self.host.dirs.config);
}
- /// Posters for the recents that have none yet, decoded on a worker.
+ /// Posters, and the running time, for the recents not yet looked at,
+ /// read on a worker. A missing folder has neither to give.
fn request_posters(&mut self) {
let wanted: Vec<String> = self
.recents
.iter()
- .map(|project| project.path.clone())
- .filter(|path| !self.posters.contains_key(path) && !self.posters_pending.contains(path))
+ .filter(|recent| recent.present)
+ .map(|recent| recent.info.path.clone())
+ .filter(|path| !self.lengths.contains_key(path) && !self.posters_pending.contains(path))
.collect();
for path in wanted {
self.posters_pending.insert(path.clone());
@@ -8370,13 +8383,15 @@ impl Studio {
// A project with no poster - nothing on it, or nothing
// but black - keeps the film mark; see `poster_frame`.
let made = media::poster_frame(&path).is_ok();
- (path, made.then_some(cached))
+ let length = media::timeline_seconds(&path);
+ (path, made.then_some(cached), length)
},
- |studio, _, _, (path, cached)| {
+ |studio, _, _, (path, cached, length)| {
studio.posters_pending.remove(&path);
if let Some(poster) = cached.and_then(|cached| image_at(&cached)) {
- studio.posters.insert(path, poster);
+ studio.posters.insert(path.clone(), poster);
}
+ studio.lengths.insert(path, length);
},
);
}
@@ -10680,22 +10695,40 @@ impl Studio {
failed: self.toast.failed,
});
app.set_start(self.start.data());
+ app.set_recents_total(self.recents.len() as i32);
sync(
&models.recents,
- self.recents
- .iter()
- .map(|project| RecentProjectData {
- path: project.path.as_str().into(),
- name: project.name.as_str().into(),
- detail: format!(
- "{} x {} · {:.2} fps",
- project.width,
- project.height,
- project.rate_num as f32 / project.rate_den.max(1) as f32
- )
- .into(),
- when: when_phrase(project.opened_at).into(),
- poster: self.posters.get(&project.path).cloned().unwrap_or_default(),
+ crate::panes::start::shown(&self.recents, &self.start.query, self.start.sort)
+ .into_iter()
+ .map(|recent| {
+ let project = &recent.info;
+ RecentProjectData {
+ path: project.path.as_str().into(),
+ name: project.name.as_str().into(),
+ detail: format!(
+ "{} × {} · {}",
+ project.width,
+ project.height,
+ rate_label(project.rate_num, project.rate_den)
+ )
+ .into(),
+ // When it was last worked on, which is what a
+ // person means by recent; when it was last opened
+ // where the file keeps no time.
+ when: when_phrase(recent.edited_at.unwrap_or(project.opened_at)).into(),
+ length: self
+ .lengths
+ .get(&project.path)
+ .copied()
+ .flatten()
+ .filter(|seconds| *seconds > 0.0)
+ .map(running_time)
+ .unwrap_or_default()
+ .into(),
+ ratio: project.width as f32 / project.height.max(1) as f32,
+ missing: !recent.present,
+ poster: self.posters.get(&project.path).cloned().unwrap_or_default(),
+ }
})
.collect(),
);
diff --git a/src/crates/concat/ui/app.slint b/src/crates/concat/ui/app.slint
index 11434cd5..b6c889f7 100644
--- a/src/crates/concat/ui/app.slint
+++ b/src/crates/concat/ui/app.slint
@@ -161,7 +161,19 @@ export component App inherits Window {
callback start-open();
callback start-open-recent(path: string);
callback start-forget-recent(path: string);
+ callback start-reveal-recent(path: string);
+ callback start-search-edited(query: string);
+ callback start-sort-changed(sort: int);
+ /// One of the launch screen's links, by name; see `start::link`.
+ callback start-link(name: string);
callback start-dismiss-error();
+ /// How many projects the recents list holds, before the search: the
+ /// grid's search and sort come up past a page of them.
+ in property <int> recents-total;
+ /// "0.2.7", for the launch screen's version line.
+ in property <string> app-version;
+ /// A file can be dragged in from the system: a desk, not a phone.
+ in property <bool> can-drop;
// Title bar. The drag/maximize pair must be handled in main.rs — a window
// cannot drag itself from inside the scene graph; the rest are seams like
@@ -570,14 +582,23 @@ export component App inherits Window {
vertical-stretch: 1;
recents: root.recents;
+ recents-total: root.recents-total;
+ query: root.start.query;
+ sort: root.start.sort;
busy: root.start.busy;
phone: root.phone;
+ version: root.app-version;
+ can-drop: root.can-drop;
compose => { root.start-compose(); }
open => { root.start-open(); }
open-settings => { root.open-settings(); }
open-recent(path) => { root.start-open-recent(path); }
forget-recent(path) => { root.start-forget-recent(path); }
+ reveal-recent(path) => { root.start-reveal-recent(path); }
+ search-edited(query) => { root.start-search-edited(query); }
+ sort-changed(sort) => { root.start-sort-changed(sort); }
+ link(name) => { root.start-link(name); }
}
// Everything the workspace shows now reads the Editor global, so
diff --git a/src/crates/concat/ui/icons.slint b/src/crates/concat/ui/icons.slint
index 1a864968..f8d154d8 100644
--- a/src/crates/concat/ui/icons.slint
+++ b/src/crates/concat/ui/icons.slint
@@ -152,6 +152,16 @@ export enum Glyph {
info,
help,
folder,
+ /// the launch screen's learn-and-community cards: the guides, the
+ /// first edit, a problem to report, and the way out to a web page
+ book,
+ circle-play,
+ bug,
+ arrow-up-right,
+ /// two marks of other people's, filled, from Simple Icons (CC0): the
+ /// repository's host and the community's chat
+ github,
+ discord,
// the cutout's brushes
brush,
eraser,
@@ -236,6 +246,71 @@ export component Icon inherits Rectangle {
+ "A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z";
}
+ // lucide/book-open
+ if root.glyph == Glyph.book: Stroked {
+ size: root.size; tint: root.tint; weight: root.weight;
+ commands: "M12 5v16 M20.001 19A2 2 0 0 0 22 17V5a2 2 0 0 0 -1.999 -2L16 3.002"
+ + "A5 5 0 0 0 12 5a5 5 0 0 0 -4 -2H4a2 2 0 0 0 -2 2v12a2 2 0 0 0 1.999 2H8"
+ + "a5 5 0 0 1 4 2a5 5 0 0 1 4 -2z";
+ }
+
+ // lucide/circle-play
+ if root.glyph == Glyph.circle-play: Stroked {
+ size: root.size; tint: root.tint; weight: root.weight;
+ commands: "M9 9.003a1 1 0 0 1 1.517 -.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997"
+ + "A1 1 0 0 1 9 14.996z M2 12a10 10 0 1 0 20 0a10 10 0 1 0 -20 0";
+ }
+
+ // lucide/bug
+ if root.glyph == Glyph.bug: Stroked {
+ size: root.size; tint: root.tint; weight: root.weight;
+ commands: "M12 20v-9 M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1 -12 0v-3a4 4 0 0 1 4 -4z"
+ + " M14.12 3.88L16 2 M21 21a4 4 0 0 0 -3.81 -4 M21 5a4 4 0 0 1 -3.55 3.97"
+ + " M22 13h-4 M3 21a4 4 0 0 1 3.81 -4 M3 5a4 4 0 0 0 3.55 3.97 M6 13H2"
+ + " M8 2l1.88 1.88 M9 7.13V6a3 3 0 1 1 6 0v1.13";
+ }
+
+ // lucide/arrow-up-right
+ if root.glyph == Glyph.arrow-up-right: Stroked {
+ size: root.size; tint: root.tint; weight: root.weight;
+ commands: "M7 7h10v10 M7 17L17 7";
+ }
+
+ // simple-icons/github (CC0), arc flags spelled out
+ if root.glyph == Glyph.github: Filled {
+ size: root.size; tint: root.tint;
+ commands: "M12 .297c-6.63 0 -12 5.373 -12 12 0 5.303 3.438 9.8 8.205 11.385 .6 .113 .82 -.258 .82 -.577"
+ + " 0 -.285 -.01 -1.04 -.015 -2.04 -3.338 .724 -4.042 -1.61 -4.042 -1.61C4.422 18.07 3.633 17.7 3.633 17.7"
+ + "c-1.087 -.744 .084 -.729 .084 -.729 1.205 .084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495 .998"
+ + " .108 -.776 .417 -1.305 .76 -1.605 -2.665 -.3 -5.466 -1.332 -5.466 -5.93 0 -1.31 .465 -2.38 1.235 -3.22"
+ + " -.135 -.303 -.54 -1.523 .105 -3.176 0 0 1.005 -.322 3.3 1.23 .96 -.267 1.98 -.399 3 -.405 1.02 .006"
+ + " 2.04 .138 3 .405 2.28 -1.552 3.285 -1.23 3.285 -1.23 .645 1.653 .24 2.873 .12 3.176 .765 .84 1.23 1.91"
+ + " 1.23 3.22 0 4.61 -2.805 5.625 -5.475 5.92 .42 .36 .81 1.096 .81 2.22 0 1.606 -.015 2.896 -.015 3.286"
+ + " 0 .315 .21 .69 .825 .57C20.565 22.092 24 17.592 24 12.297c0 -6.627 -5.373 -12 -12 -12";
+ }
+
+ // simple-icons/discord (CC0), arc flags spelled out
+ if root.glyph == Glyph.discord: Filled {
+ size: root.size; tint: root.tint;
+ commands: "M20.317 4.3698a19.7913 19.7913 0 0 0 -4.8851 -1.5152 .0741 .0741 0 0 0 -.0785 .0371"
+ + "c-.211 .3753 -.4447 .8648 -.6083 1.2495 -1.8447 -.2762 -3.68 -.2762 -5.4868 0 -.1636 -.3933 -.4058 -.8742 -.6177 -1.2495"
+ + "a.077 .077 0 0 0 -.0785 -.037 19.7363 19.7363 0 0 0 -4.8852 1.515 .0699 .0699 0 0 0 -.0321 .0277"
+ + "C.5334 9.0458 -.319 13.5799 .0992 18.0578a.0824 .0824 0 0 0 .0312 .0561"
+ + "c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777 .0777 0 0 0 .0842 -.0276"
+ + "c.4616 -.6304 .8731 -1.2952 1.226 -1.9942a.076 .076 0 0 0 -.0416 -.1057"
+ + "c-.6528 -.2476 -1.2743 -.5495 -1.8722 -.8923a.077 .077 0 0 1 -.0076 -.1277"
+ + "c.1258 -.0943 .2517 -.1923 .3718 -.2914a.0743 .0743 0 0 1 .0776 -.0105"
+ + "c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739 .0739 0 0 1 .0785 .0095"
+ + "c.1202 .099 .246 .1981 .3728 .2924a.077 .077 0 0 1 -.0066 .1276 12.2986 12.2986 0 0 1 -1.873 .8914"
+ + " .0766 .0766 0 0 0 -.0407 .1067c.3604 .698 .7719 1.3628 1.225 1.9932a.076 .076 0 0 0 .0842 .0286"
+ + "c1.961 -.6067 3.9495 -1.5219 6.0023 -3.0294a.077 .077 0 0 0 .0313 -.0552"
+ + "c.5004 -5.177 -.8382 -9.6739 -3.5485 -13.6604a.061 .061 0 0 0 -.0312 -.0286z"
+ + "M8.02 15.3312c-1.1825 0 -2.1569 -1.0857 -2.1569 -2.419 0 -1.3332 .9555 -2.4189 2.157 -2.4189"
+ + " 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332 -.9555 2.4189 -2.1569 2.4189z"
+ + "M15.9948 15.3312c-1.1825 0 -2.1569 -1.0857 -2.1569 -2.419 0 -1.3332 .9554 -2.4189 2.1569 -2.4189"
+ + " 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332 -.946 2.4189 -2.1568 2.4189z";
+ }
+
// lucide/plus
if root.glyph == Glyph.plus: Stroked {
size: root.size; tint: root.tint; weight: root.weight;
diff --git a/src/crates/concat/ui/start.slint b/src/crates/concat/ui/start.slint
index a1d1eb75..1db3a25d 100644
--- a/src/crates/concat/ui/start.slint
+++ b/src/crates/concat/ui/start.slint
@@ -11,20 +11,29 @@ import { Tip } from "primitives/tooltip.slint";
import { Focus } from "util.slint";
import { NumberField } from "primitives/number-field.slint";
import { Select } from "primitives/select.slint";
+import { SegmentedControl } from "primitives/segmented-control.slint";
-// The launch screen: a launcher with a rail, and the window's own ground
-// under all of it — no card around the whole thing, no shadow. A setup
-// screen is not a dialog floating over something; it *is* the window.
+// The launch screen: the app's home, and the window's own ground under all
+// of it — no card around the whole thing, no shadow. A setup screen is not
+// a dialog floating over something; it *is* the window.
//
-// The rail is what makes it a launcher rather than a list. Everything you
-// can do before a project is open is one column of verbs: start a new one,
-// open a folder from disk. The settings are behind the title strip's gear,
-// as they are in the editor. The page beside it is the
-// projects: every one this machine has opened, as a grid of posters, with
-// one more card at the head of it that starts a new one. That card is the
-// first thing on the page and the size of everything after it, so an empty
-// machine sees one card and a full one sees the same card in front of the
-// rest.
+// Three things, in the order a person wants them, the way CapCut's home
+// and every modern editor's start page have them:
+//
+// - create: New project, filled with the accent, the one verb on the page
+// that starts something; Open project beside it; and where the system
+// can drag a file in, a tile saying the window takes a drop - a project
+// folder opens, media starts a new project with it;
+// - the projects: every one this machine has opened, as a grid of posters
+// with their running time, edit time and frame, hover actions to show
+// one in its folder or forget it, a missing folder shown as missing, and
+// a search and a sort once there are more than a page of them;
+// - learn and community: the guides, the first edit, the shortcuts, the
+// repository, the Discord and how to report a problem, as cards that
+// open in the browser, and the version with its release notes.
+//
+// The settings are behind the title strip's gear, as they are in the
+// editor.
//
// The new project's form is a sheet over the window — `NewProjectDialog`,
// held at the window root like every other sheet, since Slint has no
@@ -35,26 +44,27 @@ import { Select } from "primitives/select.slint";
// footage. But five rows of settings are a question to answer, not a place
// to be, and a question is a sheet.
//
-// Three shapes by the width the window is given, since a Slint layout has
-// no wrap:
+// Two shapes by the width the window is given, since a Slint layout has no
+// wrap:
//
-// - wide: the rail with its words, the page beside it;
-// - middle: the rail as icons only, each with its word in a tip;
-// - narrow, a phone held upright: no rail at all — its two actions become
-// two round buttons on the heading's row, the sheet's labels sit over
-// their values with its chip rows across the width, and the forget cross
-// stays on every card, since there is no hover to reveal it with.
+// - wide, a desk's window from 680px up: one centred column, the create
+// row across it, the projects as a grid, and the learn cards as a panel
+// beside the projects once the column is 1100px wide, under them before;
+// - narrow, a phone held upright: stacked the way a phone's own apps are -
+// New project across the width, the projects as a list of rows with the
+// forget cross on every one, since there is no hover to reveal it with,
+// and the learn cards as one grouped list at the foot. The sheet's labels
+// sit over their values there, with its chip rows across the width.
//
// The look is the website's, which is the same product wearing the same
// clothes: near-black steps for the surfaces, a hairline of light on the
-// top edge of anything raised, one lime accent used on almost nothing, and
-// a filled button whose fill is the ink rather than the accent. What the
-// site does with an accent — one highlighted word — this does with the
-// plus on the new-project card and the one link in the sheet.
+// top edge of anything raised, one accent used on almost nothing, and a
+// filled button whose fill is the ink rather than the accent. The accent
+// here is New project's fill and the one link in the sheet.
//
// There is no template store in this tree, which is also why the library's
-// "save as template" is an unwired seam, and why the rail has no fourth
-// verb.
+// "save as template" is an unwired seam, and why the create row has no
+// fourth verb.
/// One option on one of the form's three ladders.
///
@@ -78,10 +88,17 @@ export struct RecentProjectData {
/// name.
path: string,
name: string,
- /// "1080 x 1920 · 30.00 fps"
+ /// "1080 × 1920 · 30 fps"
detail: string,
- /// "yesterday", "4 days ago"
+ /// When it was last worked on: "2 hours ago", "yesterday".
when: string,
+ /// How long its timeline runs, "1:05"; empty until it has been read,
+ /// or when there is nothing on it.
+ length: string,
+ /// The frame's width over its height.
+ ratio: float,
+ /// Its folder is not there: a drive unplugged, the folder moved.
+ missing: bool,
/// A frame from the earliest clip on its timeline, once something has
/// produced one. Empty falls back to a quiet film mark rather than an
/// error: the launch screen is not the place to complain about footage.
@@ -126,6 +143,13 @@ export struct StartData {
busy: bool,
/// Non-empty puts up the notice above the button.
error: string,
+ /// Files dropped on the launch screen to start this project, which go
+ /// into it once it is made.
+ dropped: int,
+ /// The launch screen's project search, and its order: 0 the most
+ /// recent first, 1 by name.
+ query: string,
+ sort: int,
}
// ── the small parts ──────────────────────────────────────────────────────
@@ -595,8 +619,8 @@ component PillButton inherits Rectangle {
}
}
-// A round icon button: the rail's two actions, for the phone that has no
-// rail to put them in.
+// A round icon button: Open and Settings on the heading's row, for the
+// narrow page that has no create row wide enough to put Open in.
component BarAction inherits Rectangle {
in property <Glyph> glyph;
in property <string> label;
@@ -606,13 +630,16 @@ component BarAction inherits Rectangle {
property <bool> lit: touch.has-hover && root.enabled;
- width: 34px;
- height: 34px;
+ width: 36px;
+ height: 36px;
border-radius: self.width / 2;
background: root.lit ? Theme.launch-field : Theme.launch-raised;
border-width: 1px;
border-color: root.lit ? Theme.line-strong : Theme.line;
opacity: root.enabled ? 1.0 : 0.4;
+ accessible-role: button;
+ accessible-label: root.label;
+ accessible-action-default => { root.clicked(); }
animate background, border-color { duration: 140ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }
@@ -620,7 +647,7 @@ component BarAction inherits Rectangle {
x: (parent.width - self.width) / 2;
y: (parent.height - self.height) / 2;
glyph: root.glyph;
- size: 15px;
+ size: 16px;
tint: root.lit ? Theme.fg : Theme.fg-muted;
}
@@ -636,55 +663,53 @@ component BarAction inherits Rectangle {
}
}
-// ── the rail ─────────────────────────────────────────────────────────────
+// ── the home page ────────────────────────────────────────────────────────
-// One verb in the rail: a thing to do. Lit under the pointer and nothing
-// more — there is one page beside the rail, so no verb is ever the one you
-// are on.
-component RailItem inherits Rectangle {
- in property <string> label;
- in property <Glyph> glyph;
+// Anything on the page that does something when pressed: a pointer's
+// hover and press, Enter or Space once Tab has put the ring on it, and the
+// ring. The look is the caller's, read from `lit`, `down` and `ring`; the
+// content is its children, drawn over the touch area, so a button inside
+// one - a card's Remove - still takes its own press.
+component Pressable inherits Rectangle {
in property <bool> enabled: true;
- /// Icons only, with the word in a tip: the middle width.
- in property <bool> compact;
+ in property <length> radius: Theme.r-lg;
+ /// What a screen reader calls it.
+ in property <string> label;
+ out property <bool> lit: touch.has-hover && root.enabled;
+ out property <bool> down: touch.pressed && root.enabled;
+ /// The keyboard is on it: Tab brought it here, not a click.
+ out property <bool> ring;
callback clicked();
-
- property <bool> lit: touch.has-hover && root.enabled;
- property <brush> ink: root.lit ? Theme.fg : Theme.fg-muted;
-
- height: 36px;
- border-radius: Theme.r;
- background: root.lit ? Theme.launch-raised : Colors.transparent;
- opacity: root.enabled ? 1.0 : 0.4;
-
- animate background { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }
-
- HorizontalLayout {
- padding-left: root.compact ? 0px : 13px;
- padding-right: root.compact ? 0px : 11px;
- spacing: 10px;
- alignment: root.compact ? LayoutAlignment.center : LayoutAlignment.start;
-
- VerticalLayout {
- alignment: center;
- Icon {
- glyph: root.glyph;
- size: 15px;
- tint: root.ink;
- }
+ /// Delete or Backspace with the ring on it.
+ callback deleted();
+
+ border-radius: root.radius;
+ accessible-role: button;
+ accessible-label: root.label;
+ accessible-action-default => { root.clicked(); }
+
+ // Under the touch area, so a press lands on the touch area and the
+ // keys on this; a click does not take the focus, so no ring follows
+ // the mouse about.
+ FocusScope {
+ enabled: root.enabled;
+ focus-gained(reason) => {
+ root.ring = reason == FocusReason.tab-navigation;
}
-
- if !root.compact: VerticalLayout {
- alignment: center;
- horizontal-stretch: 1;
- Text {
- text: root.label;
- color: root.ink;
- font-size: Theme.fs-lg;
- font-weight: Theme.weight-title;
- overflow: elide;
+ focus-lost(reason) => {
+ root.ring = false;
+ }
+ key-pressed(event) => {
+ if (event.text == Key.Return || event.text == "\n" || event.text == " ") {
+ root.clicked();
+ return accept;
}
+ if (event.text == Key.Delete || event.text == Key.Backspace) {
+ root.deleted();
+ return accept;
+ }
+ return reject;
}
}
@@ -694,505 +719,1412 @@ component RailItem inherits Rectangle {
clicked => { root.clicked(); }
}
- // Only where the word has been taken away. A tip repeating a label that
- // is already on screen is noise.
- if root.compact: Tip {
- text: root.label;
- active: touch.has-hover;
+ @children
+
+ FocusRing {
+ active: root.ring;
+ radius: root.radius;
}
}
-// The column of verbs. Its own surface, a shade above the page, with the
-// window's edge on one side and a hairline on the other.
-component Rail inherits Rectangle {
- /// Sized by the screen — see `rail-w` there. A width of its own would
- /// make the screen's own minimum depend on whether the rail is up,
- /// which depends on the screen's width: a binding loop, and Slint says
- /// so.
- in property <bool> compact;
- in property <bool> enabled: true;
+// One of the create row's verbs: a mark in a round well, a title and the
+// line under it. The primary one is filled with the accent - the one verb
+// on the page that starts something wears the colour the person chose -
+// and the other sits on the page's own card surface.
+component CreateTile inherits Pressable {
+ in property <Glyph> glyph;
+ in property <string> title;
+ in property <string> note;
+ in property <bool> primary;
- callback compose();
- callback open();
+ property <color> ink: root.primary ? Theme.on-accent : Theme.fg;
- background: Theme.launch-panel;
+ label: root.title;
+ background: root.primary
+ ? (root.lit && !root.down ? Theme.accent-hover : Theme.accent)
+ : (root.lit ? Theme.launch-raised : Theme.launch-panel);
+ border-width: root.primary ? 0px : 1px;
+ border-color: root.lit ? Theme.line-strong : Theme.line;
+ opacity: root.enabled ? 1.0 : 0.45;
- Rectangle {
- x: parent.width - 1px;
- y: 0;
- width: 1px;
- height: parent.height;
- background: Theme.line;
- }
+ animate background, border-color { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }
- VerticalLayout {
- padding: root.compact ? 10px : 12px;
- padding-top: 14px;
- padding-bottom: 14px;
- spacing: 4px;
-
- // The same verb as the card at the head of the grid, for whoever
- // reads the rail first: a launcher's first row is where "new" is
- // expected to be, whatever the page beside it is showing.
- RailItem {
- label: I18n.t("start.newProject");
- glyph: Glyph.plus;
- compact: root.compact;
- enabled: root.enabled;
- clicked => { root.compose(); }
- }
+ HorizontalLayout {
+ padding-left: 20px;
+ padding-right: 18px;
+ spacing: 14px;
- Rectangle { vertical-stretch: 1; }
+ VerticalLayout {
+ alignment: center;
+ Rectangle {
+ width: 42px;
+ height: 42px;
+ border-radius: self.width / 2;
+ background: root.primary ? root.ink.with-alpha(0.14) : Theme.launch-field;
- // No Settings row: the title strip's gear is on this screen as it
- // is on the editor's, and two doors to the same room on one page
- // read as clutter.
- // https://github.com/jub0t/Concat/issues/206
- RailItem {
- label: I18n.t("start.openProject");
- glyph: Glyph.folder;
- compact: root.compact;
- enabled: root.enabled;
- clicked => { root.open(); }
+ Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: root.glyph;
+ size: 19px;
+ weight: root.primary ? 2.3 : 1.9;
+ tint: root.ink;
+ }
+ }
}
- }
-}
-
-// ── the projects ─────────────────────────────────────────────────────────
-// The card that starts a new project: the first cell of the grid, the size
-// of every other card in it, and the one thing on the page that is not a
-// project yet. A plus in the accent with the verb under it, on the same
-// surface the posters sit on — so it reads as one of them with nothing in
-// it yet, rather than as a button that wandered into a list.
-component NewProjectCard inherits Rectangle {
- in property <bool> enabled: true;
- /// A row rather than a cell: the plus beside the verb, on a card the
- /// width of the page and the height of a button. The phone's shape,
- /// where a poster's height for a plus and a word is a screen's worth
- /// of nothing. And filled with the accent, where the cell is a poster
- /// among posters: a row on its own is a button, and the one button on
- /// the page that starts something wears the colour the user chose.
- in property <bool> banner;
+ VerticalLayout {
+ alignment: center;
+ horizontal-stretch: 1;
+ spacing: 3px;
- callback clicked();
+ Text {
+ text: root.title;
+ color: root.ink;
+ font-size: 16px;
+ font-weight: Theme.weight-title;
+ overflow: elide;
+ }
- property <bool> lit: touch.has-hover && root.enabled;
+ Text {
+ text: root.note;
+ color: root.primary ? root.ink.with-alpha(0.72) : Theme.fg-dim;
+ font-size: Theme.fs;
+ overflow: elide;
+ }
+ }
+ }
+}
+// Where a drag from the file manager can land, said where the verbs are.
+// It takes no press: the whole window takes the drop, and this only says
+// so - so it is drawn as a hole in the page, a ring with nothing on it,
+// rather than as one more card to click.
+component DropTile inherits Rectangle {
border-radius: Theme.r-lg;
- background: root.banner
- ? (root.lit || touch.pressed ? Theme.accent-hover : Theme.accent)
- : root.lit ? Theme.launch-raised : Theme.launch-panel;
- border-width: root.banner ? 0px : 1px;
- border-color: root.lit ? Theme.line-strong : Theme.line;
- opacity: root.enabled ? 1.0 : 0.4;
-
- animate background, border-color { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }
+ border-width: 1px;
+ border-color: Theme.line-strong;
- if !root.banner: VerticalLayout {
- alignment: center;
- spacing: 12px;
+ HorizontalLayout {
+ padding-left: 20px;
+ padding-right: 18px;
+ spacing: 14px;
- HorizontalLayout {
+ VerticalLayout {
alignment: center;
Icon {
- glyph: Glyph.plus;
- size: 28px;
- tint: Theme.accent;
+ glyph: Glyph.import;
+ size: 19px;
+ tint: Theme.fg-dim;
}
}
- Text {
- text: I18n.t("start.newProject");
- color: Theme.fg;
- font-size: Theme.fs-xl;
- font-weight: Theme.weight-title;
- horizontal-alignment: center;
- }
- }
-
- if root.banner: HorizontalLayout {
- alignment: center;
- spacing: 10px;
-
VerticalLayout {
alignment: center;
- Icon {
- glyph: Glyph.plus;
- size: 20px;
- weight: 2.2;
- tint: Theme.on-accent;
+ horizontal-stretch: 1;
+ spacing: 3px;
+
+ Text {
+ text: I18n.t("start.dropToStart");
+ color: Theme.fg-muted;
+ font-size: 16px;
+ font-weight: Theme.weight-title;
+ overflow: elide;
}
- }
- Text {
- text: I18n.t("start.newProject");
- color: Theme.on-accent;
- font-size: Theme.fs-xl;
- font-weight: Theme.weight-title;
- vertical-alignment: center;
+ Text {
+ text: I18n.t("start.dropToStartNote");
+ color: Theme.fg-dim;
+ font-size: Theme.fs;
+ wrap: word-wrap;
+ max-height: 2 * Theme.fs * 1.4;
+ overflow: elide;
+ }
}
}
+}
+
+// A small round button over a poster: Show in folder, Remove from list.
+// Dark glass under a white mark whatever the theme, because what is under
+// it is a picture, not the page.
+component PosterAction inherits Rectangle {
+ in property <Glyph> glyph;
+ in property <string> label;
+
+ callback clicked();
+
+ width: 28px;
+ height: 28px;
+ border-radius: self.width / 2;
+ background: touch.has-hover ? Theme.on-scrim.with-alpha(0.24) : Theme.scrim;
+ accessible-role: button;
+ accessible-label: root.label;
+ accessible-action-default => { root.clicked(); }
+
+ animate background { duration: 100ms; }
+
+ Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: root.glyph;
+ size: 13px;
+ weight: 2.2;
+ tint: Theme.on-scrim;
+ }
touch := TouchArea {
- enabled: root.enabled;
mouse-cursor: pointer;
clicked => { root.clicked(); }
}
+
+ Tip {
+ text: root.label;
+ active: touch.has-hover;
+ }
}
-// One project: its poster, its name, what it is, when it was last open —
-// and the cross that forgets it, on hover where there is a pointer and
-// always where there is not.
-component PosterCard inherits Rectangle {
+// One project: its poster, inset in the card like a print on a mount, its
+// running time over the poster's corner, and its name and what it is
+// under it. Show in folder and Remove come up over the poster on hover - or
+// stay there, where there is no hover. A project whose folder has gone
+// keeps its card, greyed, saying so, with Remove always up.
+component PosterCard inherits Pressable {
in property <RecentProjectData> project;
- in property <bool> enabled: true;
- /// No pointer to hover with, so the cross stays out.
+ /// No pointer to hover with, so the actions stay out.
in property <bool> touchy;
+ /// Show in folder: a desk's, which has a file manager to show it in.
+ in property <bool> can-reveal;
callback opened();
callback forgotten();
+ callback revealed();
- property <bool> lit: touch.has-hover && root.enabled;
- property <bool> forgettable: root.touchy || touch.has-hover;
+ property <length> inset: 6px;
+ property <bool> actions: root.touchy || root.lit || root.ring || root.project.missing;
- border-radius: Theme.r-lg;
+ label: root.project.name;
+ clicked => { root.opened(); }
+ deleted => { root.forgotten(); }
background: root.lit ? Theme.launch-raised : Theme.launch-panel;
border-width: 1px;
border-color: root.lit ? Theme.line-strong : Theme.line;
- clip: true;
animate background, border-color { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }
- touch := TouchArea {
- mouse-cursor: root.enabled ? pointer : default;
- clicked => { root.opened(); }
-
- poster := Rectangle {
- x: 0;
- y: 0;
+ poster := Rectangle {
+ x: root.inset;
+ y: root.inset;
+ width: root.width - 2 * root.inset;
+ // The frame is always this shape, poster or not, so a poster that
+ // arrives late moves nothing on the page.
+ height: self.width * 9 / 16;
+ border-radius: Theme.r;
+ background: Theme.launch-well;
+ clip: true;
+
+ if root.project.poster.width > 0 && !root.project.missing: Image {
width: parent.width;
- height: parent.width * 9 / 16;
- background: Theme.launch-well;
- clip: true;
-
- if root.project.poster.width > 0: Image {
- width: parent.width;
- height: parent.height;
- source: root.project.poster;
- image-fit: cover;
- }
-
- if root.project.poster.width == 0: Icon {
- x: (parent.width - self.width) / 2;
- y: (parent.height - self.height) / 2;
- glyph: Glyph.film;
- size: 19px;
- weight: 1.5;
- tint: Theme.fg-dim;
- }
+ height: parent.height;
+ source: root.project.poster;
+ image-fit: cover;
+ }
- Rectangle {
- x: 0;
- y: parent.height - 1px;
- width: parent.width;
- height: 1px;
- background: Theme.line;
- }
+ if root.project.poster.width == 0 && !root.project.missing: Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: Glyph.film;
+ size: 20px;
+ weight: 1.5;
+ tint: Theme.fg-dim;
+ }
- // A permanent cross on every card of a list of your own work is
- // a list of invitations to lose one; on a phone there is no
- // hover, so it stays, quiet, in the corner.
- if root.forgettable: Rectangle {
- x: parent.width - self.width - 6px;
- y: 6px;
- width: 24px;
- height: 24px;
- border-radius: self.width / 2;
- background: forget.has-hover ? Theme.launch-field-active : Theme.overlay;
+ if root.project.missing: VerticalLayout {
+ alignment: center;
+ spacing: 8px;
+ HorizontalLayout {
+ alignment: center;
Icon {
- x: (parent.width - self.width) / 2;
- y: (parent.height - self.height) / 2;
- glyph: Glyph.close;
- size: 11px;
- tint: forget.has-hover ? Theme.fg : Theme.fg-muted;
- }
-
- forget := TouchArea {
- mouse-cursor: pointer;
- clicked => { root.forgotten(); }
+ glyph: Glyph.folder;
+ size: 20px;
+ weight: 1.5;
+ tint: Theme.fg-dim;
}
}
- }
-
- VerticalLayout {
- x: 12px;
- y: poster.height + 11px;
- width: parent.width - 24px;
- height: self.preferred-height;
- spacing: 3px;
Text {
- text: root.project.name;
- color: Theme.fg;
- font-size: Theme.fs-xl;
- font-weight: Theme.weight-title;
- overflow: elide;
+ text: I18n.t("start.folderNotFound");
+ color: Theme.fg-muted;
+ font-size: Theme.fs;
+ horizontal-alignment: center;
}
+ }
- Text {
- text: root.project.detail;
- color: Theme.fg-dim;
+ // The running time, where every video site puts it.
+ if root.project.length != "": Rectangle {
+ x: parent.width - self.width - 8px;
+ y: parent.height - self.height - 8px;
+ width: length-text.preferred-width + 12px;
+ height: 20px;
+ border-radius: Theme.r-sm;
+ background: Theme.scrim;
+
+ length-text := Text {
+ text: root.project.length;
+ color: Theme.on-scrim;
font-family: Theme.font-technical;
font-size: Theme.fs-sm;
- overflow: elide;
+ font-weight: Theme.weight-title;
+ vertical-alignment: center;
+ horizontal-alignment: center;
}
+ }
- Text {
- text: root.project.when;
- color: Theme.fg-dim;
- font-size: Theme.fs-sm;
- overflow: elide;
+ if root.actions: HorizontalLayout {
+ x: parent.width - self.preferred-width - 8px;
+ y: 8px;
+ height: 28px;
+ width: self.preferred-width;
+ spacing: 6px;
+
+ if root.can-reveal && !root.project.missing: PosterAction {
+ glyph: Glyph.folder;
+ label: I18n.t("start.showInFolder");
+ clicked => { root.revealed(); }
+ }
+
+ PosterAction {
+ glyph: Glyph.close;
+ label: I18n.t("start.removeFromList");
+ clicked => { root.forgotten(); }
}
}
}
+
+ VerticalLayout {
+ x: root.inset + 6px;
+ y: poster.y + poster.height + 10px;
+ width: root.width - 2 * root.inset - 12px;
+ height: self.preferred-height;
+ spacing: 3px;
+
+ Text {
+ text: root.project.name;
+ color: root.project.missing ? Theme.fg-muted : Theme.fg;
+ font-size: Theme.fs-xl;
+ font-weight: Theme.weight-title;
+ overflow: elide;
+ }
+
+ // Where it was, for one that has gone: the one thing worth
+ // knowing about a folder that is not there.
+ Text {
+ text: root.project.missing ? root.project.path
+ : root.project.when + " · " + root.project.detail;
+ color: Theme.fg-dim;
+ font-size: Theme.fs-sm;
+ overflow: elide;
+ }
+ }
}
-// The new-project card, then every project this machine has opened.
+// The projects as a grid of posters.
//
-// `grid-cols-[repeat(auto-fill,minmax(210px,1fr))]`, arithmetic instead of
+// `grid-cols-[repeat(auto-fill,minmax(220px,1fr))]`, arithmetic instead of
// a layout: Slint has no auto-fill grid, and a GridLayout wants its cells
// named at compile time, which a model cannot do. Same as the bin's grid in
-// workspace/media-pane.slint. The first cell is placed by hand and the
-// model's cards count from one, which is the whole of how the new-project
-// card comes first.
+// workspace/media-pane.slint.
component ProjectsGrid inherits Rectangle {
in property <[RecentProjectData]> recents;
in property <bool> enabled: true;
in property <bool> touchy;
+ in property <bool> can-reveal;
- callback compose();
callback opened(path: string);
callback forgotten(path: string);
+ callback revealed(path: string);
- property <length> gap: 14px;
- property <length> min-card: 210px;
+ property <length> gap: 16px;
+ property <length> min-card: 220px;
property <int> cols: Math.max(1,
Math.floor((root.width + root.gap) / (root.min-card + root.gap)));
property <length> card-w: (root.width - (root.cols - 1) * root.gap) / root.cols;
- /// poster + the name, the detail and the when under it — and the
- /// new-project card is the same box, so the grid has one row height.
- property <length> card-h: root.card-w * 9 / 16 + 74px;
- /// On a phone the new-project card is a row across the top of the grid
- /// instead of its first cell - height is the scarce axis there, and a
- /// poster's worth of it for a plus and a word is too much of it. The
- /// posters then start from the grid's first cell, under the row.
- property <bool> banner: root.touchy;
- property <length> banner-h: 52px;
- property <length> top: root.banner
- ? root.banner-h + (root.recents.length > 0 ? root.gap : 0px)
- : 0px;
- /// Which cell the first poster takes: the second, after the card, or
- /// the first under the row.
- property <int> first: root.banner ? 0 : 1;
- /// The new-project card, where it is a cell, and every project after it.
- property <int> count: root.recents.length + root.first;
- property <int> rows: Math.ceil(root.count / root.cols);
-
- height: root.top + Math.max(0px, root.rows * (root.card-h + root.gap) - root.gap);
+ /// The inset poster, and the name and the line under it.
+ property <length> card-h: (root.card-w - 12px) * 9 / 16 + 70px;
+ property <int> rows: Math.ceil(root.recents.length / root.cols);
- NewProjectCard {
- x: 0;
- y: 0;
- width: root.banner ? root.width : root.card-w;
- height: root.banner ? root.banner-h : root.card-h;
- banner: root.banner;
- enabled: root.enabled;
- clicked => { root.compose(); }
- }
+ height: Math.max(0px, root.rows * (root.card-h + root.gap) - root.gap);
for project[index] in root.recents: PosterCard {
- x: Math.mod(index + root.first, root.cols) * (root.card-w + root.gap);
- y: root.top + Math.floor((index + root.first) / root.cols) * (root.card-h + root.gap);
+ x: Math.mod(index, root.cols) * (root.card-w + root.gap);
+ y: Math.floor(index / root.cols) * (root.card-h + root.gap);
width: root.card-w;
height: root.card-h;
project: project;
enabled: root.enabled;
touchy: root.touchy;
+ can-reveal: root.can-reveal;
opened => { root.opened(project.path); }
forgotten => { root.forgotten(project.path); }
+ revealed => { root.revealed(project.path); }
}
}
-// ── the screen ───────────────────────────────────────────────────────────
+// One project as a row of a list: the narrow page's shape, where a grid of
+// posters a thumb wide is a column of stamps. The poster small at the
+// start, the name and what it is beside it, Remove at the end.
+component ProjectRow inherits Pressable {
+ in property <RecentProjectData> project;
-export component StartScreen inherits Rectangle {
- in property <[RecentProjectData]> recents;
- /// A project is being made: every verb on the page waits for it.
- in property <bool> busy;
+ callback opened();
+ callback forgotten();
- /// Put up the sheet a new project is described on.
- callback compose();
- /// Open a project that already exists, picked from disk.
- callback open();
- callback open-recent(path: string);
- callback forget-recent(path: string);
- callback open-settings();
+ label: root.project.name;
+ radius: Theme.r;
+ clicked => { root.opened(); }
+ deleted => { root.forgotten(); }
+ height: 68px;
+ background: root.lit || root.down ? Theme.launch-raised : Colors.transparent;
- /// A phone held upright, or a window squeezed that far: under this the
- /// rail is gone and its verbs sit on the heading's row.
- /// A phone: no folder picker, so no Open and no Choose - projects live
- /// in the app's own folder, which the page already lists, and the
- /// location is shown rather than typed. See platform::pick_folder.
- /// https://github.com/jub0t/Concat/issues/222
- in property <bool> phone;
- property <bool> narrow: root.width < 680px;
- /// Under this the rail keeps its verbs but loses its words.
- property <bool> compact-rail: root.width < 940px;
- /// The margin the content keeps from the page's edges: between the
- /// phone's 20px and the desktop's 56px.
- property <length> pad: Math.max(20px, Math.min(56px, root.width / 14));
- /// Room above the heading. The site opens on a screen of air; a window
- /// has less of it to give. A phone has the least, and still wants the
- /// heading well clear of the top edge and whatever bar sits on it.
- property <length> pad-top: root.narrow ? 40px
- : Math.max(32px, Math.min(88px, root.height / 9));
- /// The content column: wide enough that the cards read as a shelf.
- property <length> content-w: 1120px;
- /// The rail's width, and the page's left edge. Zero is a phone, which
- /// has the rail's verbs on the heading's row instead.
- property <length> rail-w: root.narrow ? 0px : (root.compact-rail ? 62px : 208px);
+ HorizontalLayout {
+ padding-left: 8px;
+ padding-right: 2px;
+ padding-top: 8px;
+ padding-bottom: 8px;
+ spacing: 12px;
- background: Theme.launch-page;
- clip: true;
+ Rectangle {
+ width: 92px;
+ border-radius: Theme.r-sm;
+ background: Theme.launch-well;
+ clip: true;
- // Placed rather than laid out. A HorizontalLayout here would make this
- // screen's minimum width the rail's plus the page's, and `narrow` —
- // which decides whether there is a rail at all — is read from the width
- // that minimum helps decide. Slint calls that a binding loop and is
- // right to. Two absolute boxes have no such opinion.
- if !root.narrow: Rail {
- x: 0;
- y: 0;
- width: root.rail-w;
- height: root.height;
+ if root.project.poster.width > 0 && !root.project.missing: Image {
+ width: parent.width;
+ height: parent.height;
+ source: root.project.poster;
+ image-fit: cover;
+ }
- compact: root.compact-rail;
- enabled: !root.busy;
- compose => { root.compose(); }
- open => { root.open(); }
+ if root.project.poster.width == 0 || root.project.missing: Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: root.project.missing ? Glyph.folder : Glyph.film;
+ size: 16px;
+ weight: 1.5;
+ tint: Theme.fg-dim;
+ }
+
+ if root.project.length != "" && !root.project.missing: Rectangle {
+ x: parent.width - self.width - 4px;
+ y: parent.height - self.height - 4px;
+ width: row-length.preferred-width + 8px;
+ height: 16px;
+ border-radius: Theme.r-xs;
+ background: Theme.scrim;
+
+ row-length := Text {
+ text: root.project.length;
+ color: Theme.on-scrim;
+ font-family: Theme.font-technical;
+ font-size: Theme.fs-xs;
+ vertical-alignment: center;
+ horizontal-alignment: center;
+ }
+ }
+ }
+
+ VerticalLayout {
+ alignment: center;
+ horizontal-stretch: 1;
+ spacing: 3px;
+
+ Text {
+ text: root.project.name;
+ color: root.project.missing ? Theme.fg-muted : Theme.fg;
+ font-size: Theme.fs-xl;
+ font-weight: Theme.weight-title;
+ overflow: elide;
+ }
+
+ Text {
+ text: root.project.missing ? I18n.t("start.folderNotFound")
+ : root.project.when + " · " + root.project.detail;
+ color: Theme.fg-dim;
+ font-size: Theme.fs-sm;
+ overflow: elide;
+ }
+ }
+
+ // A thumb's target, though the cross is small: the whole square
+ // at the row's end takes the press.
+ Rectangle {
+ width: 44px;
+
+ Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: Glyph.close;
+ size: 14px;
+ tint: forget.pressed || forget.has-hover ? Theme.fg : Theme.fg-dim;
+ }
+
+ forget := TouchArea {
+ mouse-cursor: pointer;
+ clicked => { root.forgotten(); }
+ }
+ }
}
+}
- Rectangle {
- x: root.rail-w;
- y: 0;
- width: root.width - root.rail-w;
- height: root.height;
+// The search over the projects: a pill with the glass at its start and a
+// cross at its end once there is something to clear.
+component SearchField inherits Rectangle {
+ in property <string> text;
+ in property <string> placeholder;
- // The page scrolls when it does not fit: a wheel, a trackpad or
- // a finger, which a Flickable takes all of. It clamps its own
- // travel.
- flick := Flickable {
- content-width: self.width;
- content-height: Math.max(self.height,
- column.height + root.pad-top + root.pad);
- interactive: column.height + root.pad-top + root.pad > self.height;
-
- column := Rectangle {
- x: (flick.width - self.width) / 2;
- y: root.pad-top;
- width: Math.min(flick.width - 2 * root.pad, root.content-w);
- height: stack.preferred-height;
-
- stack := VerticalLayout {
- alignment: start;
+ callback edited(text: string);
- // ── the heading ──────────────────────────────────────
- HorizontalLayout {
- spacing: 8px;
+ // Seeded, never bound: see PlainInput, same reason.
+ property <string> draft;
+ function seed() { root.draft = root.text; }
+ init => { root.seed(); }
+ changed text => {
+ if (!input.has-focus) {
+ root.seed();
+ }
+ }
- Text {
- horizontal-stretch: 1;
- text: I18n.t("start.projects");
- color: Theme.fg;
- // The one display-sized line in the app. The
- // tree bundles two faces and no display face,
- // so the interface face carries it at its
- // heaviest weight and tight tracking — -0.03em,
- // which at 34px is a point. A phone gets it at
- // 26px, still the largest thing on its screen
- // and no longer half of it.
- font-size: root.narrow ? 26px : Theme.fs-display;
- font-weight: Theme.weight-display;
- letter-spacing: root.narrow ? -0.6px : -1px;
- vertical-alignment: center;
- wrap: word-wrap;
- }
+ height: 34px;
+ border-radius: self.height / 2;
+ background: Theme.launch-panel;
+ border-width: 1px;
+ border-color: input.has-focus ? Theme.accent
+ : touch.has-hover ? Theme.line-strong : Theme.line;
- // The rail's job, on a phone: its two verbs beside
- // the heading, since there is no column to put
- // them in. The third verb is already on the page,
- // as the first card.
- if root.narrow && !root.phone: VerticalLayout {
- alignment: center;
- horizontal-stretch: 0;
- BarAction {
- glyph: Glyph.folder;
- label: I18n.t("start.openProject");
- enabled: !root.busy;
- clicked => { root.open(); }
- }
+ animate border-color { duration: 120ms; }
+
+ touch := TouchArea {
+ mouse-cursor: MouseCursor.text;
+ clicked => { input.focus(); }
+ }
+
+ Icon {
+ x: 12px;
+ y: (parent.height - self.height) / 2;
+ glyph: Glyph.search;
+ size: 14px;
+ tint: Theme.fg-dim;
+ }
+
+ input := TextInput {
+ x: 34px;
+ y: (parent.height - self.height) / 2;
+ width: parent.width - 34px - 32px;
+ height: self.preferred-height;
+ text <=> root.draft;
+ color: Theme.fg;
+ font-size: Theme.fs-lg;
+ single-line: true;
+ selection-background-color: Theme.accent;
+ selection-foreground-color: Theme.on-accent;
+ accessible-label: root.placeholder;
+ edited => { root.edited(self.text); }
+ }
+
+ if root.draft == "": Text {
+ x: 34px;
+ y: (parent.height - self.height) / 2;
+ width: parent.width - 34px - 12px;
+ text: root.placeholder;
+ color: Theme.fg-dim;
+ font-size: Theme.fs-lg;
+ overflow: elide;
+ }
+
+ if root.draft != "": Rectangle {
+ x: parent.width - self.width - 6px;
+ y: (parent.height - self.height) / 2;
+ width: 24px;
+ height: 24px;
+ border-radius: self.width / 2;
+ background: clear.has-hover ? Theme.launch-field : Colors.transparent;
+
+ Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: Glyph.close;
+ size: 12px;
+ tint: Theme.fg-muted;
+ }
+
+ clear := TouchArea {
+ mouse-cursor: pointer;
+ clicked => {
+ root.draft = "";
+ root.edited("");
+ }
+ }
+ }
+}
+
+/// One card of the learn-and-community section: where it goes by name -
+/// see `start::link` in Rust, and "shortcuts", which opens Settings - and
+/// what it says.
+struct LearnItem {
+ name: string,
+ glyph: Glyph,
+ title: string,
+ note: string,
+ /// Leaves the app for a web page: the arrow says so.
+ external: bool,
+}
+
+// One learn-and-community card: a mark in a square well, a title and the
+// line under it, and an arrow out when it opens a web page. `flat` is the
+// row of a grouped list, with the list's surface rather than its own.
+component LearnCard inherits Pressable {
+ in property <LearnItem> item;
+ in property <bool> flat;
+
+ label: root.item.title;
+ radius: root.flat ? Theme.r : Theme.r-lg;
+ background: root.lit || root.down ? Theme.launch-raised
+ : root.flat ? Colors.transparent : Theme.launch-panel;
+ border-width: root.flat ? 0px : 1px;
+ border-color: root.lit ? Theme.line-strong : Theme.line;
+
+ animate background, border-color { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }
+
+ HorizontalLayout {
+ padding-left: root.flat ? 10px : 14px;
+ padding-right: 14px;
+ spacing: 12px;
+
+ VerticalLayout {
+ alignment: center;
+ Rectangle {
+ width: 34px;
+ height: 34px;
+ border-radius: Theme.r;
+ background: root.lit ? Theme.launch-field-active : Theme.launch-field;
+
+ Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: root.item.glyph;
+ size: 17px;
+ tint: Theme.fg;
+ }
+ }
+ }
+
+ VerticalLayout {
+ alignment: center;
+ horizontal-stretch: 1;
+ spacing: 2px;
+
+ Text {
+ text: root.item.title;
+ color: Theme.fg;
+ font-size: Theme.fs-lg;
+ font-weight: Theme.weight-title;
+ overflow: elide;
+ }
+
+ Text {
+ text: root.item.note;
+ color: Theme.fg-dim;
+ font-size: Theme.fs-sm;
+ overflow: elide;
+ }
+ }
+
+ VerticalLayout {
+ alignment: center;
+ Icon {
+ glyph: root.item.external ? Glyph.arrow-up-right : Glyph.chevron-right;
+ size: 14px;
+ tint: root.lit ? Theme.fg : Theme.fg-dim;
+ }
+ }
+ }
+}
+
+// A word that goes somewhere: the version line's release notes.
+component TextLink inherits Pressable {
+ in property <string> text;
+
+ label: root.text;
+ radius: Theme.r-xs;
+ width: link-text.preferred-width + 14px;
+ height: 22px;
+
+ HorizontalLayout {
+ alignment: start;
+ spacing: 3px;
+
+ link-text := Text {
+ text: root.text;
+ color: root.lit ? Theme.fg : Theme.fg-muted;
+ font-size: Theme.fs-sm;
+ vertical-alignment: center;
+ }
+
+ VerticalLayout {
+ alignment: center;
+ Icon {
+ glyph: Glyph.arrow-up-right;
+ size: 11px;
+ tint: root.lit ? Theme.fg : Theme.fg-dim;
+ }
+ }
+ }
+}
+
+// The section headings: a title, and room at the end of its row for what
+// works on the section - the search and the sort.
+component SectionHead inherits HorizontalLayout {
+ in property <string> text;
+ /// A count beside the title, when there is one to give.
+ in property <string> count;
+
+ spacing: 10px;
+
+ VerticalLayout {
+ alignment: center;
+ Text {
+ text: root.text;
+ color: Theme.fg;
+ font-size: 17px;
+ font-weight: Theme.weight-title;
+ }
+ }
+
+ if root.count != "": VerticalLayout {
+ alignment: center;
+ Rectangle {
+ width: count-text.preferred-width + 14px;
+ height: 20px;
+ border-radius: self.height / 2;
+ background: Theme.launch-field;
+
+ count-text := Text {
+ text: root.count;
+ color: Theme.fg-muted;
+ font-family: Theme.font-technical;
+ font-size: Theme.fs-sm;
+ vertical-alignment: center;
+ horizontal-alignment: center;
+ }
+ }
+ }
+
+ Rectangle { horizontal-stretch: 1; }
+
+ @children
+}
+
+// What the projects section says when there are none: an invitation, not
+// a blank. The way in for someone who has never cut a video is the guide
+// that walks through the first one.
+component EmptyProjects inherits Rectangle {
+ callback first-edit();
+
+ border-radius: Theme.r-lg;
+ border-width: 1px;
+ border-color: Theme.line;
+ background: Theme.launch-panel;
+ height: body.preferred-height;
+
+ body := VerticalLayout {
+ padding: 36px;
+ spacing: 12px;
+ alignment: center;
+
+ HorizontalLayout {
+ alignment: center;
+ Rectangle {
+ width: 52px;
+ height: 52px;
+ border-radius: self.width / 2;
+ background: Theme.launch-field;
+
+ Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: Glyph.film;
+ size: 22px;
+ weight: 1.6;
+ tint: Theme.fg-muted;
+ }
+ }
+ }
+
+ Text {
+ text: I18n.t("start.noProjectsYet");
+ color: Theme.fg;
+ font-size: 16px;
+ font-weight: Theme.weight-title;
+ horizontal-alignment: center;
+ }
+
+ HorizontalLayout {
+ alignment: center;
+ Text {
+ max-width: 460px;
+ text: I18n.t("start.noProjectsNote");
+ color: Theme.fg-muted;
+ font-size: Theme.fs-lg;
+ horizontal-alignment: center;
+ wrap: word-wrap;
+ }
+ }
+
+ Rectangle { height: 4px; }
+
+ HorizontalLayout {
+ alignment: center;
+ PillButton {
+ label: I18n.t("start.firstEdit");
+ glyph: Glyph.circle-play;
+ clicked => { root.first-edit(); }
+ }
+ }
+ }
+}
+
+// The line at the foot of the page: which Concat this is, and what changed
+// in it.
+component VersionLine inherits HorizontalLayout {
+ in property <string> version;
+
+ callback notes();
+
+ spacing: 10px;
+
+ VerticalLayout {
+ alignment: center;
+ Text {
+ text: "Concat " + root.version;
+ color: Theme.fg-dim;
+ font-family: Theme.font-technical;
+ font-size: Theme.fs-sm;
+ }
+ }
+
+ VerticalLayout {
+ alignment: center;
+ Rectangle {
+ width: 3px;
+ height: 3px;
+ border-radius: 1.5px;
+ background: Theme.fg-dim;
+ }
+ }
+
+ TextLink {
+ text: I18n.t1("start.whatsNew", root.version);
+ clicked => { root.notes(); }
+ }
+
+ Rectangle { horizontal-stretch: 1; }
+}
+
+// The cards, and the words on them, in one place: the wide page lays them
+// as a column beside the projects or a grid under them, the narrow one as
+// a list. The phone has no Shortcuts page in its Settings, so it has no
+// card for one.
+global Learn {
+ out property <LearnItem> docs: {
+ name: "guides", glyph: Glyph.book, external: true,
+ title: I18n.t("start.documentation"), note: I18n.t("start.documentationNote"),
+ };
+ out property <LearnItem> guide: {
+ name: "first-edit", glyph: Glyph.circle-play, external: true,
+ title: I18n.t("start.firstEdit"), note: I18n.t("start.firstEditNote"),
+ };
+ out property <LearnItem> keys: {
+ name: "shortcuts", glyph: Glyph.keyboard, external: false,
+ title: I18n.t("start.keyboardShortcuts"), note: I18n.t("start.keyboardShortcutsNote"),
+ };
+ out property <LearnItem> code: {
+ name: "github", glyph: Glyph.github, external: true,
+ title: "GitHub", note: I18n.t("start.githubNote"),
+ };
+ out property <LearnItem> chat: {
+ name: "discord", glyph: Glyph.discord, external: true,
+ title: "Discord", note: I18n.t("start.discordNote"),
+ };
+ out property <LearnItem> report: {
+ name: "report", glyph: Glyph.bug, external: true,
+ title: I18n.t("start.reportProblem"), note: I18n.t("start.reportProblemNote"),
+ };
+ out property <[LearnItem]> desk: [docs, guide, keys, code, chat, report];
+ out property <[LearnItem]> phone: [docs, guide, code, chat, report];
+}
+
+// The learn cards as a grid of rows, for the wide page under the projects
+// when there is no room for a column beside them.
+component LearnGrid inherits Rectangle {
+ in property <[LearnItem]> items;
+
+ callback link(name: string);
+
+ property <length> gap: 12px;
+ property <int> cols: root.width >= 860px ? 3 : 2;
+ property <length> card-w: (root.width - (root.cols - 1) * root.gap) / root.cols;
+ property <length> card-h: 64px;
+ property <int> rows: Math.ceil(root.items.length / root.cols);
+
+ height: Math.max(0px, root.rows * (root.card-h + root.gap) - root.gap);
+
+ for item[index] in root.items: LearnCard {
+ x: Math.mod(index, root.cols) * (root.card-w + root.gap);
+ y: Math.floor(index / root.cols) * (root.card-h + root.gap);
+ width: root.card-w;
+ height: root.card-h;
+ item: item;
+ clicked => { root.link(item.name); }
+ }
+}
+
+// ── the screen ───────────────────────────────────────────────────────────
+
+// The wide page: a desk's window, from 680px across to a 4K screen.
+//
+// One column, centred, no wider than reads well: a greeting, the create
+// row, the projects, and - once the column is wide enough to spare it - a
+// learn-and-community panel beside the projects rather than under them,
+// so it is in view without a scroll and the projects keep the width.
+component WideHome inherits Rectangle {
+ in property <[RecentProjectData]> recents;
+ in property <int> recents-total;
+ in property <string> query;
+ in property <int> sort;
+ in property <bool> busy;
+ in property <string> version;
+ in property <bool> can-drop;
+
+ callback compose();
+ callback open();
+ callback open-recent(path: string);
+ callback forget-recent(path: string);
+ callback reveal-recent(path: string);
+ callback search-edited(query: string);
+ callback sort-changed(sort: int);
+ callback link(name: string);
+
+ /// The margin the page keeps from the window's edges.
+ property <length> pad: Math.max(24px, Math.min(64px, root.width / 18));
+ property <length> pad-top: Math.max(28px, Math.min(72px, root.height / 12));
+ property <length> content-w: Math.min(root.width - 2 * root.pad, 1360px);
+ /// Room for the learn panel beside the projects.
+ property <bool> aside: root.content-w >= 1100px;
+ property <length> aside-w: root.content-w >= 1280px ? 360px : 330px;
+ property <length> aside-gap: 40px;
+ property <length> main-w: root.aside ? root.content-w - root.aside-w - root.aside-gap
+ : root.content-w;
+ /// The drop tile, beside New and Open, where they still have room.
+ property <bool> drop-tile: root.can-drop && root.main-w >= 940px;
+ /// The create row shares its width by weight - New a third again as
+ /// wide as the others - and not by what its words would like, so a
+ /// longer line on one tile does not shoulder the others aside.
+ property <length> tile-unit: (root.main-w - (root.drop-tile ? 2 : 1) * 14px)
+ / (root.drop-tile ? 3.3 : 2.3);
+ property <bool> searchable: root.recents-total > 8;
+
+ flick := Flickable {
+ content-width: self.width;
+ content-height: Math.max(self.height, page.height + root.pad-top + root.pad);
+ interactive: page.height + root.pad-top + root.pad > self.height;
+
+ page := Rectangle {
+ x: (flick.width - self.width) / 2;
+ y: root.pad-top;
+ width: root.content-w;
+ height: Math.max(main.preferred-height,
+ root.aside ? side.y + side-body.preferred-height : 0px);
+
+ main := VerticalLayout {
+ x: 0;
+ y: 0;
+ width: root.main-w;
+ height: self.preferred-height;
+ alignment: start;
+
+ // ── the greeting ─────────────────────────────────────
+ Text {
+ text: root.recents-total == 0
+ ? I18n.t("start.welcome")
+ : I18n.t("start.welcomeBack");
+ color: Theme.fg;
+ // The one display-sized line in the app. The tree
+ // bundles no display face, so the interface face
+ // carries it at its heaviest weight and tight tracking.
+ font-size: Theme.fs-display;
+ font-weight: Theme.weight-display;
+ letter-spacing: -1px;
+ wrap: word-wrap;
+ }
+
+ Rectangle { height: 8px; }
+
+ Text {
+ text: root.recents-total == 0
+ ? I18n.t("start.welcomeNote")
+ : I18n.t("start.welcomeBackNote");
+ color: Theme.fg-muted;
+ font-size: Theme.fs-xl;
+ wrap: word-wrap;
+ }
+
+ Rectangle { height: 28px; }
+
+ // ── create ───────────────────────────────────────────
+ create-row := HorizontalLayout {
+ height: 92px;
+ spacing: 14px;
+
+ CreateTile {
+ width: root.tile-unit * 1.3;
+ primary: true;
+ glyph: Glyph.plus;
+ title: I18n.t("start.newProject");
+ note: I18n.t("start.newProjectNote");
+ enabled: !root.busy;
+ clicked => { root.compose(); }
+ }
+
+ CreateTile {
+ width: root.tile-unit;
+ glyph: Glyph.folder;
+ title: I18n.t("start.openProject");
+ note: I18n.t("start.openProjectNote");
+ enabled: !root.busy;
+ clicked => { root.open(); }
+ }
+
+ if root.drop-tile: DropTile {
+ width: root.tile-unit;
+ }
+ }
+
+ // Where the tile does not fit, a line says what it would.
+ if root.can-drop && !root.drop-tile: VerticalLayout {
+ padding-top: 12px;
+ Text {
+ text: I18n.t("start.dropHint");
+ color: Theme.fg-dim;
+ font-size: Theme.fs;
+ wrap: word-wrap;
+ }
+ }
+
+ Rectangle { height: 44px; }
+
+ // ── the projects ─────────────────────────────────────
+ SectionHead {
+ height: 34px;
+ text: I18n.t("start.recentProjects");
+ count: root.recents-total > 0 ? "\{root.recents-total}" : "";
+
+ // Past a page of them: by the time there are more
+ // than a screen holds, the eye is not a search.
+ if root.searchable: SearchField {
+ width: Math.min(260px, root.main-w * 0.32);
+ text: root.query;
+ placeholder: I18n.t("start.searchProjects");
+ edited(text) => { root.search-edited(text); }
+ }
+
+ if root.searchable: VerticalLayout {
+ alignment: center;
+ SegmentedControl {
+ width: 156px;
+ options: [I18n.t("start.sortRecent"), I18n.t("start.sortName")];
+ current: root.sort;
+ changed(index) => { root.sort-changed(index); }
}
+ }
+ }
- if root.narrow: VerticalLayout {
- alignment: center;
- horizontal-stretch: 0;
- BarAction {
- glyph: Glyph.settings;
- label: I18n.t("common.settings");
- enabled: !root.busy;
- clicked => { root.open-settings(); }
- }
+ Rectangle { height: 16px; }
+
+ if root.recents-total == 0: EmptyProjects {
+ first-edit => { root.link("first-edit"); }
+ }
+
+ if root.recents-total > 0 && root.recents.length == 0: Text {
+ text: I18n.t1("start.noMatches", root.query);
+ color: Theme.fg-muted;
+ font-size: Theme.fs-lg;
+ wrap: word-wrap;
+ }
+
+ ProjectsGrid {
+ recents: root.recents;
+ enabled: !root.busy;
+ can-reveal: true;
+ opened(path) => { root.open-recent(path); }
+ forgotten(path) => { root.forget-recent(path); }
+ revealed(path) => { root.reveal-recent(path); }
+ }
+
+ // ── learn, under the projects ────────────────────────
+ if !root.aside: VerticalLayout {
+ padding-top: 48px;
+ spacing: 16px;
+
+ SectionHead {
+ height: 34px;
+ text: I18n.t("start.learnAndCommunity");
+ }
+
+ LearnGrid {
+ items: Learn.desk;
+ link(name) => { root.link(name); }
+ }
+
+ VersionLine {
+ padding-top: 8px;
+ version: root.version;
+ notes => { root.link("release-notes"); }
+ }
+ }
+ }
+
+ // ── learn, beside the projects ───────────────────────────
+ // From the create row down, so its top lines up with the
+ // first thing that can be pressed.
+ side := Rectangle {
+ x: root.main-w + root.aside-gap;
+ y: create-row.y;
+ width: root.aside-w;
+ height: side-body.preferred-height;
+ visible: root.aside;
+ border-radius: Theme.r-lg;
+ background: Theme.launch-panel;
+ border-width: 1px;
+ border-color: Theme.line;
+
+ side-body := VerticalLayout {
+ padding: 8px;
+ padding-top: 16px;
+ spacing: 2px;
+
+ HorizontalLayout {
+ padding-left: 10px;
+ Text {
+ text: I18n.t("start.learnAndCommunity");
+ color: Theme.fg;
+ font-size: Theme.fs-xl;
+ font-weight: Theme.weight-title;
}
}
Rectangle { height: 8px; }
- Text {
- text: I18n.t("start.everythingHaveOpenedMachine");
- color: Theme.fg-muted;
- font-size: root.narrow ? Theme.fs-lg : Theme.fs-xl;
- wrap: word-wrap;
+ for item in Learn.desk: LearnCard {
+ height: 58px;
+ flat: true;
+ item: item;
+ enabled: root.aside;
+ clicked => { root.link(item.name); }
}
- Rectangle { height: root.narrow ? 24px : 34px; }
+ Rectangle {
+ height: 1px;
+ background: Theme.line;
+ }
- // ── the grid ─────────────────────────────────────────
- ProjectsGrid {
- recents: root.recents;
- enabled: !root.busy;
- touchy: root.narrow;
- compose => { root.compose(); }
- opened(path) => { root.open-recent(path); }
- forgotten(path) => { root.forget-recent(path); }
+ VersionLine {
+ padding-left: 10px;
+ padding-top: 8px;
+ padding-bottom: 4px;
+ version: root.version;
+ notes => { root.link("release-notes"); }
}
}
}
}
+ }
- if flick.interactive: ThinScrollbar {
- x: parent.width - self.width - 2px;
+ if flick.interactive: ThinScrollbar {
+ x: parent.width - self.width - 2px;
+ y: 0;
+ height: parent.height;
+ viewport: parent.height;
+ content: flick.content-height;
+ offset: -flick.content-y;
+ scrolled(to) => { flick.content-y = -to; }
+ }
+}
+
+// The narrow page: a phone held upright, or a desk's window squeezed that
+// far. Stacked the way a phone's own apps are - the greeting with Settings
+// beside it, New project across the width under the thumb, the projects as
+// a list, and the learn cards as one grouped list at the foot.
+component NarrowHome inherits Rectangle {
+ in property <[RecentProjectData]> recents;
+ in property <int> recents-total;
+ in property <string> query;
+ in property <bool> busy;
+ in property <string> version;
+ /// A phone: no folder picker, so no Open; projects live in the app's
+ /// own folder, which the page already lists. See platform::pick_folder.
+ /// https://github.com/jub0t/Concat/issues/222
+ in property <bool> phone;
+
+ callback compose();
+ callback open();
+ callback open-settings();
+ callback open-recent(path: string);
+ callback forget-recent(path: string);
+ callback search-edited(query: string);
+ callback link(name: string);
+
+ property <length> pad: 16px;
+ property <bool> searchable: root.recents-total > 8;
+
+ flick := Flickable {
+ content-width: self.width;
+ content-height: Math.max(self.height, stack.preferred-height);
+ interactive: stack.preferred-height > self.height;
+
+ stack := VerticalLayout {
+ x: 0;
y: 0;
- height: parent.height;
- viewport: parent.height;
- content: flick.content-height;
- offset: -flick.content-y;
- scrolled(to) => { flick.content-y = -to; }
+ width: flick.width;
+ height: self.preferred-height;
+ padding-left: root.pad;
+ padding-right: root.pad;
+ padding-top: 24px;
+ padding-bottom: 28px;
+ alignment: start;
+
+ HorizontalLayout {
+ spacing: 8px;
+
+ Text {
+ horizontal-stretch: 1;
+ text: root.recents-total == 0
+ ? I18n.t("start.welcome")
+ : I18n.t("start.welcomeBack");
+ color: Theme.fg;
+ font-size: 26px;
+ font-weight: Theme.weight-display;
+ letter-spacing: -0.6px;
+ vertical-alignment: center;
+ wrap: word-wrap;
+ }
+
+ if !root.phone: VerticalLayout {
+ alignment: center;
+ BarAction {
+ glyph: Glyph.folder;
+ label: I18n.t("start.openProject");
+ enabled: !root.busy;
+ clicked => { root.open(); }
+ }
+ }
+
+ VerticalLayout {
+ alignment: center;
+ BarAction {
+ glyph: Glyph.settings;
+ label: I18n.t("common.settings");
+ enabled: !root.busy;
+ clicked => { root.open-settings(); }
+ }
+ }
+ }
+
+ Rectangle { height: 6px; }
+
+ Text {
+ text: root.recents-total == 0
+ ? I18n.t("start.welcomeNote")
+ : I18n.t("start.welcomeBackNote");
+ color: Theme.fg-muted;
+ font-size: Theme.fs-lg;
+ wrap: word-wrap;
+ }
+
+ Rectangle { height: 20px; }
+
+ // New project across the width: the one thing on the screen
+ // that starts something, where a thumb reaches.
+ CreateTile {
+ height: 72px;
+ primary: true;
+ glyph: Glyph.plus;
+ title: I18n.t("start.newProject");
+ note: I18n.t("start.newProjectNote");
+ enabled: !root.busy;
+ clicked => { root.compose(); }
+ }
+
+ Rectangle { height: 32px; }
+
+ SectionHead {
+ height: 28px;
+ text: I18n.t("start.recentProjects");
+ count: root.recents-total > 0 ? "\{root.recents-total}" : "";
+ }
+
+ if root.searchable: VerticalLayout {
+ padding-top: 12px;
+ SearchField {
+ text: root.query;
+ placeholder: I18n.t("start.searchProjects");
+ edited(text) => { root.search-edited(text); }
+ }
+ }
+
+ Rectangle { height: 10px; }
+
+ if root.recents-total == 0: EmptyProjects {
+ first-edit => { root.link("first-edit"); }
+ }
+
+ if root.recents-total > 0 && root.recents.length == 0: Text {
+ text: I18n.t1("start.noMatches", root.query);
+ color: Theme.fg-muted;
+ font-size: Theme.fs-lg;
+ wrap: word-wrap;
+ }
+
+ for project in root.recents: ProjectRow {
+ project: project;
+ enabled: !root.busy;
+ opened => { root.open-recent(project.path); }
+ forgotten => { root.forget-recent(project.path); }
+ }
+
+ Rectangle { height: 32px; }
+
+ SectionHead {
+ height: 28px;
+ text: I18n.t("start.learnAndCommunity");
+ }
+
+ Rectangle { height: 10px; }
+
+ // One grouped list, as a phone's settings are: one surface,
+ // rows on it, hairlines between.
+ Rectangle {
+ border-radius: Theme.r-lg;
+ background: Theme.launch-panel;
+ border-width: 1px;
+ border-color: Theme.line;
+ height: list.preferred-height;
+
+ list := VerticalLayout {
+ padding: 6px;
+
+ for item[index] in (root.phone ? Learn.phone : Learn.desk): VerticalLayout {
+ if index > 0: Rectangle {
+ height: 1px;
+ background: Theme.line;
+ }
+
+ LearnCard {
+ height: 56px;
+ flat: true;
+ item: item;
+ clicked => { root.link(item.name); }
+ }
+ }
+ }
+ }
+
+ Rectangle { height: 16px; }
+
+ VersionLine {
+ version: root.version;
+ notes => { root.link("release-notes"); }
+ }
}
}
}
+// The launch screen: the window's own ground under all of it - no card
+// round the whole thing, no shadow. A setup screen is not a dialog floating
+// over something; it *is* the window. Two shapes by the width it is given,
+// since a Slint layout has no wrap; see WideHome and NarrowHome.
+export component StartScreen inherits Rectangle {
+ /// The projects the grid shows: the search applied and the sort.
+ in property <[RecentProjectData]> recents;
+ /// How many there are before the search.
+ in property <int> recents-total;
+ in property <string> query;
+ in property <int> sort;
+ /// A project is being made: every verb on the page waits for it.
+ in property <bool> busy;
+ /// "0.2.7"
+ in property <string> version;
+ /// A file can be dragged in from the system here.
+ in property <bool> can-drop;
+ in property <bool> phone;
+
+ /// Put up the sheet a new project is described on.
+ callback compose();
+ /// Open a project that already exists, picked from disk.
+ callback open();
+ callback open-recent(path: string);
+ callback forget-recent(path: string);
+ callback reveal-recent(path: string);
+ callback open-settings();
+ callback search-edited(query: string);
+ callback sort-changed(sort: int);
+ /// One of the page's links, by name; see `start::link` in Rust.
+ callback link(name: string);
+
+ property <bool> narrow: root.phone || root.width < 680px;
+
+ background: Theme.launch-page;
+ clip: true;
+
+ if !root.narrow: WideHome {
+ width: root.width;
+ height: root.height;
+ recents: root.recents;
+ recents-total: root.recents-total;
+ query: root.query;
+ sort: root.sort;
+ busy: root.busy;
+ version: root.version;
+ can-drop: root.can-drop;
+ compose => { root.compose(); }
+ open => { root.open(); }
+ open-recent(path) => { root.open-recent(path); }
+ forget-recent(path) => { root.forget-recent(path); }
+ reveal-recent(path) => { root.reveal-recent(path); }
+ search-edited(query) => { root.search-edited(query); }
+ sort-changed(sort) => { root.sort-changed(sort); }
+ link(name) => { root.link(name); }
+ }
+
+ if root.narrow: NarrowHome {
+ width: root.width;
+ height: root.height;
+ recents: root.recents;
+ recents-total: root.recents-total;
+ query: root.query;
+ busy: root.busy;
+ version: root.version;
+ phone: root.phone;
+ compose => { root.compose(); }
+ open => { root.open(); }
+ open-settings => { root.open-settings(); }
+ open-recent(path) => { root.open-recent(path); }
+ forget-recent(path) => { root.forget-recent(path); }
+ search-edited(query) => { root.search-edited(query); }
+ link(name) => { root.link(name); }
+ }
+}
+
// ── the sheet ────────────────────────────────────────────────────────────
// The new project's form, over the window: what the card at the head of
@@ -1274,6 +2206,33 @@ export component NewProjectDialog inherits Modal {
wrap: word-wrap;
}
+ // Files dropped on the launch screen: the sheet is up because of
+ // them, and says where they are going.
+ if root.data.dropped > 0: HorizontalLayout {
+ padding-top: 10px;
+ spacing: 8px;
+
+ VerticalLayout {
+ alignment: start;
+ padding-top: 1px;
+ Icon {
+ glyph: Glyph.import;
+ size: 13px;
+ tint: Theme.accent;
+ }
+ }
+
+ Text {
+ horizontal-stretch: 1;
+ text: root.data.dropped == 1
+ ? I18n.t("start.droppedOneFile")
+ : I18n.t1("start.droppedFiles", "\{root.data.dropped}");
+ color: Theme.fg;
+ font-size: Theme.fs;
+ wrap: word-wrap;
+ }
+ }
+
FormRow {
label: I18n.upper("common.name");
stacked: root.narrow;