Files
TREK/client/ios/App/ShareExtension/zh-Hans.lproj/Localizable.strings
T
Maurice 7b8bd4b166 feat(native): TREK in the share sheet, with the trip picked right there
A share extension puts TREK in the share sheet of Mail, Safari, Files, Wallet
and any app that shares a document, a link, text or a photo. It shows what came
in (a Wallet pass, a PDF, a mail, the page as Safari rendered it, text, a photo)
and the user's trips with their covers, the next one already picked, and hands
both to the app, which opens that trip's booking import with the file in place.
"Choose later" leaves the trip question to the app's import sheet as before.

- ShareExtension target (add-extension.rb learns "share": JavaScript and the
  localizations go in as resources), bundle com.liketrek.trek.share, signed in
  the release lane, its plists linted in native.yml
- Safari hands over the rendered page (SharePage.js), so a confirmation behind
  a sign-in arrives whole; other apps' links are fetched
- The item travels through the shared keychain group the widgets already use;
  the app takes it on com.liketrek.trek://share or when it next becomes active
- Feature shareSheet; strings in the app's 28 languages
2026-11-07 11:25:18 +01:00

27 lines
981 B
Plaintext

/* The share sheet ("TREK" in the share menu): ShareExtension/ShareView.swift. */
"share.title" = "添加到 TREK";
"share.cancel" = "取消";
"share.close" = "关闭";
"share.trip" = "行程";
"share.noTrips" = "打开一次 TREK,你的行程就会显示在这里。";
"share.hint" = "TREK 会读取预订并添加到行程中。";
"share.later" = "稍后选择";
"share.add" = "添加";
"share.addTo" = "添加到 %@";
"share.added" = "已添加";
"share.reading" = "正在读取…";
"share.tooLarge" = "此文件太大,无法导入。";
"share.unsupported" = "TREK 无法导入此内容。";
"share.failed" = "无法传给 TREK。请重试。";
"share.now" = "进行中";
"share.past" = "已结束";
"share.tomorrow" = "明天";
"share.inDays" = "%d 天后";
"share.kind.pass" = "Wallet 卡券";
"share.kind.pdf" = "PDF";
"share.kind.mail" = "邮件";
"share.kind.page" = "网页";
"share.kind.text" = "文本";
"share.kind.image" = "照片";
"share.kind.file" = "文件";