mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
i18n
This commit is contained in:
parent
2162f3bbeb
commit
d88a738bc6
2 changed files with 25 additions and 14 deletions
|
@ -968,6 +968,9 @@ rateLimitExceeded: "Rate limit exceeded"
|
|||
cropImage: "Crop image"
|
||||
cropImageAsk: "Do you want to crop this image?"
|
||||
file: "File"
|
||||
image: "Image"
|
||||
video: "Video"
|
||||
audio: "Audio"
|
||||
recentNHours: "Last {n} hours"
|
||||
recentNDays: "Last {n} days"
|
||||
noEmailServerWarning: "Email server not configured."
|
||||
|
@ -1442,6 +1445,14 @@ _time:
|
|||
minute: "Minute(s)"
|
||||
hour: "Hour(s)"
|
||||
day: "Day(s)"
|
||||
_filters:
|
||||
fromUser: "From user"
|
||||
withFile: "With file"
|
||||
fromDomain: "From domain"
|
||||
notesBefore: "Posts before"
|
||||
notesAfter: "Posts after"
|
||||
followingOnly: "Following only"
|
||||
followersOnly: "Followers only"
|
||||
_tutorial:
|
||||
title: "How to use Calckey"
|
||||
step1_1: "Welcome!"
|
||||
|
|
|
@ -289,7 +289,7 @@ async function openSearchFilters(ev) {
|
|||
[
|
||||
{
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
text: "From user",
|
||||
text: i18n.ts._filters.fromUser,
|
||||
action: () => {
|
||||
os.selectUser().then((user) => {
|
||||
inputValue.value += " from:@" + Acct.toString(user);
|
||||
|
@ -298,25 +298,25 @@ async function openSearchFilters(ev) {
|
|||
},
|
||||
{
|
||||
icon: "ph-file ph-bold ph-lg",
|
||||
text: "With file",
|
||||
text: i18n.ts._filters.withFile,
|
||||
action: () => {
|
||||
os.select({
|
||||
title: "Has file",
|
||||
title: i18n.ts._filters.withFile,
|
||||
items: [
|
||||
{
|
||||
text: "Image",
|
||||
text: i18n.ts.image,
|
||||
value: "image",
|
||||
},
|
||||
{
|
||||
text: "Video",
|
||||
text: i18n.ts.video,
|
||||
value: "video",
|
||||
},
|
||||
{
|
||||
text: "Audio",
|
||||
text: i18n.ts.audio,
|
||||
value: "audio",
|
||||
},
|
||||
{
|
||||
text: "File",
|
||||
text: i18n.ts.file,
|
||||
value: "file",
|
||||
},
|
||||
],
|
||||
|
@ -328,17 +328,17 @@ async function openSearchFilters(ev) {
|
|||
},
|
||||
{
|
||||
icon: "ph-link ph-bold ph-lg",
|
||||
text: "From domain",
|
||||
text: i18n.ts._filters.fromDomain,
|
||||
action: () => {
|
||||
inputValue.value += " domain:";
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: "ph-calendar-blank ph-bold ph-lg",
|
||||
text: "Posts before",
|
||||
text: i18n.ts._filters.notesBefore,
|
||||
action: () => {
|
||||
os.inputDate({
|
||||
title: "Posts before",
|
||||
title: i18n.ts._filters.notesBefore,
|
||||
}).then((res) => {
|
||||
if (res.canceled) return;
|
||||
inputValue.value += " before:" + res.result;
|
||||
|
@ -347,10 +347,10 @@ async function openSearchFilters(ev) {
|
|||
},
|
||||
{
|
||||
icon: "ph-calendar-blank ph-bold ph-lg",
|
||||
text: "Posts after",
|
||||
text: i18n.ts._filters.notesAfter,
|
||||
action: () => {
|
||||
os.inputDate({
|
||||
title: "Posts after",
|
||||
title: i18n.ts._filters.notesAfter,
|
||||
}).then((res) => {
|
||||
if (res.canceled) return;
|
||||
inputValue.value += " after:" + res.result;
|
||||
|
@ -359,14 +359,14 @@ async function openSearchFilters(ev) {
|
|||
},
|
||||
{
|
||||
icon: "ph-eye ph-bold ph-lg",
|
||||
text: "Following only",
|
||||
text: i18n.ts._filters.followingOnly,
|
||||
action: () => {
|
||||
inputValue.value += " filter:following ";
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: "ph-users-three ph-bold ph-lg",
|
||||
text: "Followers only",
|
||||
text: i18n.ts._filters.followersOnly,
|
||||
action: () => {
|
||||
inputValue.value += " filter:followers ";
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue