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" recentPosts: "Neue Beiträge"
popularPosts: "Beliebte Beiträge" popularPosts: "Beliebte Beiträge"
shareWithNote: "Mit Notiz teilen" shareWithNote: "Mit Notiz teilen"
expiration: "Abstimmung endet am" ads: "Werbung"
expiration: "Frist"
memo: "Merkzettel"
priority: "Priorität"
high: "Hoch"
middle: "Mittel" middle: "Mittel"
low: "Niedrig"
emailNotConfiguredWarning: "Keine Email-Adresse hinterlegt" emailNotConfiguredWarning: "Keine Email-Adresse hinterlegt"
_forgotPassword: _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." 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" recentPosts: "Recent posts"
popularPosts: "Popular posts" popularPosts: "Popular posts"
shareWithNote: "Share with note" shareWithNote: "Share with note"
expiration: "Poll ends on" ads: "Advertisements"
expiration: "Deadline"
memo: "Memo"
priority: "Priority"
high: "High"
middle: "Medium" middle: "Medium"
low: "Low"
emailNotConfiguredWarning: "Email address not set" emailNotConfiguredWarning: "Email address not set"
_forgotPassword: _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." 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" notifications: "Notifications"
username: "Nom dutilisateur·rice" username: "Nom dutilisateur·rice"
password: "Mot de passe" password: "Mot de passe"
forgotPassword: "Mot de passe oublié"
fetchingAsApObject: "Récupération depuis le fédiverse …" fetchingAsApObject: "Récupération depuis le fédiverse …"
ok: "OK" ok: "OK"
gotIt: "Jai compris !" gotIt: "Jai compris !"
@ -747,8 +748,18 @@ gallery: "Galerie"
recentPosts: "Les plus récentes" recentPosts: "Les plus récentes"
popularPosts: "Les plus consultées" popularPosts: "Les plus consultées"
shareWithNote: "Partager dans une note" shareWithNote: "Partager dans une note"
expiration: "Fin du sondage" ads: "Publicité"
expiration: "Échéance"
memo: "Mémo"
priority: "Priorité"
high: "Haute"
middle: "Moyen" 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: _gallery:
my: "Mes publications" my: "Mes publications"
liked: " Publications que j'ai aimées" liked: " Publications que j'ai aimées"

View File

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

View File

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

View File

@ -90,7 +90,7 @@ export default defineComponent({
} else { } else {
if (this.ad && item._shouldInsertAd_) { if (this.ad && item._shouldInsertAd_) {
return [h(MkAd, { return [h(MkAd, {
class: 'ad', class: 'a', // advertise()
key: item.id + ':ad', key: item.id + ':ad',
prefer: 'horizontal', prefer: 'horizontal',
}), el]; }), 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 ); background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, var(--ad) 8px, var(--ad) 14px );
> .main { > .main {
text-align: center;
> a { > a {
display: block; display: inline-block;
position: relative; position: relative;
margin: 0 auto; vertical-align: bottom;
&:hover {
> img {
filter: contrast(120%);
}
}
> img { > img {
display: block; display: block;
width: 100%;
height: 100%;
object-fit: contain; object-fit: contain;
margin: auto;
} }
> .menu { > .menu {
@ -106,23 +113,26 @@ export default defineComponent({
} }
&.square { &.square {
> a { > a ,
> a > img {
max-width: min(300px, 100%); max-width: min(300px, 100%);
max-height: min(300px, 100%); max-height: 300px;
} }
} }
&.horizontal { &.horizontal {
padding: 8px; padding: 8px;
> a { > a ,
> a > img {
max-width: min(600px, 100%); max-width: min(600px, 100%);
max-height: min(100px, 100%); max-height: 80px;
} }
} }
&.vertical { &.vertical {
> a { > a ,
> a > img {
max-width: min(100px, 100%); max-width: min(100px, 100%);
} }
} }

View File

@ -1,7 +1,7 @@
<template> <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"/> <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-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> <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> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.efzpzdvf { .ddiqwdnk {
position: sticky; position: sticky;
height: min-content; height: min-content;
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 8px; padding-bottom: 8px;
> .widgets { > .widgets,
> .ad {
width: 300px; width: 300px;
} }