Merge branch 'develop'

This commit is contained in:
syuilo 2021-05-05 15:17:53 +09:00
commit af3c88d093
8 changed files with 54 additions and 18 deletions

View File

@ -746,8 +746,13 @@ gallery: "Galerie"
recentPosts: "Neue Beiträge"
popularPosts: "Beliebte Beiträge"
shareWithNote: "Mit Notiz teilen"
expiration: "Abstimmung endet am"
ads: "Werbung"
expiration: "Frist"
memo: "Merkzettel"
priority: "Priorität"
high: "Hoch"
middle: "Mittel"
low: "Niedrig"
emailNotConfiguredWarning: "Keine Email-Adresse hinterlegt"
_forgotPassword:
enterEmail: "Gib die Email-Adresse ein, mit der du dich registriert hast. An diese wird ein Link gesendet, mit der du dein Passwort zurücksetzen kannst."

View File

@ -748,8 +748,13 @@ gallery: "Gallery"
recentPosts: "Recent posts"
popularPosts: "Popular posts"
shareWithNote: "Share with note"
expiration: "Poll ends on"
ads: "Advertisements"
expiration: "Deadline"
memo: "Memo"
priority: "Priority"
high: "High"
middle: "Medium"
low: "Low"
emailNotConfiguredWarning: "Email address not set"
_forgotPassword:
enterEmail: "Enter the email address you used to register. A link with which you can reset your password will then be sent to it."

View File

@ -7,6 +7,7 @@ search: "Rechercher"
notifications: "Notifications"
username: "Nom dutilisateur·rice"
password: "Mot de passe"
forgotPassword: "Mot de passe oublié"
fetchingAsApObject: "Récupération depuis le fédiverse …"
ok: "OK"
gotIt: "Jai compris !"
@ -747,8 +748,18 @@ gallery: "Galerie"
recentPosts: "Les plus récentes"
popularPosts: "Les plus consultées"
shareWithNote: "Partager dans une note"
expiration: "Fin du sondage"
ads: "Publicité"
expiration: "Échéance"
memo: "Mémo"
priority: "Priorité"
high: "Haute"
middle: "Moyen"
low: "Basse"
emailNotConfiguredWarning: "Vous n'avez pas configuré d'adresse e-mail."
_forgotPassword:
enterEmail: "Entrez ici l'adresse e-mail que vous avez enregistrée pour votre compte. Un lien vous permettant de réinitialiser votre mot de passe sera envoyé à cette adresse."
ifNoEmail: "Si vous n'avez pas enregistré d'adresse e-mail, merci de contacter l'administrateur·rice de votre instance."
contactAdmin: "Cette instance ne permettant pas l'utilisation d'adresses e-mail, prenez contact avec l'administrateur·rice pour procéder à la réinitialisation de votre mot de passe."
_gallery:
my: "Mes publications"
liked: " Publications que j'ai aimées"

View File

@ -643,8 +643,12 @@ goBack: "戻る"
info: "情報"
user: "ユーザー"
administration: "管理"
ads: "広告"
expiration: "期限"
memo: "メモ"
high: "高い"
middle: "中"
low: "低い"
_gallery:
unlike: "良くないわ"
_email:

View File

@ -1,7 +1,7 @@
{
"name": "misskey",
"author": "syuilo <syuilotan@yahoo.co.jp>",
"version": "12.80.1",
"version": "12.80.2",
"codename": "indigo",
"repository": {
"type": "git",

View File

@ -90,7 +90,7 @@ export default defineComponent({
} else {
if (this.ad && item._shouldInsertAd_) {
return [h(MkAd, {
class: 'ad',
class: 'a', // advertise()
key: item.id + ':ad',
prefer: 'horizontal',
}), el];

View File

@ -85,16 +85,23 @@ export default defineComponent({
background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, var(--ad) 8px, var(--ad) 14px );
> .main {
text-align: center;
> a {
display: block;
display: inline-block;
position: relative;
margin: 0 auto;
vertical-align: bottom;
&:hover {
> img {
filter: contrast(120%);
}
}
> img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
margin: auto;
}
> .menu {
@ -106,23 +113,26 @@ export default defineComponent({
}
&.square {
> a {
> a ,
> a > img {
max-width: min(300px, 100%);
max-height: min(300px, 100%);
max-height: 300px;
}
}
&.horizontal {
padding: 8px;
> a {
> a ,
> a > img {
max-width: min(600px, 100%);
max-height: min(100px, 100%);
max-height: 80px;
}
}
&.vertical {
> a {
> a ,
> a > img {
max-width: min(100px, 100%);
}
}

View File

@ -1,7 +1,7 @@
<template>
<div class="efzpzdvf">
<div class="ddiqwdnk">
<XWidgets class="widgets" :edit="editMode" :widgets="$store.reactiveState.widgets.value" @add-widget="addWidget" @remove-widget="removeWidget" @update-widget="updateWidget" @update-widgets="updateWidgets" @exit="editMode = false"/>
<MkAd prefer="square"/>
<MkAd class="ad" prefer="square"/>
<button v-if="editMode" @click="editMode = false" class="_textButton edit" style="font-size: 0.9em;"><i class="fas fa-check"></i> {{ $ts.editWidgetsExit }}</button>
<button v-else @click="editMode = true" class="_textButton edit" style="font-size: 0.9em;"><i class="fas fa-pencil-alt"></i> {{ $ts.editWidgets }}</button>
@ -57,13 +57,14 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.efzpzdvf {
.ddiqwdnk {
position: sticky;
height: min-content;
box-sizing: border-box;
padding-bottom: 8px;
> .widgets {
> .widgets,
> .ad {
width: 300px;
}