mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +00:00
7b8bd4b166
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
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
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" = "Webページ";
|
|
"share.kind.text" = "テキスト";
|
|
"share.kind.image" = "写真";
|
|
"share.kind.file" = "ファイル";
|