i18n
This commit is contained in:
parent
621e760056
commit
19ca91c201
|
@ -968,6 +968,9 @@ rateLimitExceeded: "Rate limit exceeded"
|
||||||
cropImage: "Crop image"
|
cropImage: "Crop image"
|
||||||
cropImageAsk: "Do you want to crop this image?"
|
cropImageAsk: "Do you want to crop this image?"
|
||||||
file: "File"
|
file: "File"
|
||||||
|
image: "Image"
|
||||||
|
video: "Video"
|
||||||
|
audio: "Audio"
|
||||||
recentNHours: "Last {n} hours"
|
recentNHours: "Last {n} hours"
|
||||||
recentNDays: "Last {n} days"
|
recentNDays: "Last {n} days"
|
||||||
noEmailServerWarning: "Email server not configured."
|
noEmailServerWarning: "Email server not configured."
|
||||||
|
@ -1442,6 +1445,14 @@ _time:
|
||||||
minute: "Minute(s)"
|
minute: "Minute(s)"
|
||||||
hour: "Hour(s)"
|
hour: "Hour(s)"
|
||||||
day: "Day(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:
|
_tutorial:
|
||||||
title: "How to use Calckey"
|
title: "How to use Calckey"
|
||||||
step1_1: "Welcome!"
|
step1_1: "Welcome!"
|
||||||
|
|
|
@ -289,7 +289,7 @@ async function openSearchFilters(ev) {
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
icon: "ph-user ph-bold ph-lg",
|
icon: "ph-user ph-bold ph-lg",
|
||||||
text: "From user",
|
text: i18n.ts._filters.fromUser,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.selectUser().then((user) => {
|
os.selectUser().then((user) => {
|
||||||
inputValue.value += " from:@" + Acct.toString(user);
|
inputValue.value += " from:@" + Acct.toString(user);
|
||||||
|
@ -298,25 +298,25 @@ async function openSearchFilters(ev) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "ph-file ph-bold ph-lg",
|
icon: "ph-file ph-bold ph-lg",
|
||||||
text: "With file",
|
text: i18n.ts._filters.withFile,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.select({
|
os.select({
|
||||||
title: "Has file",
|
title: i18n.ts._filters.withFile,
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
text: "Image",
|
text: i18n.ts.image,
|
||||||
value: "image",
|
value: "image",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Video",
|
text: i18n.ts.video,
|
||||||
value: "video",
|
value: "video",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Audio",
|
text: i18n.ts.audio,
|
||||||
value: "audio",
|
value: "audio",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "File",
|
text: i18n.ts.file,
|
||||||
value: "file",
|
value: "file",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -328,17 +328,17 @@ async function openSearchFilters(ev) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "ph-link ph-bold ph-lg",
|
icon: "ph-link ph-bold ph-lg",
|
||||||
text: "From domain",
|
text: i18n.ts._filters.fromDomain,
|
||||||
action: () => {
|
action: () => {
|
||||||
inputValue.value += " domain:";
|
inputValue.value += " domain:";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "ph-calendar-blank ph-bold ph-lg",
|
icon: "ph-calendar-blank ph-bold ph-lg",
|
||||||
text: "Posts before",
|
text: i18n.ts._filters.notesBefore,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.inputDate({
|
os.inputDate({
|
||||||
title: "Posts before",
|
title: i18n.ts._filters.notesBefore,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.canceled) return;
|
if (res.canceled) return;
|
||||||
inputValue.value += " before:" + res.result;
|
inputValue.value += " before:" + res.result;
|
||||||
|
@ -347,10 +347,10 @@ async function openSearchFilters(ev) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "ph-calendar-blank ph-bold ph-lg",
|
icon: "ph-calendar-blank ph-bold ph-lg",
|
||||||
text: "Posts after",
|
text: i18n.ts._filters.notesAfter,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.inputDate({
|
os.inputDate({
|
||||||
title: "Posts after",
|
title: i18n.ts._filters.notesAfter,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.canceled) return;
|
if (res.canceled) return;
|
||||||
inputValue.value += " after:" + res.result;
|
inputValue.value += " after:" + res.result;
|
||||||
|
@ -359,14 +359,14 @@ async function openSearchFilters(ev) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "ph-eye ph-bold ph-lg",
|
icon: "ph-eye ph-bold ph-lg",
|
||||||
text: "Following only",
|
text: i18n.ts._filters.followingOnly,
|
||||||
action: () => {
|
action: () => {
|
||||||
inputValue.value += " filter:following ";
|
inputValue.value += " filter:following ";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "ph-users-three ph-bold ph-lg",
|
icon: "ph-users-three ph-bold ph-lg",
|
||||||
text: "Followers only",
|
text: i18n.ts._filters.followersOnly,
|
||||||
action: () => {
|
action: () => {
|
||||||
inputValue.value += " filter:followers ";
|
inputValue.value += " filter:followers ";
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue