debranding + spoiler image fix
|
@ -57,6 +57,7 @@ $font-family-monospace: "Droid Sans Mono", monospace;
|
|||
--media-full-container-width: 100%;
|
||||
--media-featured-width: 358px;
|
||||
--media-header-height: 2rem;
|
||||
--media-small-header-height: 1rem;
|
||||
|
||||
--badge-small-size: 1.1rem;
|
||||
--badge-normal-size: 2rem;
|
||||
|
@ -72,6 +73,7 @@ $font-family-monospace: "Droid Sans Mono", monospace;
|
|||
|
||||
--font-size: 14px;
|
||||
--font-tiny-size: 12px;
|
||||
--font-micro-size: 10px;
|
||||
--font-header-size: 16px;
|
||||
--font-icon-size: 2rem;
|
||||
--font-h1-size: 1.75rem;
|
||||
|
|
|
@ -103,15 +103,42 @@
|
|||
.image-container a {
|
||||
display: flex;
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* For some reason tall images don't center properly within the container
|
||||
without this hack. I blame CSS. */
|
||||
.image-container a > img {
|
||||
.image-container a img {
|
||||
max-height: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.image-container picture {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-self: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.media__standalone {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.thumb_tiny .media-box__overlay {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0 var(--padding-tiny);
|
||||
line-height: var(--media-small-header-height);
|
||||
font-size: var(--font-micro-size);
|
||||
}
|
||||
|
||||
.post-image-container, .post-image-container img {
|
||||
width: var(--media-tiny-container-width);
|
||||
height: var(--media-tiny-container-width);
|
||||
}
|
||||
|
||||
.media-box__image {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 15 KiB |
|
@ -1,2 +1,2 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><path d="m13.2,.6c5,9.2-.2,15.5-2.9,15.3s-3.6,-4.7-9.2,-4.5c2.6,-3.4 8.3,-.3 9.8,-1.6s3.7,-5.4 2.3,-9.2" fill="#73d6ed"></path><path d="m11,0.6-1.7,1.4-1.7,-1.2.8,2-1.7,1h1.8l-5.5,9.7.4,.2 5.5,-9.7.6,1.8 .5,-2 2.2,-.1-1.8,-1.1.6,-2" fill="#94c1dd"></path><circle cx="13.5" cy="8.5" fill="#fff" id="e" r="0.5"></circle><use x="-2" y="3" xlink:href="#e"></use><use x="-6" y="4" xlink:href="#e"></use><use x="-2.8" y="6" xlink:href="#e"></use></svg>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg enable-background="new 0 0 800 800" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g stroke-width=".80876"><path d="m2.4362 97.912c19.536 1.0068 17.805-3.4121 30.155-20.323 3.8883-4.3965 9.9675-9.5155 16.873-12.597 3.9379-6.3114 4.0265-15.563 4.0265-15.563l-4.2087-4.3263-14.224 2.1752s-12.662 7.0776-32.685 11.115z" fill="#d91b39"/><path d="m48.269 41.544c-10.761 4.5949-18.5 7.4142-28.212 15.002 9.6414-4.8837 22.445-8.959 32.102-8.7283-12.935 3.3841-19.846 7.5369-29.813 20.303 1.8896-1.435 3.7537-2.9577 5.6815-4.3023 2.7167-1.7848 5.4143-3.4644 8.2289-4.9686 4.3334-2.3164 8.9405-2.8424 13.557-2.9504-0.57269 0.28978-1.1447 0.57955-1.7131 0.88409-4.0017 2.1456-7.8015 4.8053-11.386 7.9578-6.4647 5.6829-11.916 12.923-17.129 20.415 5.8552-5.9515 12.267-11.078 19.137-14.92 3.7402-2.141 7.5824-4.3402 11.576-5.4984 3.2044-0.92931 9.2126-2.3773 12.492-2.5572 10.499-0.57678 24.691 2.9734 29.356 13.148 1.0029-6.2071-1.7138-16.012-1.7138-16.128 0-0.11536-10.13-11.766-10.13-11.766l-17.011-12.805-6.8808-6.8448c7.1e-4 -0.0019 1.0575 9.8302-8.1424 13.759z" fill="#e77a22"/><path d="m73.679 38.941c7.5371 3.134 21.639 8.1377 23.67 15.814 1.2106 4.5755 0.72435 12.594-1.3885 15.814-3.575-10.121-20.577-25.811-22.282-31.628z" fill="#d91b39"/></g><g transform="matrix(.70877 0 0 .92285 -358.2 -65.931)" fill="#e99e18"><path d="m632.37 124.57c-7.376-6.103-34.628-13.765-43.863-21.807-3.146-2.74-5.827-9.628-7.259-15.027 0.506 2.84 1.169 5.524 2.187 8.229 0.55 1.543 1.325 3.031 2.102 4.47-4.408-5.127-6.7-11.908-7.688-18.488 0.492 5.662 1.945 11.459 4.826 16.424-1.837-2.237-3.303-4.792-4.579-7.379-2.034-4.445-2.688-9.211-2.923-14.042 3e-3 5.004 0.47 9.953 2.41 14.626 1.631 3.924 3.909 7.762 7.059 10.682 3.794 4.566 15.078 9.948 27.497 18.498 13.834 9.523 20.128 22.176 23.9 34.302 9.843-8.929 5.297-23.069-3.669-30.488z"/><ellipse transform="rotate(180.51)" cx="-575.91" cy="-70.549" rx=".85403" ry="2.0621"/><ellipse transform="rotate(180.51)" cx="-578.64" cy="-74.983" rx=".85403" ry="2.0621"/><ellipse transform="rotate(175.84)" cx="-573.52" cy="-128.19" rx=".85403" ry="2.0621"/></g><path d="m82.184 52.48s-5.1421-5.4707-12.036-10.442c4.5829 0.51495 13.258 3.3583 12.036 10.442z" fill="#e8e342" stroke="#d91b39" stroke-miterlimit="10" stroke-width=".80876"/></svg>
|
||||
|
|
Before Width: | Height: | Size: 605 B After Width: | Height: | Size: 2.3 KiB |
|
@ -1,2 +1,2 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1200" width="125" height="125"><rect fill="#fff" height="1200" width="1200"/><path d="m0,0v1200h449.6874c-14.4275,-70.533-1.1884,-140.7097 7.8438,-237.7812 0,0 4.4198,-29.3984 5.2188,-44.2187 1.0328,-19.1606-0.5626,-57.5625-0.5626,-57.5625-118.2379,4.8117-185.7842,-33.5912-256.9687,-144.0313-8.1628,-12.6642 15.1383,-32.088 32.125,-34.5937-35.2608,-51.9497-40.981,-138.5253-15.9375,-220.875-37.1755,18.67-70.8066,42.4134-101.2812,70.625-1.2927,1.1966-2.5625,2.4123-3.8438,3.625 14.0865,-93.7519 60.9884,-221.5776 161.5938,-290.0625-20.7576,-57.2109-25.99,-100.8773-11.9376,-105.4375 0.721,-0.2338 1.5253,-0.3282 2.4063,-0.3125 10.8346,0.1921 33.4347,18.8369 59.3437,45.0937l0.4376,-0.375c-0.015,0.2447-0.044,0.4756-0.063,0.7188 7.6342,7.7478 15.5146,16.1489 23.5,24.9375 0.8132,-0.2482 1.6195,-0.5086 2.4376,-0.75 51.3424,-15.1512 112.4336,-16.9089 184.6562,1.0625-5.0399,-5.1769-9.8158,-9.9286-14.5,-14.3125-0.9368,-0.8768 -1.8798,-1.7467 -2.8125,-2.5938 -24.2492,-22.0241 -47.6194,-34.1395-99.5625,-42.1875 63.8549,-13.2033 175.2758,-0.3629 253.2812,41.1875 0.6837,0.3641 1.353,0.7565 2.0313,1.125 5.067,-5.0447 10.0145,-9.3776 14.6875,-12.9062 21.0999,-15.932 28.7087,-13.0838 46.3438,6.125 40.94106,44.5908 59.64696,93.085 64.15616,140 29.325,48.5852 45.8771,99.2 45.4375,156.875 3.7577,28.4678-0.4988,56.2619-11.0625,81.625-9.3917,37.2118-24.9644,77.4935-47.5312,121.7812-60.14786,118.0421-36.2637,189.8298 23.5,225.125 19.73798,11.6568 44.03434,19.3415 63.0937,23.2188-11.1786,10.6415-25.5497,21.8964-41.6563,30.9687 30.1504,29.8666 124.2774,-18.5761 181.21877,29.0313 22.4874,18.8011 43.2715,40.6298 60.5,63.6875 22.9931,-51.5226 49.0799,-99.0127 124.2188,-82.3438V0ZM1152.9064,1094.0624c-14.3695,0.05-29.5588,5.147-45.7812,16.5 14.6535,31.4319 20.8714,62.6481 14.5937,89.4375h78.2813v-87.5c-14.7849,-11.7204-30.3782,-18.4951-47.0938,-18.4375" fill="#c6dff2"/></svg>
|
||||
<!--Vector by The Smiling Pony-->
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg version="1.1" viewBox="0 0 120 120" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><g><rect x=".49587" y=".49587" width="119.01" height="119.01" rx="3.9669" ry="3.9669" fill="#bedcf2" stroke="#004677" stroke-width=".99174"/><text x="24.822266" y="89.90625" fill="#004677" font-family="sans-serif" font-size="12px" opacity=".98" stroke-width=".4" style="line-height:1.25" xml:space="preserve"><tspan x="24.822266" y="89.90625" fill="#004677">NO AVATAR</tspan></text><text transform="scale(1.0019 .99812)" x="43.064144" y="65.665565" fill="#004677" font-family="sans-serif" font-size="64.12px" stroke-width="1.0019" style="line-height:1.25" xml:space="preserve"><tspan x="43.064144" y="65.665565" fill="#004677" font-size="64.12px" stroke-width="1.0019">?</tspan></text></g></svg>
|
||||
|
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 832 B |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 1.6 KiB |
|
@ -1,265 +0,0 @@
|
|||
{
|
||||
"header": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"125\" height=\"125\" viewBox=\"0 0 125 125\" class=\"avatar-svg\">",
|
||||
"background": "<rect width=\"125\" height=\"125\" fill=\"#c6dff2\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony"
|
||||
],
|
||||
"body_shapes": [
|
||||
{
|
||||
"shape": "<path d=\"M73.054 24.46c25.886 0 39.144 26.39 28.916 44.95 1.263.38 4.924 2.274 3.41 4.8-1.516 2.525-7.577 16.288-27.78 14.773-1.01 6.44-.33 12.613 1.642 22.854 1.39 7.224-.632 14.648-.632 14.648s-47.785.216-73.74-.127c-1.883-6.387 8.964-25.76 20.833-24.748 15.674 1.334 19.193 1.64 21.592-2.02 2.4-3.662 0-23.234-3.535-30.81-3.536-7.577-7.83-40.785 29.294-44.32z\" fill=\"#BODY_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tail_shapes": [
|
||||
{
|
||||
"shape": "<path d=\"M15.456 109.15C12.02 97.805 6.44 95.036-.794 98.89v19.102c5.13-10.09 10.263-8.294 15.395-5.7\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
}
|
||||
],
|
||||
"hair_shapes": [
|
||||
{
|
||||
"shape": "<path d=\"M76.48 11.35c2.215.014 4.26.185 6.02.518l4.624.875-4.67.657c-5.435.77-7.802 1.83-10.266 3.833 14.608-2.52 25.094 1.816 32.14 8.69 7.51 7.337 11.223 17.454 12.508 25.286l.363 2.236-1.8-1.548c-6.914-5.983-15.308-9.988-25.68-11.48 2.26 1.687 4.477 3.113 6.764 3.932l2.81 1.005-2.97.487c-7.684 1.264-15.37-2.687-22.687-6.52-7.162-3.754-13.99-7.357-19.843-6.578-3.708 5.568-5.84 11.828-5.882 17.63-.03 3.945.886 7.66 2.9 10.84l.37.47.022.027.018.028c.168.26.328.52.496.78.833 1.085 1.808 2.098 2.934 3.02l2.065 1.685-2.49-.3c3.97 7.734 5.85 15.703 6.24 22.54.24 4.19-.07 7.95-.825 10.985-.753 3.038-1.905 5.37-3.577 6.688l-1.516 1.195.105-1.823c.16-2.637.47-5.577.123-8.528-.38.702-.825 1.36-1.32 1.977-1.43 1.746-3.414 3.064-5.934 3.426-2.517.365-5.498-.217-8.956-2.01l-1.7-.884 1.87-.544c2.374-.69 4.147-1.565 5.465-2.575-.7.033-1.4 0-2.092-.09-4.135-.542-7.932-2.934-10.414-5.09l-1.19-1.038 1.612-.294c5.34-.965 9.6-3.222 11.54-6.996 1.945-3.775 1.67-9.254-2.587-16.895-2.502-4.487-4.24-8.59-5.29-12.398-.267-.588-.497-1.19-.69-1.802-.656-2.083-.868-4.297-.564-6.545-.022-1.894.146-3.72.496-5.49 1.48-7.405 6.09-13.753 12.596-20.25h-.003C51.55 16.54 57.96 14.01 64.518 12.62c4.104-.868 8.265-1.287 11.958-1.262z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M61.346 30.543s6.965 1.786 2.68 9.464c3.497-.7 27.61.684 44.068 3.636 1.028-5.24.59-5.866.262-8.384 2.537 2.828 3.104 5.216 3.53 9.122 2.952.627 5.52 1.313 7.496 2.054-.536-9.822-5.893-47.68-61.428-27.143-5.715 3.75-11.965 12.143-11.965 12.143s-8.394 11.07-5.536 28.928c1.62 10.127 6.428 21.43-1.608 40.715 2.5 2.14 19.108 5.534 26.072 4.463 1.607-9.107-2.617-39.046-9.107-45.536-4.464-4.464-6.445-10.326-4.106-16.786 3.75-10.356 9.642-12.677 9.642-12.677z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M58.93 30.714c4.463.536 8.75 2.59 4.64 12.68 7.144-.18 29.02-.358 33.305-6.608 0 0 1.07 5-1.43 6.07 10.766-1.87 24.773-9.743 16.274-19.82-12.5-14.822-40.827-12.143-55.827-2.68-15 9.465-20.068 23.473-17.143 36.25 3.393 14.823 14.378 36.825 1.7 50.218 8.213.714 21.546-12.46 21.693-22.18.178-11.787-5.357-24.287-10.18-29.823-4.82-5.534-3.392-17.856 6.966-24.106z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M54.3 19.6c19.19-14.947 44.49-12.68 62.386-4.014 4.697 2.275 11.857 12.1-3.583 12.05 10.746 3.893 11.87 22.562 6.702 24.558-5.956 2.3-10.71-7.422-10.227-13.637-2.522 11.215-8.36 22.893-13.84 18.31-4.597-3.846-4.192-8.617-.95-13.764-5.694 4.724-11.298 7.872-16.992 3.566-5.77 3.204-10.776 8.625-17.182 5.93-7.935-3.34-1.024-13.468 3.976-17.143-7.308-.314-9.815 3.454-14.432 12.895 2.963 17.85 19.438 32.202 18.517 49.25-.536 9.916-4.688 10.88-5.852 2.51 1.696 25.253-8.634 24.816-9.356 13.904-9.447 16.2-13.625 4.51-10.93-4.183 2.054-6.628 4.03-12.16 6.425-16.777-2.547 7.66-7.333 5.232-8.583 4.43-2.854-1.834-.855-12.302 4.035-19.33 8.3-11.93-23.73-30.172 2.47-53.197\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M64.335 34.675c3.358 1.584 6.716.908 10.073 1.043-.265 13.078 19.05 19.74 31.58 4.16 6.077 6.273 24.776 2.28 12.42-18.66-12.88-21.833-42.605-11.287-61-.5l-7.25 11c-29.918 14.92-16.418 45.666-.75 57.625-12.967 2.522-6.234 30.16 9.904 24.894 18.84-6.147-1.986-51.066-7.78-62.644l1.495-11.736z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M52.426 21.376c25.818-7.37 48.653-24.77 66.7 7.096 3.995 7.053 3.306 14.184-1.62 18.23-8.428 6.92-25.402 6.743-24.694-4.35-9.947 5.8-19.764 6.727-17.758-7.25-5.545 2.905-7.34 2.858-12.887-1.376L51.7 40.92l-.283 10.556C55.46 60.642 62.01 69.434 60.792 78.6c7.922.748 15.435 6.55 2 13.126 15.47 9.894 7.286 24.773-4.25 19.25 1.142 13.048-5.167 11.66-9 6.5-17.216-23.18-9.895-61.743-4.25-82z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M102.625 9.594c-.617.033-1.224.124-1.78.28-10.205 2.87-17.71 11.35-32.845 7.97-.096-.186-.132-.25-.23-.37-.294-.37-6.635-1.52-6.943-1.41-.21.074-.282.22-.375.34-21.85-18.666-57.55-7.878-33.796 56.534 2.593 7.032-8.706 5.65-9.25-2.312-5.552 4.567-4.144 16.383 5.313 16.188-1.03 14.91 4.02 9.98 8.78 9.28-.47 10.136 11.71 10.447 13.81-2.203 12.79 3.06 13.08-9.74 10.88-20.44-2.36-11.46-11.016-22.16-6.586-33.5l5.42-5.01c3.526-.72 9.956-3.402 9.413.298-2.856 9.612-10.034 5.077-10.1 10.924-.028 2.465 1.502 4.653 5.656 2.53-2.517 9.795 11.9 13.08 18.905 2.907 2.354 4.592 9.82 8.295 6.72-4.5 3.22 6.775 6.05 4.517 6.936 2.342 4.31 3.093 7.42 2.92 8.595-2.658 6.02 6.838 10.68 3.283 9.063-5.06 1.377.31 2.352-.472 2.842-2.595 1.148 2.375.496 5.903 2.53 6.874 4.66 2.224 11.55-1.366 3.657-14.97 7.64-9.13-7.368-21.936-16.626-21.436z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M60.982 35.02c13.642.26 19.686 5.237 29.97 13.01.136-5.54.728-6.83-4.33-12.368 11.895 2.714 24.29 8.52 35.945 18.718 2.125-26.222-15.928-43.006-31.905-41.724C94.884 7.638 95.28 4.836 93.54-.25c-4.477 11.725-29.89 7.512-39.19 17.063C42.782 25.81 36.323 36.35 36.764 52.875c.613 22.964 17.723 48.87.527 67.55 19.194 3.242 36.48-23.735 21.57-45.983 2.318.894 4.125.91 8.78-2.298-11.9-3.87-16.395-15.49-15.792-22.93l.717-7.538z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M63.62 35.025c11.562.736 19.798 3.434 34.567 11.597 25.383-12.243 16.01-35.524-.763-39.99-15.625-4.16-25.83-1.755-37-5.565 1.956 4.14 4.564 8.348 8 10.322-18.826-.18-28.113-3.676-42.75-7.05 2.95 5.29 9.994 11.52 13.25 13.884-12.083 5.094-20.916-.076-33-2.15 3.333 5.823 7.048 11.19 12.25 14.783-5 16.343 19.916 37.197 29.787 57.14 2.7-12.815 4.76-30.792 3.29-43.607z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M64.33 33.283c9.705 22.482 32.942 3.702 38.82 11.746 3.072 7.98 2.498 17.27-1.44 24.37 2.934 1.12 4.508 2.91 3.49 4.8-4.31 7.99-11.594 15.45-27.637 14.54-3.062 12.93 5.765 26.87-.126 40.64 11.173 8.95 42.412 16.97 38.09-13.953-10.32 13-15.464 2.34-13.707-3.42 4.16-13.63 31.874-51.83 17.542-74.7-12.647-20.18-40.576-27.73-69.92-13.164-29.344 14.568 5.794 91.68-8.67 116.406l26.737.356c-12.15-11.23-6.13-30.195-17.41-45.886 4.24 4.636 7.68 5.417 13.62 3.315-12.013-5.83-19.25-25.54-11.41-46.41l1.214-10.2z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M44.666 21.39c2.88-9.64 21.828-34.834 52.575-4.97 22.297-9.464 31.18 14.324 16.478 27.943 8.44 7.118-2.553 17.874-8.52 15.18.256-5.74-.34-12.306-2.865-16.798-7.614 17.73-27.62 10.2-38.18-8.388L52.11 39.335l-.06 12.682c-.614 7.093 17.074 16.908 13.22 23.89 2.52 3.48 15.83 20.395 3.97 27.226-9.958 37.27-37.444-2.66-21.166-8.785C32.694 78.324 28.346 70.315 29.7 48.306c.935-15.233 8.206-27.93 14.97-26.915z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M97.37 50.6c15.89 10.53 26.147-13.405 18.827-28.587.066 1.56-.416 2.486-.834 3.485-1.683-5.233-2.087-6.758-3.05-9.9-.65 5.35-.446 10.048-5.488 18.74-1.196-11.776-6.05-20.513-11.554-25.79.7 2.945.56 6.08-.32 9.025-15.752-23.3-38.63-12.01-46.413-5.528-29.76 24.786-16.288 62.293-9.69 75.682-.317-4.247-1.077-8.09-.063-11.67 2.004 3.86 4.007 6.256 6.01 8.838-1.955 7.063 3.654 10.892-.93 17.733 4.235-.512 11.51-8.156 9.15-17.557-2.954-11.753-.804-23.57-1.844-33.58l1.427-9.883 9.993-6.958c11.89-4.685 23.622 8.56 34.78 15.953z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M50.874 23.522c23.66-15.832 58.66-24.962 70.02 2.35 10.813 26-22.117 24.082-27.334 22.23 6.058-4.43 10.695-8.353 17.07-14.05-14.197 11.133-33.26 15.265-48.32 16.272 2.97-5.293 4.97-10.57 2.723-15.09L57.15 33.13l-6.094 18.71c48.018 71.35-18.295 80.53-19.233 64.863 27.224 12.403-3.396-65.87 13.624-87.52\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M52.325 51.93l-.063-12.07 10.32-5.327c16.453 11.482 33.565 4.952 40.567 10.496 3.07 7.98 2.49 17.27-1.44 24.37 2.93 1.12 4.5 2.91 3.49 4.8-3.67 6.8-10.19 14.44-25.51 14.68.07 5.13.47 10.23-.75 15.36 11.28 3.43 31.1 3.94 42.39 1.37-10.24-18.287-9.87-40.87-9.85-57.37 1.755-.198 4.4 1.69 8.275 3.663-13.94-37.69-52.24-41.51-69.037-29.156l-4.19 7.19C41.89 37 29.75 45.454 23.303 39.312c-.443 5.295 8.04 13.68 12.444 17.022-3.68.662-8.356 1.16-13.03-.785 8.12 11.47 13.312 29.02 25.21 31.97-.01-11.8-2.65-23.52 4.39-35.6z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M65.888 115.415C60.6 98.25 45.403 78.935 52.325 51.93l3.006-17.147c18.28-6.646 46.31 13.088 40.76 36.57 2.425 1.032 4.488 1.745 6.967 1.69-2.06 7.493-10.448 16.372-25.49 15.71-2.303 9.72 2.117 20.104 1.946 30.413 9.23 3.104 19.833 2.55 30.445 1.972 2.537-16.423 2.068-32.667 1.46-47.214 2.085.69 6.348-.022 8.358.24.904-12.23.92-24.644-3.66-34.595-9.958-21.64-37.62-37.768-65.378-16.81L46.792 34.2c-14.727 22.36-4.263 53.73-2.577 78.448 6.39-.468 12.547-1.325 21.673 2.767z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M55.33 34.783c8.91-5.593 22.85-3.56 30.63 6.92 5.854-1.71 12.958-2.89 17.19 3.326 3.07 7.982 2.498 17.277-1.44 24.377 2.934 1.124 4.508 2.915 3.49 4.8-4.31 7.993-11.594 15.457-27.637 14.544-3.062 12.93 5.765 26.87-.126 40.644l32.34 5.797c6.21-36.57 17.973-70.336 6.335-95.622-9.958-21.638-37.62-37.765-65.378-16.808L46.792 34.2c-19.9 30.21 6.194 76.877-5.52 101.353l16.987 5.857c8.434-28.756-22-46.724-5.936-89.48z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M92.715 36.313c8.637 2.465 10.713 4.464 25.17 16.612.3-5.667-1.5-11.334-5.556-17 3.29 1.666 6.39 3.333 8.82 5-3.59-5.917-.64-11.527-13.428-20.165 4.3 1.387 7.764-1.722 11.177-5.11-18.67-.334-27.47-19.297-46.66 3.65-.275-3.042 1.24-6.084 3.625-9.125-6.813 1.285-11.79 5.566-15.498 12-5.698-5.507-13.085 1.003-18.49 2.667-6.89-14.66-15.616-10.166-21.167-4.66-9.283 9.21-8.08 25.87-.303 46.64 2.105 5.622-5.684 4.734-8.597 2.206l1.35 7.647c-2.54-2.5-3.63-5.866-4.913-9.117-1.628 13.92 22.205 43.486 30.347-.926 1.6 3.075 4.044 5.322 6.28 4.588-1.566-8.808 3.46-24.512 7.917-29.176 5.368-4.292 16.9-13.79 29.33-11.75 4.02 1.358 7.968 2.813 10.6 6.02z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M56.16 28.044c17.344-13.22 56.258-29.205 63.063 3.847 2.52 12.248.225 13.76-6.188 17.91-7.79 5.045-17.386-1.37-15.05-6.662-8.652 7.707-15.484 10.624-23.12 9.85-9.167-.927-6.437-6.76-2.417-9.872 2.437-1.887 5.08-3.57 9.436-5.76-7.942 2.55-13.992 1.974-19.282-3.34l-10.947 5.55.015 11.542C53.3 64.17 62.758 80.81 63.912 93.42c.72 7.876-5.532 6.637-8.65 1.425 1.847 5.582 3.592 9.892 3.483 15.89-.13 7.178-8.386 11.54-12.047 1.098-7.505-21.405-12.965-51.97-.973-75.3z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M64.306 35.686C75.18 32.366 93.94 34.6 99.078 51.34c6.337 2.127 12.625 3.224 15.202-3.89-3.127.498-5.786.083-8.04-1.186C123 41.61 123.66 29.374 122.42 21.6c-2.037 3.04-6.775 4.266-10.11 4.348C118.174 7.128 103.16 6.76 94.1.66c2.573 3.79 4.323 6.698 5.105 10.49C90.527 5.044 78.69 1.94 67.1 1.197c6.55 3.24 10.68 6.743 15.12 10.52-18.077-6.532-34.664 10.644-48.495.853 1.91 5.032 2.298 9.83 7.413 15.355-3.47.772-10.105 2.726-13.43 1.29.557 2.41 1.36 4.87 4.782 7.808-5.045-.055-10.09-2.138-15.135-3.696C20.058 42.85 23.76 52.122 32.8 60.054c-3.718-1.25-8.08-3.69-12.356-5.97 3.248 4.72 7.48 9.14 14.208 12.794-3.305.483-5.89.304-8.648.284 8.55 7.333 15.247 9.858 22.72 27.618 6.01-12.27 3.08-31.184 1.815-43.933l1.125-10.842z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M92.906 14.75c-14.61.286-26.147 9.556-39.687 13.53l-5.565 8.595C43.81 30.5 36.58 28.752 32 32.812c-8.645 7.666-12.336 29.877-.75 42.344 5.224 5.622 10.25 5.16 13.406-2.72 2.242 4.647 2.416 9.293 2.72 13.94.6 9.248-3.733 10.614-6.75 4.5-2.905 16.18 15.08 28.385 19.5 6.124 2.096-10.564-10.178-34.003-7.866-45.145-1.19-12.517 6.56-14.07 8.24-18.417 4.955-.63 8.483 7.77 13.97 19.156l16.25 1.656c2.246-4.542 2.954-9.24 2.374-14.53 3.326 5.076 3.486 8.08 2.562 14.155l12.688-.406c.818-4.864 1.737-10.438 1.187-15.783 4.447 5.572 1.82 9.458 2.22 15.03 9.41-5.17 16.63-25.01.03-33.343-6.964-3.497-13.156-4.737-18.873-4.625z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M52.103 23.43C70.12 1.668 97.126 2.89 110.14 16.998c27.93 30.27-15.676 43.662-18.952 21.868-12.934-4.453-23.22-3.956-34.13-2.747L51.12 49.26c.557 23.24 17.787 26.876 22.887 41.315 4.124 11.677-5.325 14.075-9.404 12.656 4.622 17.668-12.022 24.3-20.003 7.4-1.797-3.8-2.81-14.813 3.672-14.51-3.182-16.784-17.45-38.285-2.43-63.75z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M64.268 33.955c.417 4.905.2 15.162 11.578 10.276 1.96 6.36 12.832 8.068 16.833 2.37.77 3.5 15.69 10.525 17.49 1.676 19.792 5.17 10.453-26.42-12.985-31.76-14.75-3.36-32.286-5.9-48.993 5.386-28.595 19.318-3.18 39.89-5.026 56-4.353 38.03 12.04 46.05 14.974 20.586 18-.676 5.704-14.656-2.884-22.693C70.602 72.203 42.78 56.16 49.2 43.46z\" fill=\"#HAIR_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
}
|
||||
],
|
||||
"extra_shapes": [
|
||||
{
|
||||
"shape": "<path d=\"M92.752 36.834s9.092-19.572 6.06-22.73c-3.03-3.156-15.277 11.492-16.92 16.542 2.02.505 8.082 2.273 10.86 6.188z\" fill=\"#BODY_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M43.267 107.324s-6.825-14.137-7.64-30.166c-.817-16.03-4.197-31.468-10.55-40.688-6.354-9.22-13.272-9.73-11.997-3.982 1.275 5.748 11.123 33.016 12.128 35.954C23.042 65.648 7.038 41.11-.43 37.222c-7.47-3.886-8.96.346-6.892 5.885 2.068 5.54 18.507 30.844 20.886 33.502-2.738-1.685-12.256-9.036-16.997-8.996-4.742.04-4.91 5.366-2.617 8.526 2.292 3.162 20.912 19.173 25.15 20.945-5.35.28-10.384 1.996-9.186 6.004 1.2 4.006 11.384 14.063 28.53 12.377 2.576-2.834 4.823-8.143 4.823-8.143z\" fill=\"#BODY_FILL\"/>",
|
||||
"species": [
|
||||
"pegasus"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M1.63 34.003s-8.46-5.35-14.8-5.626c5.125 4.444 24.008 19.984.12 34.287C-2.694 67.754 14.656 74.77.435 89.662c12.087 4.118 22.935 10.387 24.452 17.605 6.935-2.58 14.536-2.557 14.536-2.557L27.868 92.518 24.7 79.98l4.45-11.208 1.148-9.387L12.646 41.1 1.63 34.003\" fill=\"#74879c\"/><path d=\"M43.074 105.257c-7.347-4.89-14.894-13.1-14.524-21.41.37-8.31 6.128-16.213 8.922-20.638 2.794-4.426-.414-7.708-1.693-8.64.352 2.842-1.043 5.233-2.608 6.677-1.638-4.25-16.28-22.455-31.543-27.244C9.31 40.313 28.07 58.7 27.685 65.706c-.386 7.005-6.082 7.433-11.51 3.943-5.43-3.49-11.346-8.044-29.227-6.986 5.558 1.234 23.802 3.85 30.857 10.76 7.056 6.91 8.737 14.602.825 15.058-7.912.457-18.196 1.18-18.196 1.18s12.823-.28 19.82 2.003c6.997 2.284 13.553 7.303 4.632 15.602 14.536-2.557 15.073 2.3 17.602 1.912 2.53-.39.584-3.923.584-3.923z\" fill=\"#4f538d\"/>",
|
||||
"species": [
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M54.878 16.157c-2.55-4.117-4.816-7.13-6.17-6.475-1.357.655.865 7.59 3.092 11.277-4.267-3.22-7.552-4.118-7.552-4.118-3.34.21 4.375 8.207 4.375 8.207s6.52 1.44 6.255-8.893z\" fill=\"#BODY_FILL\"/>",
|
||||
"species": [
|
||||
"batpony"
|
||||
]
|
||||
},
|
||||
{
|
||||
"shape": "<path d=\"M64.342 35.57s3.283-8.08-7.324-19.318c-1.768-1.768-3.03-2.273-4.672-.758-1.64 1.515-17.046 16.036.253 38.26.504-2.4 1.135-9.597 1.135-9.597z\" fill=\"#BODY_FILL\"/>",
|
||||
"species": [
|
||||
"unicorn",
|
||||
"pegasus",
|
||||
"earthpony",
|
||||
"batpony"
|
||||
]
|
||||
}
|
||||
],
|
||||
"footer": "</svg>"
|
||||
}
|
|
@ -40,7 +40,7 @@
|
|||
"Help & Information": [
|
||||
{
|
||||
"title": "Changelog",
|
||||
"url": "https://github.com/derpibooru/philomena/commits/master",
|
||||
"url": "https://github.com/philomena-dev/philomena/commits/master",
|
||||
"bold": true,
|
||||
"target": "_blank"
|
||||
},
|
||||
|
@ -88,11 +88,6 @@
|
|||
{
|
||||
"title": "About",
|
||||
"url": "/pages/about"
|
||||
},
|
||||
{
|
||||
"title": "Twitter",
|
||||
"url": "https://twitter.com/Derpibooru",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -42,7 +42,6 @@ app_dir = System.get_env("APP_DIR", File.cwd!())
|
|||
json_config =
|
||||
%{
|
||||
aggregation: "aggregation.json",
|
||||
avatar: "avatar.json",
|
||||
footer: "footer.json",
|
||||
quick_tag_table: "quick_tag_table.json",
|
||||
tag: "tag.json"
|
||||
|
|
|
@ -2,6 +2,8 @@ defmodule Philomena.ArtistLinks.ArtistLink do
|
|||
use Ecto.Schema
|
||||
import Ecto.Changeset
|
||||
|
||||
import PhilomenaWeb.Gettext
|
||||
|
||||
alias Philomena.Users.User
|
||||
alias Philomena.Tags.Tag
|
||||
|
||||
|
@ -103,7 +105,7 @@ defmodule Philomena.ArtistLinks.ArtistLink do
|
|||
|
||||
defp put_verification_code(changeset) do
|
||||
code = :crypto.strong_rand_bytes(5) |> Base.encode16()
|
||||
change(changeset, verification_code: "DERPI-LINKVALIDATION-#{code}")
|
||||
change(changeset, verification_code: "#{gettext("PHILOMENA-LINKVALIDATION")}-#{code}")
|
||||
end
|
||||
|
||||
defp put_next_check_at(changeset) do
|
||||
|
|
|
@ -2,6 +2,8 @@ defmodule Philomena.Commissions.Commission do
|
|||
use Ecto.Schema
|
||||
import Ecto.Changeset
|
||||
|
||||
import PhilomenaWeb.Gettext
|
||||
|
||||
alias Philomena.Commissions.Item
|
||||
alias Philomena.Images.Image
|
||||
alias Philomena.Users.User
|
||||
|
@ -54,19 +56,19 @@ defmodule Philomena.Commissions.Commission do
|
|||
|
||||
def categories do
|
||||
[
|
||||
Anthro: "Anthro",
|
||||
"Canon Characters": "Canon Characters",
|
||||
Comics: "Comics",
|
||||
"Fetish Art": "Fetish Art",
|
||||
"Human and EqG": "Human and EqG",
|
||||
NSFW: "NSFW",
|
||||
"Original Characters": "Original Characters",
|
||||
"Original Species": "Original Species",
|
||||
Pony: "Pony",
|
||||
Requests: "Requests",
|
||||
Safe: "Safe",
|
||||
Shipping: "Shipping",
|
||||
"Violence and Gore": "Violence and Gore"
|
||||
{dgettext("commissions", "Anthro"), "Anthro"},
|
||||
{dgettext("commissions", "Canon Characters"), "Canon Characters"},
|
||||
{dgettext("commissions", "Comics"), "Comics"},
|
||||
{dgettext("commissions", "Fetish Art"), "Fetish Art"},
|
||||
{dgettext("commissions", "Human and Human-like"), "Human and Human-like"},
|
||||
{dgettext("commissions", "NSFW"), "NSFW"},
|
||||
{dgettext("commissions", "Original Characters"), "Original Characters"},
|
||||
{dgettext("commissions", "Original Species"), "Original Species"},
|
||||
{dgettext("commissions", "Non-Humanoid"), "Non-Humanoid"},
|
||||
{dgettext("commissions", "Requests"), "Requests"},
|
||||
{dgettext("commissions", "Safe"), "Safe"},
|
||||
{dgettext("commissions", "Shipping"), "Shipping"},
|
||||
{dgettext("commissions", "Violence and Gore"), "Violence and Gore"}
|
||||
]
|
||||
end
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@ defmodule Philomena.DnpEntries.DnpEntry do
|
|||
use Ecto.Schema
|
||||
import Ecto.Changeset
|
||||
|
||||
import PhilomenaWeb.Gettext
|
||||
|
||||
alias Philomena.Tags.Tag
|
||||
alias Philomena.Users.User
|
||||
|
||||
|
@ -71,11 +73,11 @@ defmodule Philomena.DnpEntries.DnpEntry do
|
|||
{"Uploader Credit Change",
|
||||
"I would like the uploader credit for already existing uploads of my art to be assigned to me"},
|
||||
{"Certain Type/Location Only",
|
||||
"I only want to allow art of a certain type or from a certain location to be uploaded to Derpibooru"},
|
||||
"I only want to allow art of a certain type or from a certain location to be uploaded to #{gettext("Philomena Site")}"},
|
||||
{"With Permission Only",
|
||||
"I only want people with my permission to be allowed to upload my art to Derpibooru"},
|
||||
"I only want people with my permission to be allowed to upload my art to #{gettext("Philomena Site")}"},
|
||||
{"Artist Upload Only",
|
||||
"I want to be the only person allowed to upload my art to Derpibooru"},
|
||||
"I want to be the only person allowed to upload my art to #{gettext("Philomena Site")}"},
|
||||
{"Other", "I would like a DNP entry under other conditions"}
|
||||
]
|
||||
end
|
||||
|
|
|
@ -2,6 +2,8 @@ defmodule Philomena.Users.User do
|
|||
alias Philomena.Users.Password
|
||||
alias Philomena.Slug
|
||||
|
||||
import PhilomenaWeb.Gettext
|
||||
|
||||
use Ecto.Schema
|
||||
import Ecto.Changeset
|
||||
|
||||
|
@ -523,11 +525,11 @@ defmodule Philomena.Users.User do
|
|||
provisioning_uri = %URI{
|
||||
scheme: "otpauth",
|
||||
host: "totp",
|
||||
path: "/Derpibooru:" <> user.email,
|
||||
path: "/#{gettext("PhilomenaSite")}:" <> user.email,
|
||||
query:
|
||||
URI.encode_query(%{
|
||||
secret: secret,
|
||||
issuer: "Derpibooru"
|
||||
issuer: gettext("PhilomenaSite")
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.block__content.block--borderless.block--alternating.flex
|
||||
.flex__shrink.spacing--right
|
||||
.block__content.block--borderless.block--alternating.flex.flex--normal-gap
|
||||
.flex__grow.media__standalone
|
||||
= render PhilomenaWeb.ImageView, "_image_container.html", image: @comment.image, size: :thumb_tiny, conn: @conn
|
||||
.flex__grow
|
||||
.flex.flex--small-gap.flex--wrap
|
||||
a href="/#{@comment.image.id}#comment_#{@comment.id}"
|
||||
| #
|
||||
=> @comment.image.id
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
.block#imagespns
|
||||
.spnstxt
|
||||
' Interested in advertising on Derpibooru?
|
||||
' Interested in advertising on
|
||||
= site_name()
|
||||
| ?
|
||||
=> link "Click here", to: "/pages/advertising"
|
||||
' for information!
|
||||
|
||||
|
@ -9,6 +11,7 @@
|
|||
|
||||
p
|
||||
strong
|
||||
' Derpibooru costs over $25 a day to operate -
|
||||
= site_name()
|
||||
' costs over $25 a day to operate -
|
||||
= link "help support us financially", to: "/pages/donations"
|
||||
' !
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>Derpibooru Watchlist</title>
|
||||
<description>Your watched tags feed from Derpibooru</description>
|
||||
<title><%= site_name() %> Watchlist</title>
|
||||
<description>Your watched tags feed from <%= site_name() %></description>
|
||||
<link><%= Routes.api_rss_watched_url(@conn, :index) %></link>
|
||||
<lastBuildDate><%= last_build_date() %></lastBuildDate>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
- avatar = cond do
|
||||
- not is_nil(assigns[:image]) ->
|
||||
.post-image-container
|
||||
.post-image-container.media__standalone
|
||||
= render PhilomenaWeb.ImageView, "_image_container.html", image: @image, size: :thumb_tiny, conn: @conn
|
||||
- anon ->
|
||||
= render PhilomenaWeb.UserAttributionView, "_anon_user_avatar.html", object: @object, conn: @conn
|
||||
|
|
|
@ -7,7 +7,8 @@ html lang="en"
|
|||
|
||||
title
|
||||
=> @status
|
||||
| - Philomena
|
||||
' -
|
||||
= site_name()
|
||||
link rel="stylesheet" href=stylesheet_path(@conn, nil)
|
||||
link rel="stylesheet" href=light_stylesheet_path(@conn) media="(prefers-color-scheme: light)"
|
||||
link rel="icon" href="/favicon.ico" type="image/x-icon"
|
||||
|
@ -17,7 +18,7 @@ html lang="en"
|
|||
.minimal__message
|
||||
h1.minimal__message__header
|
||||
i.fa.fw.favicon-home>
|
||||
' Philomena
|
||||
= site_name()
|
||||
|
||||
h3 = @short_msg
|
||||
p = @long_msg
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
- {:hidpi, small_url, medium_url, hover_text} ->
|
||||
.media-box__overlay.js-spoiler-info-overlay
|
||||
a href=link title=hover_text
|
||||
img.media-box__image src=small_url srcset="#{small_url} 1x, #{medium_url} 2x" alt=hover_text
|
||||
picture
|
||||
img.media-box__image src=small_url srcset="#{small_url} 1x, #{medium_url} 2x" alt=hover_text
|
||||
|
||||
- {:image, small_url, hover_text} ->
|
||||
.media-box__overlay.js-spoiler-info-overlay
|
||||
|
@ -29,7 +30,8 @@
|
|||
| WebM
|
||||
|
||||
a href=link title=hover_text
|
||||
img.media-box__image src=small_url alt=hover_text
|
||||
picture
|
||||
img.media-box__image src=small_url alt=hover_text
|
||||
|
||||
- {:video, webm, mp4, hover_text} ->
|
||||
.media-box__overlay.js-spoiler-info-overlay
|
||||
|
@ -42,7 +44,8 @@
|
|||
- {:filtered_image, hover_text} ->
|
||||
.media-box__overlay.js-spoiler-info-overlay
|
||||
a href=link title=hover_text
|
||||
img.media-box__image alt=hover_text
|
||||
picture
|
||||
img.media-box__image alt=hover_text
|
||||
|
||||
- {:filtered_video, hover_text} ->
|
||||
.media-box__overlay.js-spoiler-info-overlay
|
||||
|
|
|
@ -32,7 +32,8 @@
|
|||
.block__tab.hidden data-tab="sharing"
|
||||
#embed_options
|
||||
- source_link = if image_has_sources(@image), do: " - [url=#{image_first_source(@image)}]Original source[/url]", else: " (Original source unknown at time of posting)"
|
||||
h5 Derpibooru
|
||||
h5
|
||||
= site_name()
|
||||
p
|
||||
strong> Small thumbnail
|
||||
input.input#embed_small_thumbnail_tag type="text" value=">>#{@image.id}s" cols="10" readonly="readonly"
|
||||
|
@ -59,7 +60,7 @@
|
|||
| Copy
|
||||
br
|
||||
textarea.input.input--wide.input--separate-top#bbcode_embed_full_tag rows="2" cols="100" readonly="readonly"
|
||||
= "[img]#{thumb_url(@image, false, :full)}[/img]\n[url=#{Routes.image_url(@conn, :show, @image)}]View on Derpibooru[/url]#{source_link}"
|
||||
= "[img]#{thumb_url(@image, false, :full)}[/img]\n[url=#{Routes.image_url(@conn, :show, @image)}]View on #{site_name()}[/url]#{source_link}"
|
||||
p
|
||||
strong> Thumbnailed BBcode
|
||||
a href="#" data-click-copy="#bbcode_embed_thumbnail_tag"
|
||||
|
@ -67,7 +68,7 @@
|
|||
| Copy
|
||||
br
|
||||
textarea.input.input--wide.input--separate-top#bbcode_embed_thumbnail_tag rows="2" cols="100" readonly="readonly"
|
||||
= "[img]#{thumb_url(@image, false, :medium)}[/img]\n[url=#{Routes.image_url(@conn, :show, @image)}]View on Derpibooru[/url]#{source_link}"
|
||||
= "[img]#{thumb_url(@image, false, :medium)}[/img]\n[url=#{Routes.image_url(@conn, :show, @image)}]View on #{site_name()}[/url]#{source_link}"
|
||||
|
||||
= if display_mod_tools? do
|
||||
.block__tab.hidden data-tab="replace"
|
||||
|
|
|
@ -4,7 +4,7 @@ header
|
|||
i.fa.fa-bars
|
||||
a.header__logo.header__link href="/"
|
||||
i.fab.fa-phoenix-framework>
|
||||
span.hidden--mobile Philomena
|
||||
span.hidden--mobile = site_name()
|
||||
a.header__link.hidden--mobile href="/images/new" title="Upload"
|
||||
i.fa.fa-upload
|
||||
= form_for @conn, Routes.search_path(@conn, :index), [method: "get", class: "header__search", enforce_utf8: false], fn f ->
|
||||
|
|
|
@ -5,7 +5,7 @@ meta name="format-detection" content="telephone=no"
|
|||
= if opengraph?(@conn) do
|
||||
- image = @conn.assigns.image
|
||||
- filtered = not image.thumbnails_generated
|
||||
- description = "##{image.id} - #{Philomena.Images.tag_list(image)} - Derpibooru"
|
||||
- description = "##{image.id} - #{Philomena.Images.tag_list(image)} - #{site_name()}"
|
||||
- thumb_large = ImageView.thumb_urls(image, false)[:large]
|
||||
- thumb_rendered = ImageView.thumb_url(image, false, :rendered)
|
||||
|
||||
|
@ -42,4 +42,4 @@ meta name="format-detection" content="telephone=no"
|
|||
meta property="og:type" content="website"
|
||||
|
||||
- else
|
||||
meta name="description" content="Derpibooru is a linear imagebooru which lets you share, find and discover new art and media surrounding the show My Little Pony: Friendship is Magic"
|
||||
meta name="description" content=gettext("%{site_name} is a linear imagebooru which lets you share, find and discover new art and media.", site_name: site_name())
|
||||
|
|
|
@ -7,9 +7,10 @@ html lang="en"
|
|||
title
|
||||
= if assigns[:title] do
|
||||
=> assigns[:title]
|
||||
' - Derpibooru
|
||||
' -
|
||||
=< site_name()
|
||||
- else
|
||||
' Derpibooru
|
||||
=<> site_name()
|
||||
link rel="stylesheet" href=Routes.static_path(@conn, "/css/application.css")
|
||||
link rel="stylesheet" href=stylesheet_path(@conn, @current_user)
|
||||
= if is_nil(@current_user) do
|
||||
|
|
|
@ -5,7 +5,9 @@ html lang="en"
|
|||
meta http-equiv="X-UA-Compatible" content="IE=edge"
|
||||
= viewport_meta_tag(@conn)
|
||||
|
||||
title Two Factor Authentication - Derpibooru
|
||||
title
|
||||
' Two Factor Authentication -
|
||||
= site_name()
|
||||
link rel="stylesheet" href=stylesheet_path(@conn, nil)
|
||||
link rel="stylesheet" href=light_stylesheet_path(@conn) media="(prefers-color-scheme: light)"
|
||||
link rel="icon" href="/favicon.ico" type="image/x-icon"
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
|
||||
.field
|
||||
label for="uri"
|
||||
' URL of your art webpage (may be your Derpibooru profile page if you have no other sources)
|
||||
' URL of your art webpage (may be your
|
||||
= site_name()
|
||||
' profile page if you have no other sources)
|
||||
= url_input f, :uri, class: "input input--wide", placeholder: "https://www.deviantart.com/your-name", required: true
|
||||
= error_tag f, :uri
|
||||
|
||||
|
|
|
@ -3,7 +3,9 @@ p
|
|||
a.button href=Routes.profile_artist_link_path(@conn, :new, @user)
|
||||
' Request a link
|
||||
p
|
||||
' Artist links associate your account on Derpibooru with tags about content you create and with accounts on sites elsewhere. This allows users to easily identify artists and staff to act more rapidly on takedown requests.
|
||||
' Artist links associate your account on
|
||||
= site_name()
|
||||
' with tags about content you create and with accounts on sites elsewhere. This allows users to easily identify artists and staff to act more rapidly on takedown requests.
|
||||
|
||||
table.table
|
||||
thead
|
||||
|
|
|
@ -11,16 +11,16 @@ defmodule PhilomenaWeb.Api.Json.OembedView do
|
|||
%{
|
||||
version: "1.0",
|
||||
type: "photo",
|
||||
title: "##{image.id} - #{tag_list(image)} - Derpibooru",
|
||||
title: "##{image.id} - #{tag_list(image)} - #{gettext("Philomena Site")}",
|
||||
author_url: image_first_source(image),
|
||||
author_name: artist_tags(image.tags),
|
||||
provider_name: "Derpibooru",
|
||||
provider_name: gettext("Philomena Site"),
|
||||
provider_url: PhilomenaWeb.Endpoint.url(),
|
||||
cache_age: 7200,
|
||||
derpibooru_id: image.id,
|
||||
derpibooru_score: image.score,
|
||||
derpibooru_comments: image.comments_count,
|
||||
derpibooru_tags: Enum.map(image.tags, & &1.name)
|
||||
philomena_id: image.id,
|
||||
philomena_score: image.score,
|
||||
philomena_comments: image.comments_count,
|
||||
philomena_tags: Enum.map(image.tags, & &1.name)
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
defmodule PhilomenaWeb.AppView do
|
||||
use Phoenix.HTML
|
||||
|
||||
import PhilomenaWeb.Gettext
|
||||
|
||||
@time_strings %{
|
||||
seconds: "less than a minute",
|
||||
minute: "about a minute",
|
||||
|
@ -254,4 +256,6 @@ defmodule PhilomenaWeb.AppView do
|
|||
def get_flash(%{assigns: %{flash: nil}}, _key), do: %{}
|
||||
def get_flash(%{assigns: %{flash: flash}}, key), do: Phoenix.Flash.get(flash, key)
|
||||
def get_flash(_, _key), do: %{}
|
||||
|
||||
def site_name, do: gettext("Philomena Site")
|
||||
end
|
||||
|
|
|
@ -1,103 +0,0 @@
|
|||
defmodule PhilomenaWeb.AvatarGeneratorView do
|
||||
use PhilomenaWeb, :view
|
||||
import Bitwise
|
||||
|
||||
alias Philomena.Config
|
||||
|
||||
def generated_avatar(displayed_name) do
|
||||
config = config()
|
||||
|
||||
# Generate 8 pseudorandom numbers
|
||||
seed = :erlang.crc32(displayed_name)
|
||||
|
||||
{rand, _acc} =
|
||||
Enum.map_reduce(1..8, seed, fn _elem, acc ->
|
||||
value = xorshift32(acc)
|
||||
{value, value}
|
||||
end)
|
||||
|
||||
# Set species
|
||||
{species, rand} = at(species(config), rand)
|
||||
|
||||
# Set the ranges for the colors we are going to make
|
||||
color_range = 128
|
||||
color_brightness = 72
|
||||
|
||||
{body_r, body_g, body_b, rand} = rgb(0..color_range, color_brightness, rand)
|
||||
{hair_r, hair_g, hair_b, rand} = rgb(0..color_range, color_brightness, rand)
|
||||
{style_hr, _rand} = at(all_species(hair_shapes(config), species), rand)
|
||||
|
||||
# Creates bounded hex color strings
|
||||
color_bd = format("~2.16.0B~2.16.0B~2.16.0B", [body_r, body_g, body_b])
|
||||
color_hr = format("~2.16.0B~2.16.0B~2.16.0B", [hair_r, hair_g, hair_b])
|
||||
|
||||
# Make a character
|
||||
avatar_svg(config, color_bd, color_hr, species, style_hr)
|
||||
end
|
||||
|
||||
# Build the final SVG for the character.
|
||||
#
|
||||
# Inputs to raw/1 are not user-generated.
|
||||
# sobelow_skip ["XSS.Raw"]
|
||||
defp avatar_svg(config, color_bd, color_hr, species, style_hr) do
|
||||
[
|
||||
header(config),
|
||||
background(config),
|
||||
for_species(tail_shapes(config), species)["shape"] |> String.replace("HAIR_FILL", color_hr),
|
||||
for_species(body_shapes(config), species)["shape"] |> String.replace("BODY_FILL", color_bd),
|
||||
style_hr["shape"] |> String.replace("HAIR_FILL", color_hr),
|
||||
all_species(extra_shapes(config), species)
|
||||
|> Enum.map(&String.replace(&1["shape"], "BODY_FILL", color_bd)),
|
||||
footer(config)
|
||||
]
|
||||
|> List.flatten()
|
||||
|> Enum.map(&raw/1)
|
||||
end
|
||||
|
||||
# https://en.wikipedia.org/wiki/Xorshift
|
||||
# 32-bit xorshift deterministic PRNG
|
||||
defp xorshift32(state) do
|
||||
state = state &&& 0xFFFF_FFFF
|
||||
state = bxor(state, state <<< 13)
|
||||
state = bxor(state, state >>> 17)
|
||||
|
||||
bxor(state, state <<< 5)
|
||||
end
|
||||
|
||||
# Generate pseudorandom, clamped RGB values with a specified
|
||||
# brightness and random source
|
||||
defp rgb(range, brightness, rand) do
|
||||
{r, rand} = at(range, rand)
|
||||
{g, rand} = at(range, rand)
|
||||
{b, rand} = at(range, rand)
|
||||
|
||||
{r + brightness, g + brightness, b + brightness, rand}
|
||||
end
|
||||
|
||||
# Pick an element from an enumerable at the specified position,
|
||||
# wrapping around as appropriate.
|
||||
defp at(list, [position | rest]) do
|
||||
length = Enum.count(list)
|
||||
position = rem(position, length)
|
||||
|
||||
{Enum.at(list, position), rest}
|
||||
end
|
||||
|
||||
defp for_species(styles, species), do: hd(all_species(styles, species))
|
||||
|
||||
defp all_species(styles, species),
|
||||
do: Enum.filter(styles, &Enum.member?(&1["species"], species))
|
||||
|
||||
defp format(format_string, args), do: to_string(:io_lib.format(format_string, args))
|
||||
|
||||
defp species(%{"species" => species}), do: species
|
||||
defp header(%{"header" => header}), do: header
|
||||
defp background(%{"background" => background}), do: background
|
||||
defp tail_shapes(%{"tail_shapes" => tail_shapes}), do: tail_shapes
|
||||
defp body_shapes(%{"body_shapes" => body_shapes}), do: body_shapes
|
||||
defp hair_shapes(%{"hair_shapes" => hair_shapes}), do: hair_shapes
|
||||
defp extra_shapes(%{"extra_shapes" => extra_shapes}), do: extra_shapes
|
||||
defp footer(%{"footer" => footer}), do: footer
|
||||
|
||||
defp config, do: Config.get(:avatar)
|
||||
end
|
|
@ -13,19 +13,19 @@ defmodule PhilomenaWeb.ReportView do
|
|||
|
||||
def report_categories do
|
||||
[
|
||||
"Rule #0: Namecalling, trolling, discrimination": "Rule #0",
|
||||
"Rule #1: DNP, content theft, pay content, trace/bad edit": "Rule #1",
|
||||
"Rule #2: Bad tagging/sourcing": "Rule #2",
|
||||
"Rule #3: Image not MLP-related/obligatory pony": "Rule #3",
|
||||
"Rule #4: Whining about filterable content": "Rule #4",
|
||||
"Rule #5: Underage+human/anthro-looking porn": "Rule #5",
|
||||
"Rule #6: Spam, off-topic, or general site abuse": "Rule #6",
|
||||
"Rule #7: Above topic rating (NOT swear words)": "Rule #7",
|
||||
"Rule #8: Privacy violation": "Rule #8",
|
||||
"Rule #9: Commissions": "Rule #9",
|
||||
"Rule #n: Spirit of the rules": "Rule #n",
|
||||
"Other (please explain)": "Other",
|
||||
"Takedown request": "Takedown request"
|
||||
{dgettext("rules", "Rule #0: Namecalling, trolling, discrimination"), "Rule #0"},
|
||||
{dgettext("rules", "Rule #1: DNP, content theft, pay content, trace/bad edit"), "Rule #1"},
|
||||
{dgettext("rules", "Rule #2: Bad tagging/sourcing"), "Rule #2"},
|
||||
{dgettext("rules", "Rule #3: Image not related to the topic of the site"), "Rule #3"},
|
||||
{dgettext("rules", "Rule #4: Complaining about filterable content"), "Rule #4"},
|
||||
{dgettext("rules", "Rule #5: Illegal/forbidden content / underage porn"), "Rule #5"},
|
||||
{dgettext("rules", "Rule #6: Spam, off-topic, or general site abuse"), "Rule #6"},
|
||||
{dgettext("rules", "Rule #7: Above topic rating (NOT swear words)"), "Rule #7"},
|
||||
{dgettext("rules", "Rule #8: Privacy violation"), "Rule #8"},
|
||||
{dgettext("rules", "Rule #9: Commissions"), "Rule #9"},
|
||||
{dgettext("rules", "Rule #n: Spirit of the rules"), "Rule #n"},
|
||||
{dgettext("rules", "Other (please explain)"), "Other"},
|
||||
{dgettext("rules", "Takedown request"), "Takedown request"}
|
||||
]
|
||||
end
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ defmodule PhilomenaWeb.UserAttributionView do
|
|||
use PhilomenaWeb, :view
|
||||
|
||||
alias Philomena.Attribution
|
||||
alias PhilomenaWeb.AvatarGeneratorView
|
||||
|
||||
def anonymous?(object) do
|
||||
Attribution.anonymous?(object)
|
||||
|
@ -36,15 +35,15 @@ defmodule PhilomenaWeb.UserAttributionView do
|
|||
|
||||
case not is_nil(object.user) and reveal_anon? do
|
||||
true -> "#{object.user.name} (##{hash}, hidden)"
|
||||
false -> "Background Pony ##{hash}"
|
||||
false -> "#{gettext("Anonymous")} ##{hash}"
|
||||
end
|
||||
end
|
||||
|
||||
def anonymous_avatar(name, class \\ "avatar--small") do
|
||||
def anonymous_avatar(_name, class \\ "avatar--small") do
|
||||
class = Enum.join(["image-constrained", class], " ")
|
||||
|
||||
content_tag :div, class: class do
|
||||
AvatarGeneratorView.generated_avatar(name)
|
||||
raw("<img xlink:href=\"/images/no_avatar.svg\" src=\"/images/no_avatar.svg\">")
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -72,16 +71,11 @@ defmodule PhilomenaWeb.UserAttributionView do
|
|||
avatar_url_root() <> "/" <> avatar
|
||||
end
|
||||
|
||||
def anonymous_avatar_url(name) do
|
||||
svg =
|
||||
name
|
||||
|> AvatarGeneratorView.generated_avatar()
|
||||
|> Enum.map_join(&safe_to_string/1)
|
||||
def anonymous_avatar_url(_), do: "/images/no_avatar.svg"
|
||||
|
||||
"data:image/svg+xml;base64," <> Base.encode64(svg)
|
||||
end
|
||||
def user_icon(%{secondary_role: sr}) when sr in ["Site Developer", "Devops"],
|
||||
do: "fa-screwdriver-wrench"
|
||||
|
||||
def user_icon(%{secondary_role: sr}) when sr in ["Site Developer", "Devops"], do: "fa-screwdriver-wrench"
|
||||
def user_icon(%{secondary_role: sr}) when sr in ["Public Relations"], do: "fa-bullhorn"
|
||||
def user_icon(%{hide_default_role: true}), do: nil
|
||||
def user_icon(%{role: role}) when role in ["admin", "moderator"], do: "fa-gavel"
|
||||
|
|
41
priv/gettext/commissions.pot
Normal file
|
@ -0,0 +1,41 @@
|
|||
## Strings used in the commission listing feature.
|
||||
## See default.pot for more documentation.
|
||||
|
||||
msgid "Anthro"
|
||||
msgstr ""
|
||||
|
||||
msgid "Canon Characters"
|
||||
msgstr ""
|
||||
|
||||
msgid "Comics"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fetish Art"
|
||||
msgstr ""
|
||||
|
||||
msgid "Human and Human-like"
|
||||
msgstr ""
|
||||
|
||||
msgid "NSFW"
|
||||
msgstr ""
|
||||
|
||||
msgid "Original Characters"
|
||||
msgstr ""
|
||||
|
||||
msgid "Original Species"
|
||||
msgstr ""
|
||||
|
||||
msgid "Non-Humanoid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgid "Safe"
|
||||
msgstr ""
|
||||
|
||||
msgid "Shipping"
|
||||
msgstr ""
|
||||
|
||||
msgid "Violence and Gore"
|
||||
msgstr ""
|
29
priv/gettext/default.pot
Normal file
|
@ -0,0 +1,29 @@
|
|||
## This file is for language string definitions, NOT translations.
|
||||
## Do not put translations into this .pot file. Edit the .po file of
|
||||
## the relevant language instead.
|
||||
## For example, the English file is: priv/gettext/en/LC_MESSAGES/default.po
|
||||
|
||||
## Site name, appears throughout all the pages and in the header.
|
||||
## Example: msgstr "My New Booru"
|
||||
msgid "Philomena Site"
|
||||
msgstr ""
|
||||
|
||||
## Site name but written without any spaces, special characters,
|
||||
## and in English. Used as issuer name and path for TOTP stuff.
|
||||
## Example: msgstr "MyNewBooru"
|
||||
msgid "PhilomenaSite"
|
||||
msgstr ""
|
||||
|
||||
## Name for anon users.
|
||||
## Example: msgstr "Background Pony"
|
||||
msgid "Anonymous"
|
||||
msgstr ""
|
||||
|
||||
## Description of the site. Used in the meta tag.
|
||||
msgid "%{site_name} is a linear imagebooru which lets you share, find and discover new art and media."
|
||||
msgstr ""
|
||||
|
||||
## Used to generate artist link validation text for artists to put on their page.
|
||||
## Should be in English (not translated to other languages), and reflect overall site branding.
|
||||
msgid "PHILOMENA-LINKVALIDATION"
|
||||
msgstr ""
|
41
priv/gettext/en/LC_MESSAGES/commissions.po
Normal file
|
@ -0,0 +1,41 @@
|
|||
## Strings used in the commission listing feature.
|
||||
## See default.pot for more documentation.
|
||||
|
||||
msgid "Anthro"
|
||||
msgstr ""
|
||||
|
||||
msgid "Canon Characters"
|
||||
msgstr ""
|
||||
|
||||
msgid "Comics"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fetish Art"
|
||||
msgstr ""
|
||||
|
||||
msgid "Human and Human-like"
|
||||
msgstr ""
|
||||
|
||||
msgid "NSFW"
|
||||
msgstr ""
|
||||
|
||||
msgid "Original Characters"
|
||||
msgstr ""
|
||||
|
||||
msgid "Original Species"
|
||||
msgstr ""
|
||||
|
||||
msgid "Non-Humanoid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgid "Safe"
|
||||
msgstr ""
|
||||
|
||||
msgid "Shipping"
|
||||
msgstr ""
|
||||
|
||||
msgid "Violence and Gore"
|
||||
msgstr ""
|
24
priv/gettext/en/LC_MESSAGES/default.po
Normal file
|
@ -0,0 +1,24 @@
|
|||
## Site name, appears throughout all the pages and in the header.
|
||||
## Example: msgstr "My New Booru"
|
||||
msgid "Philomena Site"
|
||||
msgstr ""
|
||||
|
||||
## Site name but written without any spaces, special characters,
|
||||
## and in English. Used as issuer name and path for TOTP stuff.
|
||||
## Example: msgstr "MyNewBooru"
|
||||
msgid "PhilomenaSite"
|
||||
msgstr ""
|
||||
|
||||
## Name for anon users.
|
||||
## Example: msgstr "Background Pony"
|
||||
msgid "Anonymous"
|
||||
msgstr ""
|
||||
|
||||
## Description of the site. Used in the meta tag.
|
||||
msgid "%{site_name} is a linear imagebooru which lets you share, find and discover new art and media."
|
||||
msgstr ""
|
||||
|
||||
## Used to generate artist link validation text for artists to put on their page.
|
||||
## Should be in English (not translated to other languages), and reflect overall site branding.
|
||||
msgid "PHILOMENA-LINKVALIDATION"
|
||||
msgstr ""
|
39
priv/gettext/en/LC_MESSAGES/rules.po
Normal file
|
@ -0,0 +1,39 @@
|
|||
## See default.pot for more documentation.
|
||||
msgid "Rule #0: Namecalling, trolling, discrimination"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #1: DNP, content theft, pay content, trace/bad edit"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #2: Bad tagging/sourcing"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #3: Image not related to the topic of the site"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #4: Complaining about filterable content"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #5: Illegal/forbidden content / underage porn"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #6: Spam, off-topic, or general site abuse"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #7: Above topic rating (NOT swear words)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #8: Privacy violation"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #9: Commissions"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #n: Spirit of the rules"
|
||||
msgstr ""
|
||||
|
||||
msgid "Other (please explain)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Takedown request"
|
||||
msgstr ""
|
41
priv/gettext/rules.pot
Normal file
|
@ -0,0 +1,41 @@
|
|||
## Strings used in the reporting feature and site rule pages.
|
||||
## See default.pot for more documentation.
|
||||
|
||||
msgid "Rule #0: Namecalling, trolling, discrimination"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #1: DNP, content theft, pay content, trace/bad edit"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #2: Bad tagging/sourcing"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #3: Image not related to the topic of the site"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #4: Complaining about filterable content"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #5: Illegal/forbidden content / underage porn"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #6: Spam, off-topic, or general site abuse"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #7: Above topic rating (NOT swear words)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #8: Privacy violation"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #9: Commissions"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rule #n: Spirit of the rules"
|
||||
msgstr ""
|
||||
|
||||
msgid "Other (please explain)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Takedown request"
|
||||
msgstr ""
|