Merge branch 'dev'

This commit is contained in:
HackerNCoder 2023-02-19 16:17:41 +00:00
commit 6fb0b203d2
11 changed files with 275 additions and 46 deletions

121
LICENSES/CC0-1.0.txt Normal file
View file

@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

9
LICENSES/MIT.txt Normal file
View file

@ -0,0 +1,9 @@
MIT License
Copyright (c) 2021-2023 Queerscriptors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

13
LICENSING.txt Normal file
View file

@ -0,0 +1,13 @@
- Not all images are made by us and are therefore, © their respective owners
- The template is "Grayscale" by Start Bootstrap, licensed under MIT
- lektor-i18n is licensed under GPL-3.0
- lektor-scss is licensed under MIT
- (S)CSS:
- style.css is based on Bootstrap (licensed under MIT), with modifications by Start Bootstrap (Also licensed under MIT), and my own changes are therefore also MIT
- fork-awesome.scss is MIT
- fonts.scss is CC0
- Fonts:
- ForkAwesome is licensed under SIL OFL 1.1
- Nunito is licensed under the SIL OFL 1.1
- Varela Round is licensed under SIL OFL 1.1

View file

@ -6,6 +6,7 @@ It is available from:
- [github](https://github.com/queerscriptors/queerscriptors.org) - [github](https://github.com/queerscriptors/queerscriptors.org)
- [gitlab](https://gitlab.com/queerscriptors/queerscriptors.org) - [gitlab](https://gitlab.com/queerscriptors/queerscriptors.org)
<<<<<<< HEAD
I do not always visit github and gitlab, so either send me an email (hackerncoder@<canonical without lab.>) or ping me on matrix (or if you use discord, general is bridged to matrix so write there) I do not always visit github and gitlab, so either send me an email (hackerncoder@<canonical without lab.>) or ping me on matrix (or if you use discord, general is bridged to matrix so write there)
--- ---
@ -14,18 +15,3 @@ Some notes:
I am attempting to use no JavaScript on this website. I am attempting to use no JavaScript on this website.
---
Licensing, or what is a website?
This website contains no JavaScript and has essentially no code made by myself, therefore it isn't a program, the GPL or similar licenses do not seem applicable, of course I am not a lawyer.
But, I wish to make this website libre software or whatever is the equivalent. If you know anything about licensing and think this should be made better please reach out to me
Do note:
- Not all images are made by us and are therefore, © their respective owners
- The "source code" of this website includes things made by others:
- The template is "Grayscale" by Start Bootstrap, licensed under MIT
- lektor-i18n is licensed under GPL-3.0
- lektor-scss is licensed under MIT
- The style.CSS is based on Bootstrap (licensed under MIT), with modifications by Start Bootstrap (Also licensed under MIT), and my own changes are therefore also MIT
- The fonts: ForkAwesome is licensed under SIL OFL 1.1. Nunito is licensed under the SIL OFL 1.1. Varela Round is licensed under SIL OFL 1.1.

View file

@ -1,8 +1,7 @@
@charset "UTF-8"; @charset "UTF-8";
/*! /*!
* Queerscriptors.org - Queerscriptors (https://queerscriptors.org) * SPDX-FileCopyrightText: 2021-2023 Queerscriptors (https://queerscriptors.org)
* Copyright 2021-2022 Queerscriptors * SPDX-License-Identifier: MIT
* Licensed under MIT
*/ */
/*! /*!
* Start Bootstrap - Grayscale v7.0.3 (https://startbootstrap.com/theme/grayscale) * Start Bootstrap - Grayscale v7.0.3 (https://startbootstrap.com/theme/grayscale)
@ -4658,6 +4657,28 @@ textarea.form-control-lg {
padding: 1rem 1rem; padding: 1rem 1rem;
} }
@media (min-width: 768px) {
.card-body {
padding: 1rem 10px 0 1rem;
}
.card-grid {
display: grid;
grid-template-columns: 70% 30%;
grid-template-rows: min-content auto auto;
}
.card-grid-div {
grid-column: span 2;
grid-row: 2;
}
.card-grid-btn {
grid-column: 2;
grid-row: 3;
}
}
.card-title { .card-title {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
@ -6942,11 +6963,6 @@ textarea.form-control-lg {
position: absolute !important; position: absolute !important;
} }
@media (min-width: 768px) {
.position-absolute-md {
position: absolute !important;
}
}
.position-fixed { .position-fixed {
position: fixed !important; position: fixed !important;
} }

View file

@ -1,5 +1,8 @@
/* FONTS /*
* -------------------------- */ * SPDX-FileCopyrightText: 2022 HackerNCoder
*
* SPDX-License-Identifier: CC0-1.0
*/
$vr-font-path: "../fonts/varelaround" !default; $vr-font-path: "../fonts/varelaround" !default;
$vr-font-family: "Varela Round" !default; $vr-font-family: "Varela Round" !default;

View file

@ -7,8 +7,8 @@ title: Missed messages.
shortbody: 'goth gf's iPhone' airdrops you - accept or decline? A love/horror story about life, death & memes shortbody: 'goth gf's iPhone' airdrops you - accept or decline? A love/horror story about life, death & memes
--- ---
body: body:
##"goth gf's iPhone" airdrops you a photo. ###"goth gf's iPhone" airdrops you a photo.
###Accept or decline? ####Accept or decline?
A romance / horror story about life, death, and memes. A romance / horror story about life, death, and memes.

8
content/join/contents.lr Normal file
View file

@ -0,0 +1,8 @@
_model: join
---
ogpimage: /images/ogp.png
---
gettingstarted:
While you may be eager to start translating immediately, there may be others also working on the translation and so you will probably need to talk and coordinate with them. So please join our [Discord](https://discord.gg/tzbXdkxWYF) or [Matrix](https://matrix.to/#/#queerscriptors:encryptionin.space).
Once you are on either of those, you can proceed to step 2: creating an account at our [Weblate](https://weblate.queerscriptors.org), this is the tool we use to translate.

12
models/join.ini Normal file
View file

@ -0,0 +1,12 @@
[model]
name = join
label = {{ this.title }}
hidden = yes
[fields.ogpimage]
type = string
translate = False
[fields.gettingstarted]
type = markdown
translate = True

View file

@ -7,7 +7,7 @@
{% include 'header.html' %} {% include 'header.html' %}
<div class="container my-5 pt-5" > <div class="container my-5 pt-5" >
<div class="text-center" > <div class="text-center" >
<h1>A list of queer games</h1> <h1>{{ _("A list of queer games") }}</h1>
</div> </div>
{% for project in this.children %} {% for project in this.children %}
{% set image = project.attachments.images.first() %} {% set image = project.attachments.images.first() %}
@ -17,10 +17,16 @@
<img src="{{image|url}}" class="img-fluid rounded-start-md rounded-top-sm" > <img src="{{image|url}}" class="img-fluid rounded-start-md rounded-top-sm" >
</div> </div>
<div class="col-md-8" > <div class="col-md-8" >
<div class="card-body h-100 position-relative" > <div class="card-body h-100 position-relative card-grid" >
<h3 class="card-title {% if project.weblate %}mb-0{% endif %}" >{{project.title}}</h3>{% if project.weblate %}<span class="badge bg-success mb-2">{{ _("Translated by the Queerscriptors") }}</span>{% endif %} <div>
<h3 class="card-title {% if project.weblate %}mb-0{% endif %}">{{project.title}}</h3>
{% if project.weblate %}<span class="badge bg-success mb-2">{{ _("Translated by the Queerscriptors") }}</span>{% endif %}
</div>
<div class="card-grid-div">
{{project.body}} {{project.body}}
<div class="d-md-inline-block d-grid position-absolute-md bottom-0 end-0 mb-md-2 me-md-2"> </div>
<div class="d-md-flex card-grid-btn justify-content-end">
<div class="d-md-inline-block d-grid mb-md-2 align-self-end">
{% if project.weblate %} {% if project.weblate %}
<a href="{{project|url}}" class="btn btn-primary btn-sm">{{ _("More") }} <i class="fa fa-angle-right" aria-hidden="true"></i></a> <a href="{{project|url}}" class="btn btn-primary btn-sm">{{ _("More") }} <i class="fa fa-angle-right" aria-hidden="true"></i></a>
{% else %} {% else %}
@ -31,6 +37,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
{% endfor %} {% endfor %}
</div> </div>
{% endblock %} {% endblock %}

54
templates/join.html Normal file
View file

@ -0,0 +1,54 @@
{% extends "layout.html" %}
{% block page %}
{% include 'header.html' %}
<div class="container my-5 pt-5">
<div class="text-center">
<h1>Join the Queerscriptors</h1>
</div>
<div class="card mt-4" id="getting-started">
<div class="card-header">
Getting setup
</div>
<div class="card-body">
{{ this.gettingstarted }}
</div>
</div>
<div class="card mt-4" id="learn-weblate">
<div class="card-header">
Learn Weblate
</div>
<div class="card-body">
<p>Once you've created an account you will probably see your dashboard, it's empty since you haven't started working on any translations, so lets fix that. For projects that have a translation in your language already, they will be shown in "Suggested translations". To find all projects go up to the top and select "Projects" then "Browse all projects".</p>
<p> As of writing there are two projects I would recommend working on: Butterfly Soup 2 and website (that's this thing) if you click on either (in the list of all projects) you will find that there are two "components" one is probably called the same as the project, you do not want that one, that is the glossary. The actual translation happens in the other one, in many cases it is named "translate" or "translations" (or something along those lines), but it can be named anything.</p>
<p>Once you have found the "translations" component of the project you want to translate you will see a list of languages, maybe yours is in that list, if so just click on it a skip the rest of this paragraph. If not you will want to add your language, most likely weblate will be helpful and show it at the top of the list with a + to the left, you can just click that +. Otherwise use "Start new translation" at the bottom of the list, then search for your language, choose it and click on "Start new translation". It will take some time to work through everything, so be patient. Once it is done you will be taken to the newly created language</p>
<p>You can now click "Translate" and begin translating! (Also check out Zen mode, found in the upper right corner once you have clicked translate)</p>
</div>
</div>
<div class="card mt-4" id="learn-quirks">
<div class="card-header">
Learn the quirks
</div>
<div class="card-body">
<p>Various game engines have some technical stuff you need to know, e.g. in Ren'Py <code>%</code> is a special character, so you need to write <code>\%</code> or <code>%%</code> instead.</p>
<details>
<summary>Ren'Py</summary>
<ul>
<li>As said above, there are characters that are special and therefore need special treatment, e.g. <code>%%</code> or <code>\%</code> instead of <code>%</code> and <code>\\</code> instead of <code>\</code>. Most likely you will find these things are also in the source language, so you can just copy it over</li>
<ul>
<li>A full list of special characters <a href="https://renpy.org/doc/html/text.html#escape-characters">can be found in the Ren'Py documentation</a>.</li>
</ul>
<li>Ren'Py uses <code>{<i>char</i>}</code> and <code>{/<i>char</i>}</code> to denote styling, so <code>{b}bold{/b}</code> would display as <b>bold</b>.
<ul>
<li>A full list of what chars and names correspond to what output <a href="https://www.renpy.org/doc/html/text.html#styling-and-text-tags">can be found in the Ren'Py documentation</a>.</li>
</ul>
</li>
<li>For RTL languages: Usage of <code>{<i>char</i>}</code> inside the string, things like <code>{w=0.35}</code>, seem to break Ren'Py. Usage of things like <code>{big}</code> which surround the string seem to be fine.</li>
</ul>
</div>
</div>
</div>
{% endblock %}