Merge branch 'dev' into feature-docs

This commit is contained in:
Jonathan Barrow
2022-09-17 21:31:01 -04:00
committed by GitHub
56 changed files with 2836 additions and 1739 deletions

661
LICENSE Normal file
View File

@@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

View File

@@ -1,11 +1,18 @@
# Website for Pretendo Network
# Website
This is the Repository for the Website of the Pretendo Network.
This repository contains the source code for [our website](https://pretendo.network). All contributions should go in the [dev branch](https://github.com/PretendoNetwork/website/tree/dev).
Contributions should go in the [dev branch](https://github.com/PretendoNetwork/website/tree/dev).
### Localization
If you'd like to help localize Pretendo Network, you can check out our project on [Weblate](https://hosted.weblate.org/engage/pretendonetwork/).
Visit the [live version](https://pretendo.network)
<a href="https://hosted.weblate.org/engage/pretendonetwork/">
<img src="https://hosted.weblate.org/widgets/pretendonetwork/-/website/multi-auto.svg" alt="Translation status" />
</a>
* * *
Join our Discord:
<a href="https://discord.gg/DThgbba" target="_blank">
<img src="https://discordapp.com/api/guilds/408718485913468928/widget.png?style=banner3">
<img src="https://discordapp.com/api/guilds/408718485913468928/widget.png?style=banner3">
</a>

View File

@@ -1,44 +0,0 @@
{
"boards": {
"gb7qURRJ": {
"github_links": [
{
"display": "Account server repo",
"url": "https://github.com/PretendoNetwork/account"
}
]
},
"G54H0wtc": {
"github_links": [
{
"display": "Juxtaposition repo",
"url": "https://github.com/PretendoNetwork/juxt-web"
}
]
},
"lmAbWUyn": {
"github_links": [
{
"display": "BOSS repo",
"url": "https://github.com/PretendoNetwork/BOSS"
}
]
},
"LQZftqhE": {
"github_links": [
{
"display": "Super Mario Maker (authentication) repo",
"url": "https://github.com/PretendoNetwork/super-mario-maker-authentication"
}
]
},
"9frc4r0Q": {
"github_links": [
{
"display": "Website repo",
"url": "https://github.com/PretendoNetwork/website"
}
]
}
}
}

View File

@@ -1,21 +1,22 @@
{
"http": {
"port": 80,
"base_url": "http://localhost:80"
},
"trello": {
"api_key": "key",
"api_token": "token",
"board_name": "name"
"port": 3000,
"base_url": "http://localhost:3000"
},
"discord": {
"client_id": "client_id",
"client_secret": "client_secret",
"bot_token": "token"
"guild_id": "408718485913468928",
"bot_token": "bot_token",
"tester_roles": [
"419704440333926401",
"882247322933801030"
]
},
"stripe": {
"secret_key": "sk_secret",
"webhook_secret": "whsec_secret"
"goal_cents": 300000,
"secret_key": "secret_key",
"webhook_secret": "webhook_secret"
},
"database": {
"account": {
@@ -28,7 +29,12 @@
}
},
"gmail": {
"user": "email@gmail.com",
"pass": "app-password"
}
"user": "username",
"pass": "app-password",
"from": "User Name <email@domain.name>"
},
"github": {
"graphql_token": "graphql_token"
},
"aes_key": "aes_key"
}

View File

@@ -1,258 +0,0 @@
{
"nav": {
"about": "عنا",
"faq": "أسئلة",
"docs": "Docs",
"credits": "الفريق",
"progress": "التقدم",
"blog": "البلوج",
"account": "Account"
},
"hero": {
"subtitle": "سيرفرات الألعاب",
"title": "إعادة إنشاء",
"text": "إن بريتندو بديل مجاني و مصدر مفتوح لسيرفرات ال3دي اس و الوي يو ,يسمح بالاتصال عبر الإنترنت حتي بعد إغلاق السيرفرات الأصلية",
"buttons": {
"readMore": "أقرأ اكثر"
}
},
"aboutUs": {
"title": "معلومات عنا",
"paragraphs": [
"إن بريتندو مشروع مصدر مفتوح هدفه إعادة إنشاء شبكة نينتندو لل3دي اس و الوي يو عن طريق الهندسة العكسية",
".خدماتنا ستكون مجاناً ومصدرها مفتوح فستعيش وقتا طويلاً حتي بعد إغلاق شبكة نينتندو"
]
},
"progress": {
"title": "تقدم",
"paragraphs": [
"نحن نعمل الآن على الميفيرز و الأكونتات وإتصالها مع السيرفرات",
"و نعمل علي ماريوكارت 7 لل3دي اس و نريد ان نعمل علي الألعاب الآخري في اسرع وقت"
]
},
"faq": {
"title": "بعض الأسئلة المكررة",
"text": ":هنا بعض الأسئلة المتكررة بإجابتها",
"QAs": [
{
"question": "ما هو بريتندو؟",
"answer": "إن بريتندو مصدر مفتوح بديل عن شبكة نينتندو هدفها إنشاء سيرفرات لعائلة ال3 دي اس و الوي يو هدفنا الحفاظ علي الاجزاء الونلاين و الاستمتاع باقصي حد"
},
{
"question": "هل هويتي الشخصية علي شبكة نينتندو ستستمر علي بريتندو؟",
"answer": "للأسف لا اي الهويات الشخصية لشبكة نينتندو لن تعمل علي بريتندو لأن نينتندو لديم المعلومات الشخصية؛ و من الرغم من أن هجرة الهوية الشخصية من شبكة نينتندو إلي بريتندو ممكنة إلا انها لها خطر و لا نريد أن يكون معنا المعلومات الشخصية"
},
{
"question": "كيف استخدم بريتندو؟",
"answer": "إن بريتندو ليس جاهز للاستخدام العام ولكن عندما يكون جاهزا ستسطيع أن نسخدمه من خلال الهومبرو باتشر"
},
{
"question": "هل تعرف متي تكون خدمة او خاصية جاهزة؟",
"answer": "لا معظم خدمات بريتندو يتم إنشائها مفردة إي شخص قد يعمل علي الميفيرز و شخصاً أخر قد يعمل علي الاصدقاء و الاكونتات فلا نستطيع أن نعرف متي ستكون جاهزة"
},
{
"question": "هل بريتندو يعمل علي سيمو و المحاكيات؟",
"answer": "إن بريتندو مصمم لل3 دي اس و الوي يو؛ و في الوقت الحالي سيمو هو المحاكية الوحيد يدعِم شبكة نينتندو سي مد لا يدعم شبكة بريتندو مباشرا و لكن ستصتيع استخدامه (حالياً سيمو لا يدعم شبكة بريتندو)إن بريتندو مصمم لل3 دي اس و الوي يو؛ و في الوقت الحالي سيمو هو المحاكية الوحيد يدعِم شبكة نينتندو سي مد لا يدعم شبكة بريتندو مباشرا و لكن ستصتيع استخدامه (حالياً سيمو لا يدعم شبكة بريتندو)"
},
{
"question": "لو اتمنعنت من شبكة بريتندو هل سأستمتر ممتنع من بريتندو؟",
"answer": "لا جميع المستخدمين لن يكونوا محرمين و لكن يجب أن تمشي وراء القوانين او سيتمامتناعك"
},
{
"question": "هل سيدعم بريتندو الوى و السوتش؟",
"answer": "<a href=\"https://wiimmfi.de/\" target=\"_blank\">الوي لديها سيرفرات مخصصة من ويميفاي</a> و ليس لدينا الهدف للسويتش بسبب اختلافها عن شبكة نينتندو"
},
{
"question": "هل احتاج أن اهكر حتي اتصل؟",
"answer": "نعم ستحتاج إلي تهكير جهازك لكن علي الوي يو تحتاج فقط إلي الهومبرو لانشر اي هاكسي او موخا اما علي ال3 دي اس سيتم الاعلان في وقتا لاحقاً"
}
]
},
"showcase": {
"title": "What we make",
"text": "Our project has many components. Here are some of them.",
"cards": [
{
"title": "Game servers",
"caption": "Bringing back your favorite games and content using custom servers."
},
{
"title": "Juxtaposition",
"caption": "A re-imagining of Miiverse, as if it were made in the modern era."
},
{
"title": "Cemu support",
"caption": "Play your favorite Wii U titles even without a console!"
}
]
},
"credits": {
"title": "الفريق",
"text": "قابل الفريق وراء المشروع",
"people": [
{
"name": "Jonathan Barrow (jonbarrow)",
"caption": "مالك المشروع والمطور الرئيسي",
"picture": "https://github.com/jonbarrow.png",
"github": "https://github.com/jonbarrow"
},
{
"name": "Jemma (CaramelKat)",
"caption": "باحث و مطور الميفيرز",
"picture": "https://github.com/caramelkat.png",
"github": "https://github.com/CaramelKat"
},
{
"name": "Rambo6Glaz",
"caption": "مثبت الشبكة و باحث الأجهزة",
"picture": "https://github.com/Rambo6Glaz.png",
"github": "https://github.com/Rambo6Glaz"
},
{
"name": "quarky",
"caption": "مباحث البوس و مبرمج التصحيحات",
"picture": "https://github.com/QuarkTheAwesome.png",
"github": "https://github.com/QuarkTheAwesome"
},
{
"name": "SuperMarioDaBom",
"caption": "باحث الأجهزة",
"picture": "https://github.com/supermariodabom.png",
"github": "https://github.com/SuperMarioDaBom"
},
{
"name": "Jip Fr",
"caption": "مطور الويب والبحث المبكر للالمحل الإلكتروني",
"picture": "https://github.com/jipfr.png",
"github": "https://github.com/jipfr"
},
{
"name": "monty",
"caption": "مطور الويب",
"picture": "https://github.com/ashmonty.png",
"github": "https://github.com/ashmonty"
},
{
"name": "mrjvs",
"caption": "مصمم الويب",
"picture": "https://github.com/mrjvs.png",
"github": "https://github.com/mrjvs"
}
]
},
"specialThanks": {
"title": "شكرا خاصة",
"text": "من غيرهم، بريتندو لن نكن ب شكلها",
"people": [
{
"name": "superwhiskers",
"caption": "مطور مكتبة كرانش",
"picture": "https://github.com/superwhiskers.png",
"github": "https://github.com/superwhiskers"
},
{
"name": "Stary",
"caption": "مبرمج و مففك ال3 دي اس و نكس",
"picture": "https://github.com/Stary2001.png",
"github": "https://github.com/Stary2001"
},
{
"name": "Billy",
"caption": "المحافظ",
"picture": "https://github.com/InternalLoss.png",
"github": "https://github.com/InternalLoss"
},
{
"name": "Shutterbug2000",
"caption": "باحث ماريو كارت 7 و ال3 دي اس",
"picture": "https://cdn.discordapp.com/avatars/191370953807233024/0311b61e2009c1576828dd2e9a59d72e.png?size=128",
"github": "https://github.com/shutterbug2000"
},
{
"name": "rverse",
"caption": "Miiverse information sharing",
"picture": "https://github.com/rverseTeam.png",
"github": "https://twitter.com/rverseClub"
},
{
"name": "Kinnay",
"special": "شكر خاص",
"caption": "باحث في هياكل بيانات نينتندو",
"picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128",
"github": "https://github.com/Kinnay"
},
{
"name": "NinStar",
"caption": "Icons for the Mii Editor and Juxt reactions",
"picture": "https://github.com/ninstar.png",
"github": "https://github.com/ninstar"
},
{
"name": "GitHub contributors",
"caption": "Localizations and other contributions",
"picture": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
}
]
},
"discordJoin": {
"title": "Stay up to date",
"text": "Join our Discord server to get the latest updates on the project.",
"widget": {
"text": "Get realtime updates to our progress",
"button": "Join the server"
}
},
"footer": {
"socials": "Socials",
"usefulLinks": "Useful links",
"widget": {
"captions": [
"Want to keep updated?",
"Join our Discord server!"
],
"button": "Join now!"
}
},
"progressPage": {
"title": "تقدمنا",
"description": "تحقق من تقدم المشروع والأهداف! (يتم تحديثه كل ساعة أو نحو ذلك ، ولا يعكس جميع أهداف المشروع أو تقدمه)"
},
"blogPage": {
"title": "البلوج",
"description": "آخر التحديثات في أجزاء مكثفة. إذا كنت ترغب في رؤية المزيد من التحديثات المتكررة ، ففكر في دعمنا على <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\"> Patreon </a>. "
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "!لنترجم",
"description": "الصق رابطا إلي لغة الزيسون يمكن الوصول إليها بشكل عام لاختبارها على موقع الويب",
"instructions": "اظهر خطوات الترجمة",
"fileInput": "ملف للتجربة",
"filePlaceholder": "https://a.link.to/the_file.json",
"button": "Test file"
},
"docs": {
"missingInLocale": "This page is unavailable in your locale. Please check the English version below.",
"quickLinks": {
"header": "Quick links",
"links": [
{
"header": "Install Pretendo",
"caption": "View the setup instructions"
},
{
"header": "Got an error?",
"caption": "Search for it here"
}
]
}
}
}

View File

@@ -1,259 +0,0 @@
{
"nav": {
"about": "Hakkımızda",
"faq": "SSS",
"docs": "Docs",
"credits": "Katkıda Bulunanlar",
"progress": "İlerleme",
"blog": "Blog",
"account": "Account"
},
"hero": {
"subtitle": "Oyun sunucuları",
"title": "Yenilendi",
"text": "Pretendo, Nintendo'nun Wii U ve 3DS konsollarının sunucuları yerine kullanılabilmesi için tasarlanmış, asıl sunucular kapatılmış olmasına rağmen çevrimiçi bağlantıya olanak sağlayan ücretsiz açık kaynaklı bir yazılımdır.",
"buttons": {
"readMore": "Daha fazlasını oku"
}
},
"aboutUs": {
"title": "Hakkımızda",
"paragraphs": [
"Pretendo, Wii U ve 3DS için yapılmış Nintendo Network'ü temiz oda tekniğini kullanarak yeniden oluşturmayı hedefleyen açık kaynaklı bir projedir.",
"Hem ücretsiz hem de açık kaynaklı olan hizmetlerimiz, Nintendo Network'ün kaçınılmaz kapanışından sonra uzun bir süre çalışabilecektir."
]
},
"progress": {
"title": "İlerleme",
"paragraphs": [
"Şu anda, hesap sunucularımız ve hizmetlerle entegrason ile birlikte Miiverse üzerinde çalışıyoruz.",
"3DS için ise, mümkün olduğu vakit diğer oyunlar üzerinde çalışmaya devam etme arzusuyla Mario Kart 7 üzerinde çalışıyoruz."
]
},
"faq": {
"title": "Sıkça Sorulan Sorular",
"text": "Bize sorulan bazı genel sorular ve cevapları:",
"QAs": [
{
"question": "Pretendo nedir?",
"answer": "Pretendo, Wii U ve 3DS konsolları için özel sunucu oluşturmayı amaç edinen Nintendo Network replasmanıdır. Hedefimiz, oyuncuların favori Wii U ve 3DS oyunlarını tam kapasitede oynayabilmeleri için konsolların çevrimiçi işlevlerini temin etmektir."
},
{
"question": "Varolan Nintendo Network Kimliklerim Pretendo'da çalışacak mı?",
"answer": "Ne yazık ki, hayır. Varolan Nintendo Kimlikleri, kullanıcı verilerinize sadece Nintendo sahip olduğundan, Pretendo'da çalışmaz. Tabi, Nintendo Network'ten Prentendo Network'e kimlik intikali teorik olarak mümkündür. Ancak bu işlemin risk ihtimali bulunmakta; ve işlem için sahip olmak istemediğimiz hassas kullanıcı verileri gerekmektedir."
},
{
"question": "Pretendo'yu nasıl kullanırım?",
"answer": "Pretendo, şuanlık topluluk kullanımı için uygun bir vaziyette değil. Bununla birlikte, hazır olduğunda Pretendo'yu sadece konsolunuzdaki Homebrew Yamamızı çalıştırarak kullanabileceksiniz."
},
{
"question": "<Özel aksam/Hizmet> işlevinin ne zaman hazır olacağını biliyor musunuz?",
"answer": "Maalesef. Pek çok Pretendo aksamı/hizmeti bağımsız olarak geliştirilmekte (örneğin, Miiverse üzerinde bir geliştirici çalışırken, Hesaplar ve Arkadaşlar üzerinde başka bir geliştirici çalışmaktadır). Bu yüzden, bu işin ne kadar süreceği hakkında herhangi bir tahmin yapamıyoruz."
},
{
"question": "Pretendo Cemu/emülatörlerde çalışır mı??",
"answer": "Pretendo tasarımında, Wii U ve 3DS donanımını esas alır. Konsollara Nintendo Network desteği sağlayan tek emülatör de Cemu'dur. Cemu resmî olarak özel suncuları desteklemiyor ancak yine de Pretendo'yu Cemu üzerinden kullanabilmek mümkün olmalı.<br>Pretendo şu anlık Cemu'yu desteklemiyor."
},
{
"question": "Nintendo Network'ten banlandıysam, Pretendo'da da banlı kalır mıyım?",
"answer": "Nintendo Network'ün banlarına erişemediğimizden dolayı herhangi bir kullanıcı banlı olmayacak. Ancak, hizmetimiz kullanılırken uyulması gereken kurallar olacak ve uyulmadığı takdirde banlanmalar meydana gelebilecektir."
},
{
"question": "Pretendo Wii/Switch'i destekleyecek mi?",
"answer": "Wii'nin hâlihazırda <a href=\"https://wiimmfi.de/\" target=\"_blank\">Wiimmfi</a> tarafından sağlanan özel sunucuları bulunmaktadır. Switch için ise, hem sunucular çalıştığından hem de sistemi Nintendo Network'ten tamamen farklı olduğundan dolayı, şimdilik üzerine uğraşmayı düşünmüyoruz."
},
{
"question": "Bağlanmak için hacke ihtiyacım var mı?",
"answer": "Evet, cihazınızı hacklemeniz gerekmektedir. Ancak, Wii U'nuzda sadece Homebrew Launcher'a erişebilmeniz gerekmektedir (yani Haxchi, Coldboot Haxchi veya web tarayıcı exploiti gerekmektedir). 3DS'in nasıl bağlanacağı ile ilgili bilgilendirme ileriki tarihlerde verilecektir."
}
]
},
"showcase": {
"title": "What we make",
"text": "Our project has many components. Here are some of them.",
"cards": [
{
"title": "Game servers",
"caption": "Bringing back your favorite games and content using custom servers."
},
{
"title": "Juxtaposition",
"caption": "A re-imagining of Miiverse, as if it were made in the modern era."
},
{
"title": "Cemu support",
"caption": "Play your favorite Wii U titles even without a console!"
}
]
},
"credits": {
"title": "Ekip",
"text": "Projenin arkasındaki ekiple tanışın",
"people": [
{
"name": "Jonathan Barrow (jonbarrow)",
"caption": "Proje sahibi ve rehber geliştirici",
"picture": "https://github.com/jonbarrow.png",
"github": "https://github.com/jonbarrow"
},
{
"name": "Jemma (CaramelKat)",
"caption": "Miiverse üzerine araştırma ve geliştirme",
"picture": "https://github.com/caramelkat.png",
"github": "https://github.com/CaramelKat"
},
{
"name": "Rambo6Glaz",
"caption": "Ağ yükleyicisi ve konsol üzerine araştırma",
"picture": "https://github.com/Rambo6Glaz.png",
"github": "https://github.com/Rambo6Glaz"
},
{
"name": "quarky",
"caption": "BOSS research and patch development",
"picture": "https://github.com/QuarkTheAwesome.png",
"github": "https://github.com/QuarkTheAwesome"
},
{
"name": "SuperMarioDaBom",
"caption": "Konsol ve diğer sistem üzerine araştırma",
"picture": "https://github.com/supermariodabom.png",
"github": "https://github.com/SuperMarioDaBom"
},
{
"name": "Jip Fr",
"caption": "Web development lead",
"picture": "https://github.com/jipfr.png",
"github": "https://github.com/jipfr"
},
{
"name": "monty",
"caption": "Web sayfası geliştirme",
"picture": "https://github.com/ashmonty.png",
"github": "https://github.com/ashmonty"
},
{
"name": "mrjvs",
"caption": "Designer",
"picture": "https://github.com/mrjvs.png",
"github": "https://github.com/mrjvs"
}
]
},
"specialThanks": {
"title": "Special thanks",
"text": "Without them, Pretendo wouldn't be where it is today.",
"people": [
{
"name": "superwhiskers",
"caption": "Sıkıştırılmış kütüphane geliştirme",
"picture": "https://github.com/superwhiskers.png",
"github": "https://github.com/superwhiskers"
},
{
"name": "Stary",
"caption": "3DS dev and NEX dissector",
"picture": "https://github.com/Stary2001.png",
"github": "https://github.com/Stary2001"
},
{
"name": "Billy",
"caption": "Preservationist",
"picture": "https://github.com/InternalLoss.png",
"github": "https://github.com/InternalLoss"
},
{
"name": "Shutterbug2000",
"caption": "Mario Kart 7 ve 3DS üzerine araştırma",
"picture": "https://cdn.discordapp.com/avatars/191370953807233024/0311b61e2009c1576828dd2e9a59d72e.png?size=128",
"github": "https://github.com/shutterbug2000"
},
{
"name": "rverse",
"caption": "Miiverse information sharing",
"picture": "https://github.com/rverseTeam.png",
"github": "https://twitter.com/rverseClub"
},
{
"name": "Kinnay",
"special": "Özel teşekkür",
"caption": "Nintendo'nun veri yapıları üzerine araştırma",
"picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128",
"github": "https://github.com/Kinnay"
},
{
"name": "NinStar",
"caption": "Icons for the Mii Editor and Juxt reactions",
"picture": "https://github.com/ninstar.png",
"github": "https://github.com/ninstar"
},
{
"name": "GitHub contributors",
"caption": "Localizations and other contributions",
"picture": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png",
"github": "https://github.com/PretendoNetwork"
}
]
},
"discordJoin": {
"title": "Stay up to date",
"text": "Join our Discord server to get the latest updates on the project.",
"widget": {
"text": "Get realtime updates to our progress",
"button": "Join the server"
}
},
"footer": {
"socials": "Socials",
"usefulLinks": "Useful links",
"widget": {
"captions": [
"Want to keep updated?",
"Join our Discord server!"
],
"button": "Join now!"
}
},
"progressPage": {
"title": "İlerlememiz",
"description": "Proje ilerlemesini ve hedeflerini kontrol edin! (Her saat başı güncellenir. TÜM proje hedeflerini veya ilerlemesini yansıtmaz)"
},
"blogPage": {
"title": "Blog",
"description": "The latest updates in condensed chunks. If you want to see more frequent updates, consider supporting us on <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "Let's localize",
"description": "Paste a link to a publicly accessible JSON locale to test it on the website",
"instructions": "View localization instructions",
"fileInput": "File to test",
"filePlaceholder": "https://a.link.to/the_file.json",
"button": "Test file"
},
"docs": {
"missingInLocale": "This page is unavailable in your locale. Please check the English version below.",
"quickLinks": {
"header": "Quick links",
"links": [
{
"header": "Install Pretendo",
"caption": "View the setup instructions"
},
{
"header": "Got an error?",
"caption": "Search for it here"
}
]
}
}
}

332
locales/ar_AR.json Normal file
View File

@@ -0,0 +1,332 @@
{
"nav": {
"about": "عنا",
"faq": "أسئلة",
"docs": "دليل",
"credits": "الفريق",
"progress": "التقدم",
"blog": "البلوج",
"account": "حساب",
"accountWidget": {
"settings": "إعدادات",
"logout": "تسجيل الخروج"
}
},
"hero": {
"subtitle": "سيرفرات الألعاب",
"title": "إعادة إنشاء",
"text": "إن بريتندو بديل مجاني و مصدر مفتوح لسيرفرات ال3دي اس و الوي يو ,يسمح بالاتصال عبر الإنترنت حتي بعد إغلاق السيرفرات الأصلية",
"buttons": {
"readMore": "أقرأ اكثر"
}
},
"aboutUs": {
"title": "معلومات عنا",
"paragraphs": [
"إن بريتندو مشروع مصدر مفتوح هدفه إعادة إنشاء شبكة نينتندو لل3دي اس و الوي يو عن طريق الهندسة العكسية.",
"خدماتنا ستكون مجاناً ومصدرها مفتوح، فستعيش وقتا طويلاً حتي بعد إغلاق شبكة نينتندو."
]
},
"progress": {
"title": "تقدم",
"paragraphs": [
null,
"و نعمل علي ماريوكارت 7 لل3دي اس و نريد ان نعمل علي الألعاب الآخري في اسرع وقت"
],
"githubRepo": "ريبو الجيتهب"
},
"faq": {
"title": "بعض الأسئلة المكررة",
"text": "هنا بعض الأسئلة المتكررة بإجابتها للحصول على معلومات سهلة.",
"QAs": [
{
"question": "ما هو بريتندو؟",
"answer": "إن بريتندو مصدر مفتوح بديل عن شبكة نينتندو هدفها إنشاء سيرفرات لعائلة ال3 دي اس و الوي يو. هدفنا الحفاظ علي الاجزاء الاونلاين و لجعل اللاعبين يستمتعون باقصي حد."
},
{
"question": "هل هويتي الشخصية علي شبكة نينتندو ستستمر علي بريتندو؟",
"answer": "للأسف، لا. اي الهويات الشخصية لشبكة نينتندو لن تعمل علي بريتندو لأن نينتندو لديم المعلومات الشخصية؛ و من الرغم من أن هجرة الهوية الشخصية من شبكة نينتندو إلي بريتندو ممكنة إلا انها لها خطر و لا نريد أن يكون معنا المعلومات الشخصية."
},
{
"question": "كيف استخدم بريتندو؟",
"answer": "إن بريتندو ليس جاهز للاستخدام العام ولكن عندما يكون جاهزا ستسطيع أن نسخدمه من خلال الهومبرو باتشر."
},
{
"question": "هل تعرف متي تكون خدمة او خاصية جاهزة؟",
"answer": "لا، معظم خدمات بريتندو يتم إنشائها مفردة إي شخص قد يعمل علي الميفيرز و شخصاً أخر قد يعمل علي الاصدقاء و الاكونتات فلا نستطيع أن نعرف متي ستكون جاهزة."
},
{
"question": "هل بريتندو يعمل علي سيمو و المحاكيات؟",
"answer": "إن بريتندو مصمم لل3 دي اس و الوي يو؛ و في الوقت الحالي سيمو هو المحاكية الوحيد يدعِم شبكة نينتندو. سي مو لا يدعم شبكة بريتندو مباشرا و لكن ستصتطتيع استخدامه (حالياً سيمو لا يدعم شبكة بريتندو)إن بريتندو مصمم لل3 دي اس و الوي يو؛ و في الوقت الحالي سيمو هو المحاكية الوحيد يدعِم شبكة نينتندو سي مد لا يدعم شبكة بريتندو مباشرا و لكن ستصتيع استخدامه (حالياً سيمو لا يدعم شبكة بريتندو)."
},
{
"question": "لو اتمنعنت من شبكة بريتندو هل سأستمتر ممتنع من بريتندو؟",
"answer": "لا، جميع المستخدمين لن يكونوا محرمين و لكن يجب أن تمشي وراء القوانين او سيتمامتناعك."
},
{
"question": "هل سيدعم بريتندو الوى و السوتش؟",
"answer": "<a href=\"https://wiimmfi.de/\" target=\"_blank\">الوي لديها سيرفرات مخصصة من ويميفاي.</a> و ليس لدينا الهدف للسويتش بسبب اختلافها عن شبكة نينتندو."
},
{
"question": "هل احتاج أن اهكر حتي اتصل؟",
"answer": "نعم، ستحتاج إلي تهكير جهازك لكن علي الوي يو تحتاج فقط إلي الهومبرو لانشر اي هاكسي او موخا اما علي ال3 دي اس سيتم الاعلان في وقتا لاحقاً."
}
]
},
"credits": {
"title": "الفريق",
"text": "قابل الفريق وراء المشروع",
"people": [
{
"name": "Jonathan Barrow (jonbarrow)",
"caption": "مالك المشروع والمطور الرئيسي",
"picture": "https://github.com/jonbarrow.png",
"github": "https://github.com/jonbarrow"
},
{
"name": "Jemma (CaramelKat)",
"caption": "باحث و مطور الميفيرز",
"picture": "https://github.com/caramelkat.png",
"github": "https://github.com/CaramelKat"
},
{
"name": "Rambo6Glaz",
"caption": "مثبت الشبكة و باحث الأجهزة",
"picture": "https://github.com/Rambo6Glaz.png",
"github": "https://github.com/Rambo6Glaz"
},
{
"name": "quarky",
"caption": "مباحث البوس و مبرمج التصحيحات",
"picture": "https://github.com/QuarkTheAwesome.png",
"github": "https://github.com/QuarkTheAwesome"
},
{
"name": "SuperMarioDaBom",
"caption": "باحث الأجهزة",
"picture": "https://github.com/supermariodabom.png",
"github": "https://github.com/SuperMarioDaBom"
},
{
"name": "Jip Fr",
"caption": "مطور الويب والبحث المبكر للالمحل الإلكتروني",
"picture": "https://github.com/jipfr.png",
"github": "https://github.com/jipfr"
},
{
"name": "monty",
"caption": "مطور الويب",
"picture": "https://github.com/ashmonty.png",
"github": "https://github.com/ashmonty"
},
{
"name": "mrjvs",
"caption": "مصمم الويب",
"picture": "https://github.com/mrjvs.png",
"github": "https://github.com/mrjvs"
}
]
},
"specialThanks": {
"title": "شكرا خاصة",
"text": "من غيرهم، بريتندو لن نكن بشكلها.",
"people": [
{
"name": "superwhiskers",
"caption": "مطور مكتبة كرانش",
"picture": "https://github.com/superwhiskers.png",
"github": "https://github.com/superwhiskers"
},
{
"name": "Stary",
"caption": "مبرمج و مففك ال3 دي اس و نكس",
"picture": "https://github.com/Stary2001.png",
"github": "https://github.com/Stary2001"
},
{
"name": "Billy",
"caption": "المحافظ",
"picture": "https://github.com/InternalLoss.png",
"github": "https://github.com/InternalLoss"
},
{
"name": "Shutterbug2000",
"caption": "باحث ماريو كارت 7 و ال3 دي اس",
"picture": "https://cdn.discordapp.com/avatars/191370953807233024/0311b61e2009c1576828dd2e9a59d72e.png?size=128",
"github": "https://github.com/shutterbug2000"
},
{
"name": "rverse",
"caption": "تبادل المعلومات الميفيرز",
"picture": "https://github.com/rverseTeam.png",
"github": "https://twitter.com/rverseClub"
},
{
"name": "Kinnay",
"special": "شكر خاص",
"caption": "باحث في هياكل بيانات نينتندو",
"picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128",
"github": "https://github.com/Kinnay"
},
{
"name": "NinStar",
"caption": "أيقونات لمحرر المي وردود فعل زنكس",
"picture": "https://github.com/ninstar.png",
"github": "https://github.com/ninstar"
},
{
"name": "المساهمين على جيتهاب",
"caption": "الترجمة والمساهمات الأخرى",
"picture": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png",
"github": "https://github.com/PretendoNetwork"
}
]
},
"progressPage": {
"title": "تقدمنا",
"description": "تحقق من تقدم المشروع والأهداف! (يتم تحديثه كل ساعة أو نحو ذلك ، ولا يعكس جميع أهداف المشروع أو تقدمه)"
},
"blogPage": {
"title": "البلوج",
"description": "آخر التحديثات في أجزاء مكثفة. إذا كنت ترغب في رؤية المزيد من التحديثات المتكررة ، ففكر في دعمنا على <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\"> Patreon </a>.",
"published": "صادرة من",
"publishedOn": "نشرت في"
},
"localizationPage": {
"title": "!لنترجم",
"description": "الصق رابطا إلي لغة الزيسون يمكن الوصول إليها بشكل عام لاختبارها على موقع الويب",
"instructions": "اظهر خطوات الترجمة",
"fileInput": "ملف للتجربة",
"filePlaceholder": "https://a.link.to/the_file.json",
"button": "ملف الاختبار"
},
"footer": {
"usefulLinks": "لنكات مفيدة",
"widget": {
"captions": [
"تريد أن تبقى على اطلاع؟",
"انضم إلى سيرفرنا علي ديسكورد!"
],
"button": "إنضم الآن!"
},
"socials": "مواقع الاتصال"
},
"discordJoin": {
"text": "انضم إلى سيرفرنا علي ديسكورد للحصول على آخر التحديثات حول بريتندو.",
"widget": {
"text": "أحصل علي آخر التحديثات",
"button": "إنضم إلي سيرفرنا"
},
"title": "ابق على إطلاع"
},
"account": {
"settings": {
"downloadFilesDescription": "(لن يعمل على شبكة نينتندو)",
"downloadFiles": "تحميل ملفات الحساب",
"settingCards": {
"profile": "الملف الشخصي",
"nickname": "لقب",
"birthDate": "تاريخ الميلاد",
"gender": "الجنس",
"country": "البلد/المنطقة",
"timezone": "المنطقة الزمنية",
"serverEnv": "بيئة السيرفر",
"production": "الإنتاج",
"beta": "بيتا",
"upgradePrompt": "سيرفرات بيتا حصرية لمختبري الإصدارات التجريبية. <br> لتصبح أحد مختبري الإصدار بيتا ، قم بالترقية إلى مستوى حساب أعلى.",
"hasAccessPrompt": "تمنحك الطبقة الحالية إمكانية الوصول إلى سيرفرات بيتا. رائع!",
"signInSecurity": "تسجيل الدخول والأمان",
"email": "البريد الإلكتروني",
"password": "كلمة السر",
"passwordResetNotice": "بعد تغيير كلمة المرور الخاصة بك ، سيتم تسجيل خروجك من جميع الأجهزة.",
"signInHistory": "سجل تسجيل الدخول",
"fullSignInHistory": "عرض سجل تسجيل الدخول الكامل",
"otherSettings": "إعدادات أخرى",
"discord": "ديسكورد",
"connectedToDiscord": "متصل الديسكورد ب",
"removeDiscord": "إزالة حساب الديسكورد",
"noDiscordLinked": "لا يوجد حساب ديسكورد متصل.",
"linkDiscord": "توصيل حساب ديسكورد",
"newsletter": "الرسالة الإخبارية",
"newsletterPrompt": "تلقي تحديثات المشروع عبر البريد الإلكتروني (يمكنك إلغاء الاشتراك في أي وقت)",
"passwordPrompt": "أدخل كلمة مرور حسابك البريتندو و لتنزيل ملفات سيمو"
},
"upgrade": "رفع مستوى الحساب"
},
"banned": "محظور",
"loginForm": {
"login": "تسجيل الدخول",
"register": "سجل",
"password": "كلمة السر",
"email": "البريد الإلكتروني",
"detailsPrompt": "أدخل تفاصيل حسابك أدناه",
"username": "اسم المستخدم",
"forgotPassword": "نسيت كلمة سرك؟",
"loginPrompt": "هل لديك حساب؟",
"confirmPassword": "تأكيد كلمة المرور",
"registerPrompt": "ليس لديك حساب؟",
"miiName": "اسم المي"
},
"accountLevel": [
"اساسي",
"مختبر",
"مشرف",
"مطور"
]
},
"upgrade": {
"unsubPrompt": "هل أنت متأكد من أنك تريد إلغاء الاشتراك من <span>tiername</span>؟ ستفقد الوصول إلى الامتيازات المرتبطة بهذه الطبقة.",
"changeTierPrompt": "هل أنت متأكد من رغبتك في إلغاء الاشتراك من <span class=\"oldtier\">oldtiername والاشتراك في <span class=\"newtier\">newtiername</span></span>؟",
"title": "ترقيه",
"description": "إن الوصول إلى الهدف الشهري سيجعل بريتندو وظيفة بدوام كامل ، مما يوفر تحديثات ذات جودة أفضل بمعدل أسرع.",
"month": "شهر",
"tierSelectPrompt": "حدد فئة",
"unsub": "إلغاء الاشتراك",
"unsubConfirm": "إلغاء الاشتراك",
"changeTier": "تغيير الطبقة",
"changeTierConfirm": "تغيير الطبقة",
"back": "العودة"
},
"docs": {
"missingInLocale": "هذه الصفحة غير متوفرة في الإعدادات المحلية. يرجى التحقق من النسخة الإنجليزية أدناه.",
"quickLinks": {
"header": "روابط سريعة",
"links": [
{
"header": "تحميل بريتندو",
"caption": "عرض إرشادات الإعداد"
},
{
"header": "هل لديك خطأ؟",
"caption": "ابحث عنه هنا"
}
]
}
},
"donation": {
"upgradePush": "لتصبح مشتركا والوصول إلى الامتيازات الرائعة ، تفضل بزيارة صفحة <a href=\"/account/upgrade\">upgrade</a>.",
"progress": "<span> $$ {totd} </span> من <span> $$ {goald} </span> / شهريًا ، <span> $ {perc}٪ </span> من الهدف الشهري."
},
"showcase": {
"title": "ماذا نقوم به",
"cards": [
{
"title": "سيرفرات ألعاب",
"caption": "إعادة إحياء ألعابك المفضلة و محتوياتها بإستخدام سيرفرات مخصصة."
},
{
"title": "زونكسابوسيشن",
"caption": "إعادة تخيل الميفيرز، كما لو كانت مصنوعة في العصر الحديث."
},
{
"title": "دعم سيمو",
"caption": "إلعب افضل ألعاب الوي يو من دون جهاز!"
}
],
"text": "يحتوي مشروعنا على العديد من المكونات. هنا بعض منهم."
},
"modals": {
"cancel": "إلغاء",
"confirm": "تأكيد"
}
}

View File

@@ -4,9 +4,7 @@
"faq": "FAQ",
"docs": "Docs",
"credits": "Mitwirkende",
"progress": "Fortschritt",
"blog": "Blog",
"account": "Account"
"progress": "Fortschritt"
},
"hero": {
"subtitle": "Spiel-Server",
@@ -26,7 +24,7 @@
"progress": {
"title": "Fortschritt",
"paragraphs": [
"Aktuell arbeiten wir am Miiverse, unseren Account-Servern und deren Integration mit den Diensten.",
null,
"Für den 3DS arbeiten wir nebenbei auch an Mario Kart 7, mit dem Wunsch, nach Möglichkeit auch an anderen Spielen zu arbeiten."
]
},
@@ -84,7 +82,6 @@
"title": "Cemu Unterstützung",
"caption": "Spiele deine Lieblings WII U Spiele sogar ohne eine Konsole!"
}
]
},
"credits": {
@@ -222,38 +219,5 @@
"blogPage": {
"title": "Blog",
"description": "Die letzten Updates in Kurzform. Wenn du Updates häufiger einsehen möchtest, unterstütze uns doch bei <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "Let's localize",
"description": "Paste a link to a publicly accessible JSON locale to test it on the website",
"instructions": "View localization instructions",
"fileInput": "File to test",
"filePlaceholder": "https://a.link.to/the_file.json",
"button": "Test file"
},
"docs": {
"missingInLocale": "This page is unavailable in your locale. Please check the English version below.",
"quickLinks": {
"header": "Quick links",
"links": [
{
"header": "Install Pretendo",
"caption": "View the setup instructions"
},
{
"header": "Got an error?",
"caption": "Search for it here"
}
]
}
}
}

View File

@@ -6,7 +6,11 @@
"credits": "Credits",
"progress": "Progress",
"blog": "Blog",
"account": "Account"
"account": "Account",
"accountWidget": {
"settings": "Settings",
"logout": "Logout"
}
},
"hero": {
"subtitle": "Game servers",
@@ -25,10 +29,7 @@
},
"progress": {
"title": "Progress",
"paragraphs": [
"Currently, we are working on Miiverse, along with our account servers and its integration with the services.",
"For 3DS, we are also working on Mario Kart 7, with a desire to continue working on other games when possible."
]
"githubRepo": "Github repository"
},
"faq": {
"title": "Frequently Asked Questions",
@@ -221,9 +222,57 @@
},
"blogPage": {
"title": "Blog",
"description": "The latest updates in condensed chunks. If you want to see more frequent updates, consider supporting us on <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
"description": "The latest updates in condensed chunks. If you want to see more frequent updates, consider supporting us on <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>.",
"published": "Published by",
"publishedOn": "on"
},
"account": {
"loginForm": {
"login": "Login",
"register": "Register",
"detailsPrompt": "Enter your account details below",
"username": "Username",
"password": "Password",
"confirmPassword": "Confirm password",
"email": "Email",
"miiName": "Mii name",
"forgotPassword": "Forgot your password?",
"registerPrompt": "Don't have an account?",
"loginPrompt": "Already have an account?"
},
"settings": {
"downloadFiles": "Download account files",
"downloadFilesDescription": "(will not work on Nintendo Network)",
"upgrade": "Upgrade account",
"settingCards": {
"profile": "Profile",
"nickname": "Nickname",
"birthDate": "Birth date",
"gender": "Gender",
"country": "Country/region",
"timezone": "Timezone",
"serverEnv": "Server environment",
"production": "Production",
"beta": "Beta",
"upgradePrompt": "Beta servers are exclusive to beta testers.<br>To become a beta tester, upgrade to a higher account tier.",
"hasAccessPrompt": "Your current tier gives you beta server access. Cool!",
"signInSecurity": "Sign in and security",
"email": "Email",
"password": "Password",
"passwordResetNotice": "After changing your password, you will be signed out from all devices.",
"signInHistory": "Sign in history",
"fullSignInHistory": "View full sign in history",
"otherSettings": "Other settings",
"discord": "Discord",
"connectedToDiscord": "Connected to Discord as",
"removeDiscord": "Remove Discord account",
"noDiscordLinked": "No Discord account linked.",
"linkDiscord": "Link Discord account",
"newsletter": "Newsletter",
"newsletterPrompt": "Receive project updates via email (you can opt-out at any time)",
"passwordPrompt": "Enter your PNID password to download Cemu files"
}
},
"accountLevel": [
"Standard",
"Tester",
@@ -232,6 +281,23 @@
],
"banned": "Banned"
},
"upgrade": {
"title": "Upgrade",
"description": "Reaching the monthly goal will make Pretendo a full time job, providing better quality updates at a faster rate.",
"month": "month",
"tierSelectPrompt": "Select a tier",
"unsub": "Unsubscribe",
"unsubPrompt": "Are you sure you want to unsubscribe from <span>tiername</span>? You will lose access to the perks associated with that tier.",
"unsubConfirm": "Unsubscribe",
"changeTier": "Change tier",
"changeTierPrompt": "Are you sure you want to unsubscribe from <span class='oldtier'>oldtiername</span> and subscribe to <span class='newtier'>newtiername</span>?",
"changeTierConfirm": "Change tier",
"back": "Back"
},
"donation": {
"progress": "<span>$${totd}</span> of <span>$${goald}</span>/month, <span>${perc}%</span> of the monthly goal.",
"upgradePush": "To become a subscriber and gain access to cool perks, visit the <a href=\"/account/upgrade\">upgrade page</a>."
},
"localizationPage": {
"title": "Let's localize",
"description": "Paste a link to a publicly accessible JSON locale to test it on the website",
@@ -255,5 +321,9 @@
}
]
}
},
"modals": {
"cancel": "Cancel",
"confirm": "Confirm"
}
}

View File

@@ -26,7 +26,7 @@
"progress": {
"title": "Progreso",
"paragraphs": [
"Actualmente, estamos trabajando en Miiverse, junto con los servidores de cuentas y la integración con los servicios.",
null,
"En 3DS también trabajamos en el soporte de Mario Kart 7, con el deseo de continuar trabajando en otros juegos en cuanto sea posible."
]
},
@@ -56,7 +56,7 @@
},
{
"question": "Si estoy baneado en Nintendo Network, ¿seguiré baneado al usar Pretendo?",
"answer": "No tenemos acceso a los baneos de Nintendo Network motivo por el nadie estará baneado en nuestros servidores al principio. Sin embargo, tendremos reglas a seguir al acceder a nuestros servicios y no hacerlo resultará en un baneo."
"answer": "No tenemos acceso a los baneos de Nintendo Network motivo por el nadie estará baneado en nuestros servidores al principio. Sin embargo, tendremos reglas a seguir al acceder a nuestros servicios y no hacerlo resultará en un baneo."
},
{
"question": "¿Pretendo soportará Wii/Switch?",
@@ -84,7 +84,6 @@
"title": "Soporte para Cemu",
"caption": "¡Juega a tus títulos de Wii U favoritos incluso sin una consola!"
}
]
},
"credits": {
@@ -223,15 +222,6 @@
"title": "Blog",
"description": "Las últimas actualizaciones en pequeñas cantidades. Si quieres ver actualizaciones más frecuentes, considera apoyarnos en <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "Vamos a localizar",
"description": "Pega un enlace a una localización JSON accesible pulicamente para probarla en el sitio",

View File

@@ -6,7 +6,11 @@
"credits": "Crédits",
"progress": "Progression",
"blog": "Blog",
"account": "Compte"
"account": "Compte",
"accountWidget": {
"logout": "Déconnexion",
"settings": "Réglages"
}
},
"hero": {
"subtitle": "Serveurs de jeu",
@@ -25,10 +29,7 @@
},
"progress": {
"title": "Progression",
"paragraphs": [
"Actuellement, nous travaillons sur Miiverse, ainsi que sur nos serveurs de comptes et son intégration avec nos services.",
"Pour la 3DS, nous travaillons également sur Mario Kart 7, avec la volonté de continuer à travailler sur d'autres jeux dès que possible."
]
"githubRepo": "Dépôt GitHub"
},
"faq": {
"title": "Foire Aux Questions",
@@ -41,7 +42,6 @@
{
"question": "Mes NNIDs existants fonctionneront-ils sur Pretendo ?",
"answer": "Malheuresement, non. Les NNIDs existants ne fonctionneront pas sur Pretendo car seul Nintendo détient vos données utilisateur. Bien qu'une migration de NNID à PNID soit théoriquement possible, elle serait risquée et nécessiterait des données personnelles sensibles que nous préférons ne pas stocker."
},
{
"question": "Comment puis-je utiliser Pretendo ?",
@@ -50,7 +50,6 @@
{
"question": "Savez-vous quand <fonctionnalité/service> sera prêt ?",
"answer": "Non. De nombreuses fonctionnalités/services de Pretendo sont développés indépendamment (par exemple, un développeur peut travailler sur Miiverse tandis qu'un autre travaille sur Comptes et Amis) et nous ne pouvons donc pas donner d'estimation exacte du temps qu'il faudra pour que tout soit prêt."
},
{
"question": "Est-ce que Pretendo fonctionne sur Cemu/émulateurs ?",
@@ -86,7 +85,6 @@
"title": "Support de Cemu",
"caption": "Jouez à vos titres Wii U préférés même sans console !"
}
]
},
"credits": {
@@ -223,16 +221,9 @@
},
"blogPage": {
"title": "Blog",
"description": "Les dernières mises à jour en blocs condensés. Si vous souhaitez voir des mises à jour plus fréquentes, envisagez de nous soutenir sur <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
"description": "Les dernières mises à jour en blocs condensés. Si vous souhaitez voir des mises à jour plus fréquentes, envisagez de nous soutenir sur <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>.",
"publishedOn": "le",
"published": "Publié par"
},
"localizationPage": {
"title": "Localisons",
@@ -257,5 +248,38 @@
}
]
}
},
"account": {
"loginForm": {
"login": "Connexion",
"detailsPrompt": "Entrez les informations du compte ci-dessous",
"password": "Mot de Passe",
"loginPrompt": "Déjà un Compte ?",
"username": "Pseudo",
"register": "S'inscrire",
"confirmPassword": "Confirmez le Mot de Passe",
"email": "Email",
"miiName": "Nom du Mii",
"forgotPassword": "Mot de Passe oublié ?",
"registerPrompt": "Pas de Compte ?"
},
"settings": {
"downloadFiles": "Télécharger fichiers du compte",
"settingCards": {
"gender": "Genre",
"profile": "Profil",
"nickname": "Surnom",
"birthDate": "Date de Naissance",
"country": "Pays/Région",
"timezone": "Décalage Horaire",
"serverEnv": "Environment du Serveur",
"production": "Production",
"beta": "Beta",
"upgradePrompt": "Les Serveurs Beta sont exclusifs au Beta Testeurs. <br>Pour devenir un Beta Testeur, mettez à niveau votre compte à un niveau plus élevé.",
"hasAccessPrompt": "Votre niveau actuel vous donne accès au serveurs beta. Super!"
},
"downloadFilesDescription": "(Ne fonctionnera pas avec le Nintendo Network)",
"upgrade": "Mettre à Niveau le compte"
}
}
}

View File

@@ -6,7 +6,11 @@
"credits": "Riconoscimenti",
"progress": "Progresso",
"blog": "Blog",
"account": "Account"
"account": "Account",
"accountWidget": {
"settings": "Impostazioni",
"logout": "Logout"
}
},
"hero": {
"subtitle": "Server online",
@@ -26,9 +30,10 @@
"progress": {
"title": "Progresso",
"paragraphs": [
"Al momento stiamo lavorando su Miiverse, insieme ai nostri server per gli account e alle loro integrazioni con gli altri servizi.",
null,
"Per la 3DS stiamo anche lavorando su Mario Kart 7, e vorremmo continuare a lavorare su altri giochi quando possibile."
]
],
"githubRepo": "Repository GitHub"
},
"faq": {
"title": "Domande frequenti (FAQ)",
@@ -84,7 +89,6 @@
"title": "Supporto per Cemu",
"caption": "Gioca ai tuoi giochi preferiti per Wii U anche senza avere una console!"
}
]
},
"credits": {
@@ -145,7 +149,6 @@
"title": "Ringraziamenti speciali",
"text": "Senza di loro, Pretendo non sarebbe dove è oggi.",
"people": [
{
"name": "superwhiskers",
"caption": "Sviluppo libreria crunch",
@@ -222,7 +225,9 @@
},
"blogPage": {
"title": "Blog",
"description": "Gli ultimi aggiornamenti, condensati. Se sei interessato a ricevere aggiornamenti più frequenti, considera l'idea di supportarci su <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
"description": "Gli ultimi aggiornamenti, condensati. Se sei interessato a ricevere aggiornamenti più frequenti, considera l'idea di supportarci su <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>.",
"published": "Pubblicato da",
"publishedOn": "il"
},
"account": {
"accountLevel": [
@@ -231,7 +236,53 @@
"Moderatore",
"Sviluppatore"
],
"banned": "Bannato"
"banned": "Bannato",
"loginForm": {
"username": "Nome utente",
"password": "Password",
"miiName": "Nome Mii",
"forgotPassword": "Hai dimenticato la password?",
"login": "Accedi",
"register": "Registrati",
"detailsPrompt": "Inserisci le informazioni relative al tuo account qui sotto",
"loginPrompt": "Hai già un account?",
"confirmPassword": "Conferma password",
"email": "Email",
"registerPrompt": "Non hai un account?"
},
"settings": {
"downloadFilesDescription": "(non funzioneranno su Nintendo Network)",
"downloadFiles": "Scarica file dell'account",
"settingCards": {
"profile": "Profilo",
"nickname": "Nickname",
"birthDate": "Data di nascita",
"gender": "Genere",
"country": "Paese/regione",
"timezone": "Fuso orario",
"serverEnv": "Ambiente del server",
"production": "Produzione",
"beta": "Beta",
"upgradePrompt": "I server beta sono esclusivi per i beta tester.<br>Per diventare un beta tester, iscriviti a un livello dell'account più alto.",
"hasAccessPrompt": "Il tuo livello ti dà accesso ai server beta. Forte!",
"signInSecurity": "Accesso e sicurezza",
"email": "Email",
"password": "Password",
"passwordResetNotice": "Dopo aver cambiato la tua password, verrai disconnesso da tutti i tuoi dispositivi.",
"signInHistory": "Cronologia di accesso",
"fullSignInHistory": "Mostra cronologia di accesso completa",
"otherSettings": "Altre impostazioni",
"discord": "Discord",
"connectedToDiscord": "Connesso a Discord come",
"removeDiscord": "Rimuovi account Discord",
"noDiscordLinked": "Nessun account Discord collegato.",
"linkDiscord": "Collega account Discord",
"newsletter": "Newsletter",
"newsletterPrompt": "Ricevi aggiornamenti riguardo al progetto via email (puoi annullare in qualunque momento)",
"passwordPrompt": "Inserisci la tua password PNID per scaricare i file per Cemu"
},
"upgrade": "Iscriviti a un livello superiore"
}
},
"localizationPage": {
"title": "Localizziamo",
@@ -256,5 +307,26 @@
}
]
}
},
"upgrade": {
"unsubPrompt": "Sei sicuro di voler annullare l'iscrizione a <span>tiername</span>? Perderai accesso ai benefici associati con quel livello.",
"description": "Raggiungere il goal mensile renderà Pretendo un lavoro a tempo pieno, permettendo di fornire aggiornamenti di maggiore qualità in meno tempo.",
"month": "mese",
"tierSelectPrompt": "Seleziona un livello",
"unsub": "Annulla l'iscrizione",
"unsubConfirm": "Annulla l'iscrizione",
"changeTier": "Cambia livello",
"changeTierPrompt": "Sei sicuro di voler annullare l'iscrizione a <span class=\"oldtier\">oldtiername</span> e iscriverti a <span class=\"newtier\">newtiername</span>?",
"changeTierConfirm": "Cambia livello",
"back": "Indietro",
"title": "Iscriviti"
},
"modals": {
"cancel": "Annulla",
"confirm": "Conferma"
},
"donation": {
"progress": "<span>$${totd}</span> di <span>$${goald}</span>/mese, <span>${perc}%</span> del goal mensile.",
"upgradePush": "Per diventare un abbonato e accedere a fantastici vantaggi, visita la <a href=\"/account/upgrade\">pagina per l'upgrade</a>."
}
}

View File

@@ -26,7 +26,7 @@
"progress": {
"title": "進行状況",
"paragraphs": [
"現在、私たちはいろんなサービスとの連携を含めたアカウントサーバーと共に、主にMiiverseに着手しています。",
null,
"3DSに関しては、マリオカート7に主に取り組んでいて、可能な場合は他のゲームにも取り組んでいます。"
]
},
@@ -84,7 +84,6 @@
"title": "Cemuサポート",
"caption": "あなたの好きなWii Uタイトルを、Wii Uなしでプレイできます!"
}
]
},
"credits": {
@@ -223,15 +222,6 @@
"title": "ブログ(英語)",
"description": "最新のアップデートをまとめてお届けします。もっと多くのアップデートを貰いたい方は、<a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>での寄付をご検討ください。"
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "レッツローカライズ",
"description": "公開されているJSONへのリンクを貼り付けてこのサイトに試してみて下さい",

View File

@@ -1,32 +1,32 @@
{
"nav": {
"about": "정보",
"faq": "자주 묻는 질문",
"about": "",
"faq": "",
"docs": "문서",
"credits": "크레딧",
"credits": "",
"progress": "진행률",
"blog": "블로그",
"account": "계정"
},
"hero": {
"subtitle": "다시 만들어진",
"title": "게임 서버",
"text": "Pretendo는 원본 서버가 중단되더라도 모두가 연결하여 플레이 할 수 있는 3DS/Wii U의 닌텐도 네트워크 대체 서버입니다.",
"subtitle": "",
"title": "",
"text": "",
"buttons": {
"readMore": "자세히 알아보기"
"readMore": ""
}
},
"aboutUs": {
"title": "저희에 관하여",
"title": "",
"paragraphs": [
"Pretendo는 3DS와 Wii U를 위한 대체 서버를 만드는 것을 목표로 하는 오픈소스 합법 리버스 엔지니어링 프로젝트입니다.",
"",
"저희 프로젝트는 무료이면서 오픈 소스이기 때문에 닌텐도 네트워크가 종료되고 긴 세월이 지나고도 운영될 수 있습니다."
]
},
"progress": {
"title": "진행률",
"title": "",
"paragraphs": [
"현재, 저희는 여러 서비스와의 연동을 포함한 계정 서버 시스템과 Miiverse에 집중하고 있습니다.",
null,
"3DS에서는, 가능하면 다른 프로젝트도 시도하려 하고 있으나 현재는 마리오 카트 7에 집중하고 있습니다."
]
},
@@ -35,7 +35,7 @@
"text": "빠른 정보 제공을 위한, FAQ에 대한 답변입니다.",
"QAs": [
{
"question": "Pretendo는 무엇인가요?",
"question": "",
"answer": "Pretendo는 오픈 소스 닌텐도 네트워크 대체 프로젝트이며 Wii U와 3DS의 대체 서버를 만드려 합니다. 저희의 목표는 이 콘솔들의 온라인 기능을 유지시켜, 플레이어가 좋아하는 Wii U와 3DS 게임에서 최고의 경험을 할 수 있게 하는 것입니다."
},
{
@@ -47,11 +47,11 @@
"answer": "Pretendo는 아직 공용으로 사용할 수 없습니다. 그러나, 사용이 가능해지면 콘솔에서 홈브루 패쳐를 작동시키면 접속할 수 있게 될 것입니다."
},
{
"question": "언제 <기능/서비스>를 사용할 수 있을지 알고 있나요?",
"question": "",
"answer": "아니요. 대부분의 Pretendo 기능/서비스는 독립적으로 개발되고 있기 때문에 (예를 들어, 한 개발자가 Miiverse의 작업을 하고 있을 때 계정과 친구 서비스는 다른 개발자가 작업함), 예상 시간은 말씀드릴 수 없습니다."
},
{
"question": "Cemu/에뮬레이터에서 Pretendo를 사용할 수 있을까요?",
"question": "",
"answer": "Pretendo는 Wii U와 3DS 하드웨어만을 대상으로 제작하고 있습니다. 현재까지 닌텐도 네트워크 지원이 되는 에뮬레이터는 Cemu 뿐이나, Cemu는 공식적으로 커스텀 서버를 지원하지 않습니다. 그러나 Cemu에서도 Pretendo를 이용할 수 있게 될 것입니다.<br>Pretendo는 아직 Cemu를 지원하지 않습니다."
},
{
@@ -59,11 +59,11 @@
"answer": "저희는 닌텐도 네트워크의 영구 정지 리스트에 대한 권한이 없기 때문에, 저희 서비스를 사용할 때 정지가 되지는 않을 겁니다. 그러나, 저희는 저희만의 운영원칙이 있을 것이며, 그에 따르지 않는 것은 결국 영구 정지에 이어질 것입니다."
},
{
"question": "Pretendo는 Wii/스위치를 지원할까요?",
"question": "",
"answer": "Wii의 서비스는 이미 <a href=\"https://wiimmfi.de/\" target=\"_blank\">Wiimmfi</a>가 제공하고 있습니다. 스위치의 Nintendo Switch Online은 유료이며 닌텐도 네트워크와 전혀 다르기 때문에, 현재로서도 지원할 계획은 없습니다."
},
{
"question": "연결하기 위해 해킹이 필요할까요?",
"question": "",
"answer": "네, 연결하기 위해 콘솔 해킹은 필요할 것입니다. 다만, Wii U에서는 홈브루 런처의 접근 권한만 있으면 됩니다 (예. Haxchi, Coldboot Haxchi, 웹 브라우저 취약점). 3DS에서의 연결 방법은 추후에 공개될 것입니다."
}
]
@@ -84,28 +84,27 @@
"title": "Cemu 지원",
"caption": "당신이 좋아하는 Wii U 타이틀을 콘솔 없이 플레이하세요!"
}
]
},
"credits": {
"title": "개발 팀",
"text": "프로젝트 뒤에서 일하는 사람들을 만나보세요",
"text": "",
"people": [
{
"name": "Jonathan Barrow (jonbarrow)",
"caption": "프로젝트 소유자 및 주도 개발자",
"caption": "Project owner and lead developer",
"picture": "https://github.com/jonbarrow.png",
"github": "https://github.com/jonbarrow"
},
{
"name": "Jemma (CaramelKat)",
"caption": "Miiverse 연구 및 개발",
"caption": "Miiverse research and development",
"picture": "https://github.com/caramelkat.png",
"github": "https://github.com/CaramelKat"
},
{
"name": "Rambo6Glaz",
"caption": "네트워크 설치 도구 개발 및 콘솔 연구",
"caption": "Network installer and console research",
"picture": "https://github.com/Rambo6Glaz.png",
"github": "https://github.com/Rambo6Glaz"
},
@@ -117,7 +116,7 @@
},
{
"name": "SuperMarioDaBom",
"caption": "콘솔 및 다른 시스템 연구",
"caption": "Console and other system research",
"picture": "https://github.com/supermariodabom.png",
"github": "https://github.com/SuperMarioDaBom"
},
@@ -129,7 +128,7 @@
},
{
"name": "monty",
"caption": "웹 개발",
"caption": "Web development",
"picture": "https://github.com/ashmonty.png",
"github": "https://github.com/ashmonty"
},
@@ -165,7 +164,7 @@
},
{
"name": "Shutterbug2000",
"caption": "마리오 카트 7 및 3DS 연구",
"caption": "Mario Kart 7 and 3DS research",
"picture": "https://cdn.discordapp.com/avatars/191370953807233024/0311b61e2009c1576828dd2e9a59d72e.png?size=128",
"github": "https://github.com/shutterbug2000"
},
@@ -178,7 +177,7 @@
{
"name": "Kinnay",
"special": "Special Thanks",
"caption": "닌텐도 데이터 구조 연구",
"caption": "Research on Nintendo datastructures",
"picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128",
"github": "https://github.com/Kinnay"
},
@@ -223,15 +222,6 @@
"title": "블로그",
"description": "내용이 압축된 최신 업데이트입니다. 만약 더 많은 업데이트를 원하신다면, <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>에 기부하는 것을 검토해 주세요."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "같이 번역해 주세요!",
"description": "액세스 가능한 JSON의 링크를 붙여넣어서, 웹사이트에서 테스트해 보세요!",

View File

@@ -26,7 +26,7 @@
"progress": {
"title": "Framgang",
"paragraphs": [
"Akkurat nå, jobber vi med Miiverse, samtidig med våres konto serverene og dens integrasjon med tjenestene.",
null,
"For 3DS-en, jobber vi også med Mario Kart 7, med en lyst til å jobbe med andre spill når det er mulig."
]
},
@@ -84,7 +84,6 @@
"title": "Støtte for cemu",
"caption": "Spill dine favoritt Wii U titler til og med uten en Wii U-konsoll!"
}
]
},
"credits": {
@@ -223,15 +222,6 @@
"title": "Blogg",
"description": "De nyeste oppdateringen er i kondensert biter. Hvis du har lyst til å se mer hyppig oppdateringen, tenk om å støtte oss på <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "La oss lokalisere",
"description": "Lim inn en lenke til en offentlig JSON lokal til å teste det på nettsiden",

View File

@@ -6,12 +6,16 @@
"credits": "Credits",
"progress": "Vooruitgang",
"blog": "Blog",
"account": "Account"
"account": "Account",
"accountWidget": {
"settings": "Instellingen",
"logout": "Uitloggen"
}
},
"hero": {
"subtitle": "Game servers",
"title": "Nagemaakt",
"text": "Pretendo is een gratis en open source vervanger voor de servers van Nintendo voor de 3DS en de Wii U, zodat iedereen online kan spelen, zelfs als de Nintendo servers stoppen",
"text": "Pretendo is een gratis en open source vervanger voor de servers van Nintendo voor de 3DS en de Wii U, zodat iedereen online kan spelen, zelfs als de Nintendo servers permanent gestopt worden",
"buttons": {
"readMore": "Lees meer"
}
@@ -26,9 +30,10 @@
"progress": {
"title": "Vooruitgang",
"paragraphs": [
"We werken momentele aan Miiverse, de account servers, en de intergratie met de servers.",
null,
"We werken ook aan Mario Kart 7 voor de 3DS, met een wens om aan andere games te werken wanneer we die kans krijgen."
]
],
"githubRepo": "GitHub repository"
},
"faq": {
"title": "Veelgestelde vragen",
@@ -36,7 +41,7 @@
"QAs": [
{
"question": "Wat is Pretendo?",
"answer": "Pretendo is een open source Nintendo Network vervanger met het doel om custom servers voor de Wii U en 3DS familie te maken. Ons doel is om de online functionaliteit van deze consoles te behouden, zodat spelers hun favoriete Wii U en 3DS games kunnen blijven spelen."
"answer": "Pretendo is een open source Nintendo Network vervanging met als doel om custom servers voor de Wii U en 3DS familie te maken. Ons doel is om de online functionaliteit van deze consoles te behouden, zodat spelers hun favoriete Wii U en 3DS games kunnen blijven spelen."
},
{
"question": "Blijft mijn bestaande NNID werken op Pretendo?",
@@ -47,46 +52,27 @@
"answer": "Pretendo is momenteel nog niet klaar voor publiekelijk gebruik. Zodra het dat wel is, kan je Pretendo gebruiken door een homebrew patcher te gebruiken op je console."
},
{
"question": "Wanneer is <feature> klaar?",
"answer": "Dat weten we niet. Veel Pretendo diensten worden apart ontwikkeld (Miiverse wordt dan bijvoorbeeld door één developer ontwikkeld, en Accounts / Vrienden door een andere). Daardoor kunnen we geen datum geven voor wanneer het af is."
"question": "Wanneer is &lt;feature/dienst&gt; klaar?",
"answer": "Dat weten we niet. Veel Pretendo diensten worden apart ontwikkeld (Miiverse wordt bijvoorbeeld door één ontwikkelaar ontwikkeld, en Accounts / Vrienden door een andere). Daardoor kunnen we geen datum geven voor wanneer het af is."
},
{
"question": "Werkt Pretendo op Cemu of andere emulators?",
"answer": "Pretendo wordt voornamelijk ontwikkeld voor de hardware van de Wii U en 3DS. Momenteel is de enige emulator met NN support, Cemu. Cemu ondersteunt niet officieel custom servers, maar het zou alsnog mogelijk moeten zijn om Pretendo te gebruiken in Cemu.<br>Momenteel ondersteunt Pretendo Cemu niet."
"answer": "Pretendo wordt voornamelijk ontwikkeld voor de hardware van de Wii U en 3DS. Momenteel is de enige emulator met NN support, Cemu. Cemu ondersteunt officieel geen custom servers, maar het zou alsnog mogelijk moeten zijn om Pretendo te gebruiken in Cemu.<br>Momenteel ondersteunt Pretendo Cemu niet."
},
{
"question": "Als ik van Nintendo Network verbannen ben, blijf ik dan verbannen op Pretendo?",
"answer": "Nee. We hebben geen toegang tot de bans van Nintendo Network, dus je zal niet direct verbannen zijn op onze dienst. Echter zullen wij wel regels hebben bij het gebruik van onze diensten. Als je deze breekt, zal je verbannen worden."
"question": "Als ik van Nintendo Network gebanned ben, blijf ik dan gebanned op Pretendo?",
"answer": "Nee. We hebben geen toegang tot de bans van Nintendo Network, dus je zal niet direct gebanned zijn op onze dienst. Echter zullen wij wel regels hebben bij het gebruik van onze diensten. Als je deze breekt, zal je gebanned worden."
},
{
"question": "Gaat Pretendo ook de Wii of Switch ondersteunen?",
"answer": "Er zijn al custom servers voor Wii, namelijk <a href=\"https://wiimmfi.de/\" target=\"_blank\">Wiimmfi</a>. Wij willen op het moment de Switch niet ondersteunen omdat Switch online betaald is, en compleet anders is dan Nintendo Network."
},
{
"question": "Ga ik hacks nodig hebben om te verbinden met Pretendo?",
"answer": "ja, je zal inderdaad hacks nodig hebben. Op de Wii U heb je enkel de Homebrew launcher (d.m.v bijvoorbeeld Haxchi, Coldboot Haxchi, of zelfs de web browser exploit) nodig. Over de 3DS plaatsen we in de toekomst meer informatie."
"question": "Heb ik hacks nodig om te verbinden met Pretendo?",
"answer": "ja, je zal inderdaad je apparaat moeten hacken. Op de Wii U heb je enkel de Homebrew launcher (d.m.v bijvoorbeeld Haxchi, Coldboot Haxchi, of zelfs de web browser exploit) nodig. Over de 3DS plaatsen we in de toekomst meer informatie."
}
]
},
"showcase": {
"title": "What we make",
"text": "Our project has many components. Here are some of them.",
"cards": [
{
"title": "Game servers",
"caption": "Bringing back your favorite games and content using custom servers."
},
{
"title": "Juxtaposition",
"caption": "A re-imagining of Miiverse, as if it were made in the modern era."
},
{
"title": "Cemu support",
"caption": "Play your favorite Wii U titles even without a console!"
}
]
},
"credits": {
"title": "Het team",
"text": "Ontmoet het team achter het project",
@@ -105,7 +91,7 @@
},
{
"name": "Rambo6Glaz",
"caption": "Netwerk installeerder en console research",
"caption": "Netwerkinstallatie tools en console research",
"picture": "https://github.com/Rambo6Glaz.png",
"github": "https://github.com/Rambo6Glaz"
},
@@ -123,7 +109,7 @@
},
{
"name": "Jip Fr",
"caption": "Website ontwikkelaar",
"caption": "Hoofd website ontwikkeling",
"picture": "https://github.com/jipfr.png",
"github": "https://github.com/jipfr"
},
@@ -143,7 +129,7 @@
},
"specialThanks": {
"title": "Speciale dank",
"text": "Zonder deze mensen zou Pretendo vandaag niet zijn waar het is.",
"text": "Zonder hen zou Pretendo vandaag niet zijn waar het is.",
"people": [
{
"name": "superwhiskers",
@@ -177,81 +163,168 @@
},
{
"name": "Kinnay",
"special": "Special thanks",
"special": "Speciale dank",
"caption": "Onderzoek naar Nintendo data structuur",
"picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128",
"github": "https://github.com/Kinnay"
},
{
"name": "NinStar",
"caption": "Icons for the Mii Editor and Juxt reactions",
"caption": "Icoontjes voor de Mii Editor en Just reacties",
"picture": "https://github.com/ninstar.png",
"github": "https://github.com/ninstar"
},
{
"name": "GitHub contributors",
"caption": "Localizations and other contributions",
"caption": "Vertalingen en andere contributions",
"picture": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png",
"github": "https://github.com/PretendoNetwork"
}
]
},
"discordJoin": {
"title": "Stay up to date",
"text": "Join our Discord server to get the latest updates on the project.",
"widget": {
"text": "Get realtime updates to our progress",
"button": "Join the server"
}
},
"footer": {
"socials": "Socials",
"usefulLinks": "Useful links",
"widget": {
"captions": [
"Want to keep updated?",
"Join our Discord server!"
],
"button": "Join now!"
}
},
"progressPage": {
"title": "Onze vooruitgang",
"description": "Zie hier onze vooruitgang! (Wordt elk uur ververst, geeft niet ALLE vooruitgang en doelen weer)"
},
"blogPage": {
"title": "Blog",
"description": "De meest recente samenvattingen. Als je vaker nieuws wil, overweeg ons op <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a> te ondersteunen."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
"description": "De meest recente update samenvattingen. Als je vaker nieuws wil, overweeg ons op <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a> te ondersteunen.",
"published": "Gepubliceerd door",
"publishedOn": "op"
},
"localizationPage": {
"title": "Laten we meer talen toe voegen!",
"title": "Laten we meer talen toevoegen!",
"description": "Voeg hier een link in voor een openbaar JSON bestand om het op de site te testen.",
"instructions": "Zie hier instructies voor het vertalen",
"fileInput": "Bestand om te testen",
"filePlaceholder": "https://een.link.naar/het_bestand.json",
"button": "Test bestand"
},
"donation": {
"progress": "<span>$${totd}</span> van <span>$${goald}</span>/maand, <span>${perc}%</span> van de maandelijkse doelstelling.",
"upgradePush": "Om een abonnee te worden en toegang te krijgen tot coole voordelen, bezoek je de a href=\"/account/upgrade\"&gt;upgrade pagina."
},
"upgrade": {
"changeTierPrompt": "Weet je zeker dat je je abonnement op <span class=\"oldtier\">oldtiername</span> wilt opzeggen en je wilt aanmelden voor <span class=\"newtier\">newtiername</span>?",
"back": "Terug",
"title": "Upgraden",
"description": "Het bereiken van de maandelijkse doelstelling maakt van Pretendo een fulltime baan, wat zorgt voor snellere updates van een hogere kwaliteit.",
"month": "Maand",
"tierSelectPrompt": "Selecteer een tier",
"unsub": "Opzeggen",
"unsubPrompt": "Weet je zeker dat je je abonnement voor <span>tiername</span> wilt opzeggen? Je verliest toegang tot de voordelen voor die tier.",
"unsubConfirm": "Opzeggen",
"changeTier": "Verander tier",
"changeTierConfirm": "Verander van tier"
},
"showcase": {
"cards": [
{
"title": "Game servers",
"caption": "Wij brengen jouw favoriete games en content terug via custom servers."
},
{
"title": "Juxtaposition",
"caption": "Een nieuwe versie van Miiverse, alsof het in de moderne tijd is gemaakt."
},
{
"caption": "Speel jouw favoriete Wii U spellen, zelfs zonder een console!",
"title": "Cemu ondersteuning"
}
],
"title": "Wat wij maken",
"text": "Ons project heeft veel onderdelen. Hier zijn een paar voorbeelden."
},
"discordJoin": {
"text": "Word lid van onze Discord server om de laatste updates over het project te ontvangen.",
"title": "Blijf up-to-date",
"widget": {
"text": "Krijg realtime updates over onze voortgang",
"button": "Word lid van de server"
}
},
"footer": {
"socials": "Socialmedia profielen",
"usefulLinks": "Nuttige links",
"widget": {
"captions": [
"Wil je up-to-date blijven?",
"Word lid van onze Discord server!"
],
"button": "Word nu lid!"
}
},
"account": {
"loginForm": {
"login": "Login",
"register": "Registreer",
"detailsPrompt": "Voor jouw account gegevens hieronder in",
"username": "Gebruikersnaam",
"password": "Wachtwoord",
"confirmPassword": "Bevestig wachtwoord",
"email": "E-mail adres",
"miiName": "Mii naam",
"forgotPassword": "Wachtwoord vergeten?",
"registerPrompt": "Nog geen account?",
"loginPrompt": "Heb je al een account?"
},
"settings": {
"downloadFiles": "Download account bestanden",
"upgrade": "Upgrade account",
"settingCards": {
"nickname": "Bijnaam",
"profile": "Profiel",
"birthDate": "Geboortedatum",
"gender": "Geslacht",
"country": "Land/regio",
"timezone": "Tijdszone",
"serverEnv": "Server environment",
"production": "Production",
"beta": "Beta",
"upgradePrompt": "Beta servers zijn exclusief voor beta testers.<br>Om een beta tester te worden, moet je je account upgraden naar een hogere tier.",
"hasAccessPrompt": "Jouw huidige tier geeft je beta server toegang. Cool!",
"email": "E-mail adres",
"password": "Wachtwoord",
"signInSecurity": "Aanmeldgegevens en beveiliging",
"otherSettings": "Andere instellingen",
"discord": "Discord",
"connectedToDiscord": "Verbonden met Discord als",
"removeDiscord": "Verwijder Discord account",
"noDiscordLinked": "Geen Discord account gekoppeld.",
"linkDiscord": "Koppel Discord account",
"newsletter": "Nieuwsbrief",
"newsletterPrompt": "Ontvang project updates via e-mail (je kan je op elk moment afmelden)",
"passwordPrompt": "Voer je PNID wachtwoord in om Cemu bestanden te downloaden",
"passwordResetNotice": "Na het wijzigen van je wachtwoord, word je uitgelogd van al je apparaten.",
"fullSignInHistory": "Bekijk volledige aanmeld geschiedenis",
"signInHistory": "Aanmeld geschiedenis"
},
"downloadFilesDescription": "(werkt niet op Nintendo Network)"
},
"accountLevel": [
"Standaard",
"Tester",
"Moderator",
"Ontwikkelaar"
],
"banned": "Gebanned"
},
"modals": {
"cancel": "Annuleren",
"confirm": "Bevestigen"
},
"docs": {
"missingInLocale": "This page is unavailable in your locale. Please check the English version below.",
"missingInLocale": "Deze pagina is niet beschikbaar in je huidige taal. Bekijk de Engelse versie hieronder.",
"quickLinks": {
"header": "Quick links",
"header": "Snelkoppelingen",
"links": [
{
"header": "Install Pretendo",
"caption": "View the setup instructions"
"header": "Installeer Pretendo",
"caption": "Bekijk de installatie instructies"
},
{
"header": "Got an error?",
"caption": "Search for it here"
"header": "Heb je een foutmelding gekregen?",
"caption": "Bekijk het hier"
}
]
}

View File

@@ -26,7 +26,7 @@
"progress": {
"title": "Postęp",
"paragraphs": [
"Aktualnie pracujemy nad Miiverse, razem z obsługą kont online oraz integracją z różnymi usługami.",
null,
"Mówiąc o konsoli 3DS, aktualnie pracujemy również nad Mario Kart 7, a w przyszłości mamy nadzieję, że możemy popracować nad innymi grami."
]
},
@@ -84,7 +84,6 @@
"title": "Wsparcie dla Cemu",
"caption": "Graj w twoje ulubione gry na Wii U bez tej konsoli!"
}
]
},
"credits": {
@@ -222,15 +221,6 @@
"title": "Blog",
"description": "Najnowsze informacje w krótkich tekstach. Jeśli chcesz otrzymywać częstsze aktualizacje, pomyśl nad wsparciem nas na <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "Tłumaczmy",
"description": "Wklej link do publicznego pliku JSON, aby przetestować go na stronie",

View File

@@ -26,7 +26,7 @@
"progress": {
"title": "Progresso",
"paragraphs": [
"Atualmente estamos trabalhando no Miiverse, assim como no nossos servidores de contas e suas integrações com os serviços.",
null,
"Para o Nintendo 3DS também estamos trabalhando no Mario Kart 7, pretendemos trabalhar em outros jogos quando possível."
]
},
@@ -84,7 +84,6 @@
"title": "Suporte para Cemu",
"caption": "Jogue seus títulos favoritos do Wii U mesmo sem um console!"
}
]
},
"credits": {
@@ -223,15 +222,6 @@
"title": "Blog",
"description": "As atualizações mais recentes em postagens condensadas. Se você quiser ver atualizações com mais frequência, considere nos ajudar no <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "Vamos traduzir",
"description": "Cole um link para um arquivo JSON acessível publicamente para testá-lo no site",
@@ -239,21 +229,5 @@
"fileInput": "Arquivo para testar",
"filePlaceholder": "https://a.link.to/the_file.json",
"button": "Testar aqui"
},
"docs": {
"missingInLocale": "This page is unavailable in your locale. Please check the English version below.",
"quickLinks": {
"header": "Quick links",
"links": [
{
"header": "Install Pretendo",
"caption": "View the setup instructions"
},
{
"header": "Got an error?",
"caption": "Search for it here"
}
]
}
}
}

View File

@@ -4,9 +4,7 @@
"faq": "FAQ",
"docs": "Docs",
"credits": "Mulțumiri",
"progress": "Progres",
"blog": "Blog",
"account": "Account"
"progress": "Progres"
},
"hero": {
"subtitle": "Servere de Jocuri",
@@ -26,7 +24,7 @@
"progress": {
"title": "Progres",
"paragraphs": [
"Momentan, lucrăm la Miiverse, împreună cu serverele de conturi și integrarea de servicii.",
null,
"Pentru 3DS, lucrăm de asemenea la Mario Kart 7, cu dorința de a continua să lucrăm și la alte jocuri dacă este posibil."
]
},
@@ -84,7 +82,6 @@
"title": "Suport Cemu",
"caption": "Joacă jocurile tale preferate de pe Wii U chiar și fără o consolă!"
}
]
},
"credits": {
@@ -223,15 +220,6 @@
"title": "Blog",
"description": "Ultimele actualizări în bucăți condensate. Dacă vrei să vezi mai multe actualizări, consideră să ne susții pe <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "Hai să localizăm",
"description": "Inserați un link către un JSON public pentru a testa traducerea pe site",
@@ -239,21 +227,5 @@
"fileInput": "Fișier de testare",
"filePlaceholder": "https://a.link.to/the_file.json",
"button": "Testează fișier"
},
"docs": {
"missingInLocale": "This page is unavailable in your locale. Please check the English version below.",
"quickLinks": {
"header": "Quick links",
"links": [
{
"header": "Install Pretendo",
"caption": "View the setup instructions"
},
{
"header": "Got an error?",
"caption": "Search for it here"
}
]
}
}
}

View File

@@ -4,9 +4,7 @@
"faq": "ЧаВо",
"docs": "Docs",
"credits": "Команда",
"progress": "Прогресс",
"blog": "Blog",
"account": "Account"
"progress": "Прогресс"
},
"hero": {
"subtitle": "Игровые сервера",
@@ -26,7 +24,7 @@
"progress": {
"title": "Прогресс",
"paragraphs": [
"На данный момент, мы работаем над Miiverse, вместе с нашими серверами аккаунтов и их интеграция в другие сервисы.",
null,
"Насчёт 3DS, мы также работаем над Mario Kart 7, а также если возможно, продолжить работу и над другими онлайн играми."
]
},
@@ -68,25 +66,6 @@
}
]
},
"showcase": {
"title": "What we make",
"text": "Our project has many components. Here are some of them.",
"cards": [
{
"title": "Game servers",
"caption": "Bringing back your favorite games and content using custom servers."
},
{
"title": "Juxtaposition",
"caption": "A re-imagining of Miiverse, as if it were made in the modern era."
},
{
"title": "Cemu support",
"caption": "Play your favorite Wii U titles even without a console!"
}
]
},
"credits": {
"title": "Наша команда",
"text": "Ознакомтесь с командой, которая работает над разработкой Pretendo.",

328
locales/uk_UA.json Normal file
View File

@@ -0,0 +1,328 @@
{
"aboutUs": {
"paragraphs": [
"Pretendo — це проект із відкритим вихідним кодом, метою якого є відтворення мережі Nintendo для 3DS і Wii U за допомогою зворотного проектування чистих приміщень.",
"Оскільки наші служби будуть безкоштовними та відкритими, вони можуть існувати ще довго після неминучого закриття Nintendo Network."
],
"title": "Про нас"
},
"faq": {
"QAs": [
{
"answer": "Pretendo — це заміна Nintendo Network з відкритим вихідним кодом, яка спрямована на створення користувальницьких серверів для консолей сімейства Wii U та 3DS. Наша мета — зберегти онлайн-функціональність цих консолей, щоб дозволити гравцям продовжувати грати в улюблені ігри Wii U та 3DS на повну силу.",
"question": "Що таке Pretendo?"
},
{
"answer": "На жаль, ні. Існуючі NNID не працюватимуть на Pretendo, оскільки лише Nintendo зберігає ваші дані користувача; Хоча міграція з NNID на PNID теоретично можлива, це буде ризиковано та вимагає конфіденційних даних користувача, які ми не хочемо зберігати.",
"question": "Чи працюватимуть мої наявні NNID на Pretendo?"
},
{
"question": "Як використовувати Pretendo?",
"answer": "Pretendo наразі не готовий для загального використання. Однак, як тільки це станеться, ви зможете використовувати Pretendo, просто запустивши наш homebrew patcher на вашій консолі."
},
{
"answer": "Ні. Багато функцій/сервісів Pretendo розроблено незалежно (наприклад, над Miiverse може працювати один розробник, а над обліковими записами та друзями — інший), тому ми не можемо вказати скільки часу це займе.",
"question": "Ви знаєте, коли &lt;функція/служба&gt; буде готова?"
},
{
"answer": "Pretendo розроблено для апаратного забезпечення Wii U та 3DS; наразі єдиним емулятором для цих консолей із підтримкою NN є Cemu. Cemu офіційно не підтримує користувацькі сервери, але Pretendo все ще можна використовувати з Cemu.<br>Pretendo наразі не підтримує Cemu.",
"question": "Чи працює Pretendo на Cemu/емуляторах?"
},
{
"answer": "Ми не маємо доступу до блокувань Nintendo Network, і всі користувачі не будуть заблоковані в нашому сервісі. Однак у нас будуть правила, яких слід дотримуватися під час користування сервісом, і недотримання цих правил може призвести до блокування.",
"question": "Якщо мене забанять у Nintendo Network, чи залишиться бан під час використання Pretendo?"
},
{
"question": "Чи підтримуватиме Pretendo Wii/Switch?",
"answer": "Wii уже має спеціальні сервери, надані <a href=\"https://wiimmfi.de/\" target=\"_blank\">Wiimmfi</a>. Наразі ми не хочемо орієнтуватися на Switch, оскільки він платний і повністю відрізняється від Nintendo Network."
},
{
"question": "Чи знадобляться мені хаки для підключення?",
"answer": "Так, вам потрібно буде хакнути пристрій, щоб підключитися; однак на Wii U вам потрібен буде лише доступ до Homebrew Launcher (тобто Haxchi, Coldboot Haxchi або навіть експлойт веб-браузера), а інформація про те, як 3DS підключатиметься, буде надана пізніше."
}
],
"title": "Часті Запитання",
"text": "Ось кілька поширених запитань, які нам задають, щоб отримати легку інформацію."
},
"showcase": {
"cards": [
{
"caption": "Повернення ваших улюблених ігор і вмісту за допомогою спеціальних серверів.",
"title": "Ігрові сервери"
},
{
"title": "Juxtaposition",
"caption": "Повторне уявлення про Miiverse, ніби це було зроблено в сучасну епоху."
},
{
"caption": "Грайте в улюблені ігри Wii U навіть без консолі!",
"title": "Підтримка Cemu"
}
],
"title": "Що ми робимо",
"text": "Наш проект має багато компонентів. Ось деякі з них."
},
"credits": {
"people": [
{
"caption": "Власник проекту та головний розробник",
"name": "Jonathan Barrow (jonbarrow)",
"picture": "https://github.com/jonbarrow.png",
"github": "https://github.com/jonbarrow"
},
{
"github": "https://github.com/CaramelKat",
"caption": "Дослідження та розробки Miiverse",
"name": "Jemma (CaramelKat)",
"picture": "https://github.com/caramelkat.png"
},
{
"name": "Rambo6Glaz",
"caption": "Інсталятор мережі та дослідження консолі",
"github": "https://github.com/Rambo6Glaz",
"picture": "https://github.com/Rambo6Glaz.png"
},
{
"name": "quarky",
"caption": "Дослідження та розробка виправлень BOSS",
"picture": "https://github.com/QuarkTheAwesome.png",
"github": "https://github.com/QuarkTheAwesome"
},
{
"name": "SuperMarioDaBom",
"caption": "Консоль та інші системні дослідження",
"picture": "https://github.com/supermariodabom.png",
"github": "https://github.com/SuperMarioDaBom"
},
{
"github": "https://github.com/jipfr",
"name": "Jip Fr",
"caption": "Керівник веб-розробки",
"picture": "https://github.com/jipfr.png"
},
{
"github": "https://github.com/ashmonty",
"name": "monty",
"picture": "https://github.com/ashmonty.png",
"caption": "Веб-розробка"
},
{
"picture": "https://github.com/mrjvs.png",
"github": "https://github.com/mrjvs",
"name": "mrjvs",
"caption": "Дизайнер"
}
],
"title": "Команда",
"text": "Познайомтеся з командою проекту"
},
"nav": {
"credits": "Титри",
"progress": "Прогрес",
"blog": "Блог",
"about": "Про",
"faq": "ЧаПи",
"accountWidget": {
"settings": "Налаштування",
"logout": "Вийти"
},
"docs": "Документи",
"account": "Аккаунт"
},
"hero": {
"subtitle": "Ігрові сервери",
"title": "Відтворено",
"buttons": {
"readMore": "Читати далі"
},
"text": "Pretendo — це безкоштовна заміна серверів Nintendo з відкритим вихідним кодом як для 3DS, так і для Wii U, що дозволяє всім підключатися до Інтернету навіть після припинення роботи оригінальних серверів"
},
"progress": {
"title": "Прогрес",
"githubRepo": "Репозиторій Github"
},
"specialThanks": {
"title": "Особлива подяка",
"people": [
{
"name": "superwhiskers",
"caption": "розробка бібліотеки crunch",
"picture": "https://github.com/superwhiskers.png",
"github": "https://github.com/superwhiskers"
},
{
"name": "Stary",
"caption": "3DS розробник і диссектор NEX",
"picture": "https://github.com/Stary2001.png",
"github": "https://github.com/Stary2001"
},
{
"name": "Billy",
"caption": "Охоронець",
"picture": "https://github.com/InternalLoss.png",
"github": "https://github.com/InternalLoss"
},
{
"name": "Shutterbug2000",
"caption": "Дослідження Mario Kart 7 і 3DS",
"picture": "https://cdn.discordapp.com/avatars/191370953807233024/0311b61e2009c1576828dd2e9a59d72e.png?size=128",
"github": "https://github.com/shutterbug2000"
},
{
"caption": "Надали інформацію про Miiverse",
"github": "https://twitter.com/rverseClub",
"name": "rverse",
"picture": "https://github.com/rverseTeam.png"
},
{
"name": "Kinnay",
"caption": "Дослідження структур даних Nintendo",
"special": "Особлива подяка",
"picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128",
"github": "https://github.com/Kinnay"
},
{
"caption": "Іконка для Mii Editor і реакцій Juxt",
"picture": "https://github.com/ninstar.png",
"name": "NinStar",
"github": "https://github.com/ninstar"
},
{
"name": "Учасники GitHub",
"caption": "Локалізації та інші внески",
"picture": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png",
"github": "https://github.com/PretendoNetwork"
}
],
"text": "Без них Pretendo не було б таким, яким воно є сьогодні."
},
"discordJoin": {
"title": "Будьте в курсі подій",
"text": "Приєднуйтесь до нашого сервера Discord, щоб отримувати останні оновлення про проект.",
"widget": {
"button": "Приєднатися до серверу",
"text": "Отримуйте оновлення в реальному часі про наш прогрес"
}
},
"footer": {
"socials": "Соціальні сеті",
"usefulLinks": "Корисні посилання",
"widget": {
"captions": [
"Хочете бути в курсі?",
"Приєднуйтесь до нашого сервера Discord!"
],
"button": "Приєднуйся зараз!"
}
},
"blogPage": {
"title": "Блог",
"publishedOn": "у",
"published": "Опубліковано",
"description": "Останні оновлення у стислому вигляді. Якщо ви хочете отримувати частіші оновлення, підтримайте нас на <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a>."
},
"account": {
"loginForm": {
"login": "Логін",
"register": "Зареєструватися",
"username": "Ім'я користувача",
"password": "Пароль",
"confirmPassword": "Підтвердьте пароль",
"email": "Електронна пошта",
"miiName": "Ім'я Mii",
"registerPrompt": "Немає аккаунту?",
"loginPrompt": "Вже є аккаунт?",
"detailsPrompt": "Введіть дані свого облікового запису нижче",
"forgotPassword": "Забули пароль?"
},
"settings": {
"upgrade": "Прокачати аккаунт",
"settingCards": {
"profile": "Профіль",
"nickname": "Нікнейм",
"birthDate": "Дата народження",
"country": "Країна/регіон",
"timezone": "Часовий пояс",
"production": "Виробництво",
"signInSecurity": "Вхід і безпека",
"email": "Електронна пошта",
"password": "Пароль",
"passwordResetNotice": "Після зміни пароля ви вийдете з усіх пристроїв.",
"signInHistory": "Історія входів",
"otherSettings": "Інші налаштування",
"discord": "Discord",
"connectedToDiscord": "Підключений до Discord як",
"removeDiscord": "Вийти з аккаунту Discord",
"noDiscordLinked": "Аккаунт Discord не пов’язано.",
"passwordPrompt": "Введіть свій пароль PNID, щоб завантажити файли Cemu",
"serverEnv": "Серверне середовище",
"hasAccessPrompt": "Ваш поточний рівень надає вам доступ до бета-сервера. Круто!",
"gender": "Стать",
"beta": "Бета",
"upgradePrompt": "Бета-сервери призначені виключно для бета-тестерів.<br>Щоб стати бета-тестером, прокачайте аккаунт до вищого рівня.",
"fullSignInHistory": "Переглянути повну історію входів",
"linkDiscord": "Прив'язати аккаунт Discord",
"newsletter": "Розсилка новин",
"newsletterPrompt": "Отримувати оновлення проекту електронною поштою (ви можете відмовитися в будь-який час)"
},
"downloadFilesDescription": "(не працюватиме в Nintendo Network)",
"downloadFiles": "Завантажити файли облікового запису"
},
"accountLevel": [
"Стандартний",
"Тестер",
"Модератор",
"Розробник"
],
"banned": "Заблокован"
},
"upgrade": {
"title": "Прокачати",
"month": "місяць",
"tierSelectPrompt": "Виберіть рівень",
"unsub": "Відписатися",
"unsubConfirm": "Відписатися",
"changeTier": "Змінити рівень",
"changeTierConfirm": "Змінити рівень",
"back": "Назад",
"changeTierPrompt": "Ви впевнені, що хочете скасувати підписку на <span class=\"oldtier\">oldtiername</span> і підписатися на <span class=\"newtier\">newtiername</span>?",
"description": "Досягнення місячної цілі зробить Pretendo повноцінною роботою, забезпечуючи якісніші оновлення з більшою швидкістю.",
"unsubPrompt": "Ви впевнені, що бажаєте скасувати підписку на <span>tiername</span>? Ви втратите доступ до бонусів, пов’язаних із цим рівнем."
},
"donation": {
"progress": "<span>$${totd}</span> з <span>$${goald}</span>/місяць, <span>${perc}%</span> місячної цілі.",
"upgradePush": "Щоб стати передплатником і отримати доступ до цікавих бонусів, відвідайте <a href=\"/account/upgrade\">сторінку прокачки</a>."
},
"localizationPage": {
"title": "Локалізуємо",
"instructions": "Переглянути інструкції з локалізації",
"description": "Вставте посилання на загальнодоступну мову JSON, щоб протестувати її на веб-сайті",
"fileInput": "Файл для тестування",
"filePlaceholder": "https://a.link.to/the_file.json",
"button": "Перевірити файл"
},
"docs": {
"quickLinks": {
"header": "Швидкі посилання",
"links": [
{
"caption": "Переглянути інструкції з налаштування",
"header": "Встановити Pretendo"
},
{
"header": "Виникла помилка?",
"caption": "Рішення шукайте тут"
}
]
},
"missingInLocale": "Ця сторінка недоступна у вашому регіоні. Будь ласка, перевірте англійську версію нижче."
},
"progressPage": {
"title": "Наш прогрес",
"description": "Перевірте хід проекту та цілі! (Оновлюється щогодини або близько того, не відображає ВСІ цілі проекту або прогрес)"
},
"modals": {
"cancel": "Скасувати",
"confirm": "Підтвердити"
}
}

View File

@@ -26,7 +26,7 @@
"progress": {
"title": "进度",
"paragraphs": [
"目前,我们正在重新创建 Miiverse以及我们的用户服务器及相关的服务。",
null,
"对于 3DS我们也在创建《马里奥赛车 7》的服务器并希望在可能的情况下继续为他游戏做服务器。"
]
},
@@ -84,7 +84,6 @@
"title": "支持 Cemu",
"caption": "即使没有硬件也能玩你最喜欢的 Wii U 游戏!"
}
]
},
"credits": {
@@ -223,15 +222,6 @@
"title": "博客",
"description": "压缩块的最新更新。如果您想看到更频繁的更新,请考虑在 <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a> 上支持我们。"
},
"account": {
"accountLevel": [
"Standard",
"Tester",
"Moderator",
"Developer"
],
"banned": "Banned"
},
"localizationPage": {
"title": "让我们本地化",
"description": "粘贴指向可公开访问的 JSON 语言环境的链接以在网站上对其进行测试",

367
package-lock.json generated
View File

@@ -21,14 +21,15 @@
"express-locale": "^2.0.0",
"fs-extra": "^9.1.0",
"got": "^11.8.5",
"graphql-request": "^4.3.0",
"gray-matter": "^4.0.3",
"kaitai-struct": "^0.9.0",
"marked": "^4.0.10",
"mii-js": "github:PretendoNetwork/mii-js#v1.0.4",
"mongoose": "^6.4.0",
"morgan": "^1.10.0",
"nodemailer": "^6.7.5",
"stripe": "^9.9.0",
"trello": "^0.11.0",
"uuid": "^8.3.2"
},
"devDependencies": {
@@ -516,6 +517,11 @@
"node": ">=8"
}
},
"node_modules/asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
"node_modules/at-least-node": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
@@ -570,6 +576,11 @@
"node": ">= 0.8"
}
},
"node_modules/bit-buffer": {
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.2.5.tgz",
"integrity": "sha512-x1yGnmXvFg6e3DiyRztElbcn1bsCTFSoM/ncAzY62uE0JdTl5xlKJd0ooqLYoPbhdsnpehSIQrdIvclcZJYwiA=="
},
"node_modules/bn.js": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
@@ -998,6 +1009,17 @@
"node": ">=0.10.0"
}
},
"node_modules/combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"dependencies": {
"delayed-stream": "~1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/commander": {
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
@@ -1126,6 +1148,14 @@
"sha.js": "^2.4.8"
}
},
"node_modules/cross-fetch": {
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz",
"integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==",
"dependencies": {
"node-fetch": "2.6.7"
}
},
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@@ -1229,6 +1259,14 @@
"resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
"integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM="
},
"node_modules/delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
"engines": {
"node": ">=0.4.0"
}
},
"node_modules/denque": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/denque/-/denque-2.0.1.tgz",
@@ -1456,11 +1494,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/es6-promise": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.0.2.tgz",
"integrity": "sha1-AQ1YWEI6XxGJeWZfRkhqlcbuK7Y="
},
"node_modules/escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
@@ -1793,6 +1826,17 @@
"node": ">=0.10.0"
}
},
"node_modules/extract-files": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/extract-files/-/extract-files-9.0.0.tgz",
"integrity": "sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ==",
"engines": {
"node": "^10.17.0 || ^12.0.0 || >= 13.7.0"
},
"funding": {
"url": "https://github.com/sponsors/jaydenseric"
}
},
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -1869,6 +1913,19 @@
"resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",
"integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k="
},
"node_modules/form-data": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/forwarded": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
@@ -2037,6 +2094,28 @@
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz",
"integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ=="
},
"node_modules/graphql": {
"version": "16.5.0",
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.5.0.tgz",
"integrity": "sha512-qbHgh8Ix+j/qY+a/ZcJnFQ+j8ezakqPiHwPiZhV/3PgGlgf96QMBB5/f2rkiC9sgLoy/xvT6TSiaf2nTHJh5iA==",
"peer": true,
"engines": {
"node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
}
},
"node_modules/graphql-request": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-4.3.0.tgz",
"integrity": "sha512-2v6hQViJvSsifK606AliqiNiijb1uwWp6Re7o0RTyH+uRTv/u7Uqm2g4Fjq/LgZIzARB38RZEvVBFOQOVdlBow==",
"dependencies": {
"cross-fetch": "^3.1.5",
"extract-files": "^9.0.0",
"form-data": "^3.0.0"
},
"peerDependencies": {
"graphql": "14 - 16"
}
},
"node_modules/gray-matter": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz",
@@ -2836,6 +2915,14 @@
"node": ">= 0.6"
}
},
"node_modules/mii-js": {
"version": "1.0.4",
"resolved": "git+ssh://git@github.com/PretendoNetwork/mii-js.git#5d8eb8013514a13b0df6eb4a5bfd8b5a63fb9861",
"license": "GNU AFFERO GPLV3",
"dependencies": {
"bit-buffer": "^0.2.5"
}
},
"node_modules/miller-rabin": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",
@@ -3089,6 +3176,44 @@
"resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
"integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw=="
},
"node_modules/node-fetch": {
"version": "2.6.7",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
"dependencies": {
"whatwg-url": "^5.0.0"
},
"engines": {
"node": "4.x || >=6.0.0"
},
"peerDependencies": {
"encoding": "^0.1.0"
},
"peerDependenciesMeta": {
"encoding": {
"optional": true
}
}
},
"node_modules/node-fetch/node_modules/tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
},
"node_modules/node-fetch/node_modules/webidl-conversions": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
},
"node_modules/node-fetch/node_modules/whatwg-url": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
"dependencies": {
"tr46": "~0.0.3",
"webidl-conversions": "^3.0.0"
}
},
"node_modules/nodemailer": {
"version": "6.7.5",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.5.tgz",
@@ -3544,33 +3669,6 @@
"lowercase-keys": "^2.0.0"
}
},
"node_modules/restler": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/restler/-/restler-3.3.0.tgz",
"integrity": "sha512-TrnPEY3DJgFJgPd5vJmHpOj0WlAzLcX2eIcAqc/EB/YlgPFz0aMD55GkQN16d3nX0ydlq93lthZWGKyBpVnFEg==",
"dependencies": {
"iconv-lite": "0.2.11",
"qs": "1.2.0",
"xml2js": "0.4.0",
"yaml": "0.2.3"
},
"engines": {
"node": ">= 0.10.x"
}
},
"node_modules/restler/node_modules/iconv-lite": {
"version": "0.2.11",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz",
"integrity": "sha1-HOYKOleGSiktEyH/RgnKS7llrcg=",
"engines": {
"node": ">=0.4.0"
}
},
"node_modules/restler/node_modules/qs": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-1.2.0.tgz",
"integrity": "sha512-XUf0O7rlGjbH+n7uqyT+xn362fmoPe4ehtHL6VK1nbSgQ7CqG0ZZLr1nU2EyXlRq++YphPdQ/5scjIWNMSPnhg=="
},
"node_modules/rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
@@ -3617,11 +3715,6 @@
"node": ">=6"
}
},
"node_modules/sax": {
"version": "0.5.8",
"resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz",
"integrity": "sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE="
},
"node_modules/section-matter": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz",
@@ -4157,19 +4250,6 @@
"node": ">=12"
}
},
"node_modules/trello": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/trello/-/trello-0.11.0.tgz",
"integrity": "sha512-WMjfSTA+ybGnd36ZoMX7Ia7wfpU9KP2lsafv9mjLwFcE1ECp8b9/rX3uW4ivNO7jVLnHRyQ1pHsirbMvK0Ix2Q==",
"dependencies": {
"es6-promise": "~3.0.2",
"object-assign": "~4.1.0",
"restler": "~3.3.0"
},
"engines": {
"node": ">= 0.10.x"
}
},
"node_modules/tslib": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
@@ -4461,23 +4541,6 @@
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/xml2js": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.0.tgz",
"integrity": "sha1-Ek/EEUtBKcgQgA7LKshs8lRiy5o=",
"dependencies": {
"sax": "0.5.x",
"xmlbuilder": ">=0.4.2"
}
},
"node_modules/xmlbuilder": {
"version": "15.1.1",
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz",
"integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==",
"engines": {
"node": ">=8.0"
}
},
"node_modules/xtend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
@@ -4491,14 +4554,6 @@
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"dev": true
},
"node_modules/yaml": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-0.2.3.tgz",
"integrity": "sha1-tUUOkudu82td0k42YAkeuu7z5cc=",
"engines": {
"node": "*"
}
}
},
"dependencies": {
@@ -4895,6 +4950,11 @@
"integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
"dev": true
},
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
"at-least-node": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
@@ -4923,6 +4983,11 @@
"safe-buffer": "5.1.2"
}
},
"bit-buffer": {
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.2.5.tgz",
"integrity": "sha512-x1yGnmXvFg6e3DiyRztElbcn1bsCTFSoM/ncAzY62uE0JdTl5xlKJd0ooqLYoPbhdsnpehSIQrdIvclcZJYwiA=="
},
"bn.js": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
@@ -5283,6 +5348,14 @@
}
}
},
"combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"requires": {
"delayed-stream": "~1.0.0"
}
},
"commander": {
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
@@ -5398,6 +5471,14 @@
"sha.js": "^2.4.8"
}
},
"cross-fetch": {
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz",
"integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==",
"requires": {
"node-fetch": "2.6.7"
}
},
"cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@@ -5479,6 +5560,11 @@
"resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
"integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM="
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
},
"denque": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/denque/-/denque-2.0.1.tgz",
@@ -5669,11 +5755,6 @@
"is-symbol": "^1.0.2"
}
},
"es6-promise": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.0.2.tgz",
"integrity": "sha1-AQ1YWEI6XxGJeWZfRkhqlcbuK7Y="
},
"escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
@@ -5932,6 +6013,11 @@
"is-extendable": "^0.1.0"
}
},
"extract-files": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/extract-files/-/extract-files-9.0.0.tgz",
"integrity": "sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ=="
},
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -5999,6 +6085,16 @@
"resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",
"integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k="
},
"form-data": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
}
},
"forwarded": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
@@ -6122,6 +6218,22 @@
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz",
"integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ=="
},
"graphql": {
"version": "16.5.0",
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.5.0.tgz",
"integrity": "sha512-qbHgh8Ix+j/qY+a/ZcJnFQ+j8ezakqPiHwPiZhV/3PgGlgf96QMBB5/f2rkiC9sgLoy/xvT6TSiaf2nTHJh5iA==",
"peer": true
},
"graphql-request": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-4.3.0.tgz",
"integrity": "sha512-2v6hQViJvSsifK606AliqiNiijb1uwWp6Re7o0RTyH+uRTv/u7Uqm2g4Fjq/LgZIzARB38RZEvVBFOQOVdlBow==",
"requires": {
"cross-fetch": "^3.1.5",
"extract-files": "^9.0.0",
"form-data": "^3.0.0"
}
},
"gray-matter": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz",
@@ -6695,6 +6807,13 @@
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
},
"mii-js": {
"version": "git+ssh://git@github.com/PretendoNetwork/mii-js.git#5d8eb8013514a13b0df6eb4a5bfd8b5a63fb9861",
"from": "mii-js@github:PretendoNetwork/mii-js#v1.0.4",
"requires": {
"bit-buffer": "^0.2.5"
}
},
"miller-rabin": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",
@@ -6894,6 +7013,35 @@
"resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
"integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw=="
},
"node-fetch": {
"version": "2.6.7",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
"requires": {
"whatwg-url": "^5.0.0"
},
"dependencies": {
"tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
},
"webidl-conversions": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
},
"whatwg-url": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
"requires": {
"tr46": "~0.0.3",
"webidl-conversions": "^3.0.0"
}
}
}
},
"nodemailer": {
"version": "6.7.5",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.5.tgz",
@@ -7247,29 +7395,6 @@
"lowercase-keys": "^2.0.0"
}
},
"restler": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/restler/-/restler-3.3.0.tgz",
"integrity": "sha512-TrnPEY3DJgFJgPd5vJmHpOj0WlAzLcX2eIcAqc/EB/YlgPFz0aMD55GkQN16d3nX0ydlq93lthZWGKyBpVnFEg==",
"requires": {
"iconv-lite": "0.2.11",
"qs": "1.2.0",
"xml2js": "0.4.0",
"yaml": "0.2.3"
},
"dependencies": {
"iconv-lite": {
"version": "0.2.11",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz",
"integrity": "sha1-HOYKOleGSiktEyH/RgnKS7llrcg="
},
"qs": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-1.2.0.tgz",
"integrity": "sha512-XUf0O7rlGjbH+n7uqyT+xn362fmoPe4ehtHL6VK1nbSgQ7CqG0ZZLr1nU2EyXlRq++YphPdQ/5scjIWNMSPnhg=="
}
}
},
"rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
@@ -7307,11 +7432,6 @@
"sparse-bitfield": "^3.0.3"
}
},
"sax": {
"version": "0.5.8",
"resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz",
"integrity": "sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE="
},
"section-matter": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz",
@@ -7729,16 +7849,6 @@
"punycode": "^2.1.1"
}
},
"trello": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/trello/-/trello-0.11.0.tgz",
"integrity": "sha512-WMjfSTA+ybGnd36ZoMX7Ia7wfpU9KP2lsafv9mjLwFcE1ECp8b9/rX3uW4ivNO7jVLnHRyQ1pHsirbMvK0Ix2Q==",
"requires": {
"es6-promise": "~3.0.2",
"object-assign": "~4.1.0",
"restler": "~3.3.0"
}
},
"tslib": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
@@ -7963,20 +8073,6 @@
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"xml2js": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.0.tgz",
"integrity": "sha1-Ek/EEUtBKcgQgA7LKshs8lRiy5o=",
"requires": {
"sax": "0.5.x",
"xmlbuilder": ">=0.4.2"
}
},
"xmlbuilder": {
"version": "15.1.1",
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz",
"integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg=="
},
"xtend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
@@ -7987,11 +8083,6 @@
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"dev": true
},
"yaml": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-0.2.3.tgz",
"integrity": "sha1-tUUOkudu82td0k42YAkeuu7z5cc="
}
}
}

View File

@@ -29,14 +29,15 @@
"express-locale": "^2.0.0",
"fs-extra": "^9.1.0",
"got": "^11.8.5",
"graphql-request": "^4.3.0",
"gray-matter": "^4.0.3",
"kaitai-struct": "^0.9.0",
"marked": "^4.0.10",
"mii-js": "github:PretendoNetwork/mii-js#v1.0.4",
"mongoose": "^6.4.0",
"morgan": "^1.10.0",
"nodemailer": "^6.7.5",
"stripe": "^9.9.0",
"trello": "^0.11.0",
"uuid": "^8.3.2"
},
"devDependencies": {

View File

@@ -76,12 +76,34 @@
border-color: #5AFF15;
}
.account-sidebar .user .mii {
.account-sidebar .user a.mii {
position: relative;
display: block;
width: 128px;
height: 128px;
overflow: hidden;
border-radius: 100%;
background: var(--bg-shade-3);
}
.account-sidebar .user a.mii::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: no-repeat center/40% url("/assets/images/edit.svg"), rgba(55, 60, 101, 0.7);
opacity: 0;
transition: opacity 150ms;
}
.account-sidebar .user a.mii:hover::after {
opacity: 1;
}
.account-sidebar .user .mii {
width: 100%;
height: 100%;
}
.account-sidebar .buttons a {
display: flex;
flex-flow: column;

View File

@@ -443,6 +443,7 @@ section.team {
section.team-helpers {
position: relative;
margin-top: 160px;
overflow: hidden;
}
section.team-helpers .text {
max-width: 504px;
@@ -1003,3 +1004,9 @@ section.update-signup div.circle {
}
}
@media screen and (min-width: 2256px) {
.purple-circle {
display: none;
}
}

View File

@@ -28,14 +28,14 @@ svg.logotype {
max-width: 1920px;
height: 100%;
margin: auto;
gap: 0 48px;
gap: 0 120px;
}
.params-wrapper::before {
content: "";
display: block;
position: absolute;
background: var(--bg-shade-1);
border-radius: 100%;
border-radius: 100% 0 0 100%;
width: 1300px;
height: 1700px;
top: 50%;
@@ -59,23 +59,23 @@ svg.logotype {
z-index: -1;
}
div.mii-img-wrapper {
.canvas-wrapper {
position: relative;
margin: auto;
display: flex;
justify-content: center;
width: 512px;
left: -48px;
align-items: center;
width: 100%;
height: 100%;
max-height: 384px;
overflow: hidden;
}
img#mii-img {
position: absolute;
bottom: 0;
canvas#miiCanvas {
width: auto;
height: 512px;
z-index: 2;
height: auto;
transform-origin: center;
transition: transform 200ms, filter 200ms;
}
div.mii-img-wrapper::before {
content: "";
position: absolute;
@@ -190,6 +190,41 @@ div.subtabs .subtabbtn.active:hover::before {
transform: scale(3);
}
.has-textinput {
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
grid-auto-rows: auto;
gap: 24px;
}
.has-textinput label {
display: block;
margin-bottom: 6px;
text-transform: uppercase;
font-size: 12px;
}
.has-textinput .icons {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
}
.has-textinput .icons input[type="checkbox"] {
box-sizing: border-box;
margin: 0;
height: 49px;
width: 49px;
}
input[type="checkbox"]#allowCopying:checked {
background: no-repeat center/80% url(../images/copy.svg), var(--accent-shade-0);
}
input[type="checkbox"]#disableSharing:checked {
background: no-repeat center/80% url(../images/share.svg), var(--accent-shade-0);
}
input[type="checkbox"]#favorite:checked {
background: no-repeat center/80% url(../images/star.svg), var(--accent-shade-0);
}
form.params {
grid-template-columns: repeat(2, auto);
height: 618px;
@@ -418,10 +453,6 @@ button * {
gap: 12px;
}
div.mii-img-wrapper {
left: -36px;
}
div.params-wrapper {
margin-right: 24px;
}
@@ -447,10 +478,6 @@ button * {
gap: 8px;
}
div.mii-img-wrapper {
left: -36px;
}
div.params-wrapper {
margin-right: 24px;
}
@@ -497,17 +524,16 @@ button * {
}
@media screen and (max-width: 1080px) {
div.mii-img-wrapper {
left: 0;
top: 0;
}
img#mii-img {
max-height: 150%;
.canvas-wrapper {
height: calc(100% - 12px);
}
svg.logotype {
left: 0;
}
svg.logotype text#Pretendo {
display: none;
}
.miieditor-wrapper {
grid-template-columns: auto;
@@ -529,11 +555,6 @@ button * {
margin-top: 1rem;
}
div.mii-img-wrapper {
width: 100%;
max-width: 512px;
}
fieldset {
order: 1;
}
@@ -593,7 +614,7 @@ button * {
grid-row: 4;
}
fieldset:not(.has-sliders) {
fieldset:not(.has-sliders, .has-textinput) {
position: relative;
margin-bottom: -60px;
}
@@ -648,6 +669,15 @@ button * {
width: 36px;
height: 36px;
}
div.pagination {
transform: scale(0.7);
transform-origin: right;
}
.has-textinput {
grid-template-columns: 1fr;
}
}
@media screen and (max-width: 360px) {

View File

@@ -2,7 +2,7 @@ footer {
width: 100%;
display: grid;
grid-template-columns: repeat(3, fit-content(100%)) 1fr;
gap: 7.7vw;
gap: min(48px, 7.7vw);
color: var(--text-shade-1);
margin-top: 120px;
position: relative;

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-copy"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>

After

Width:  |  Height:  |  Size: 344 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#fff" d="M5 19h1.4l8.625-8.625l-1.4-1.4L5 17.6ZM19.3 8.925l-4.25-4.2l1.4-1.4q.575-.575 1.413-.575q.837 0 1.412.575l1.4 1.4q.575.575.6 1.388q.025.812-.55 1.387ZM4 21q-.425 0-.712-.288Q3 20.425 3 20v-2.825q0-.2.075-.387q.075-.188.225-.338l10.3-10.3l4.25 4.25l-10.3 10.3q-.15.15-.337.225q-.188.075-.388.075ZM14.325 9.675l-.7-.7l1.4 1.4Z"/></svg>

After

Width:  |  Height:  |  Size: 438 B

View File

@@ -27,11 +27,11 @@
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:lockguides="false"
inkscape:zoom="5.979798"
inkscape:cx="65.888513"
inkscape:cy="316.23142"
inkscape:zoom="5.6568543"
inkscape:cx="104.56341"
inkscape:cy="351.43207"
inkscape:window-width="1920"
inkscape:window-height="1023"
inkscape:window-height="1025"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
@@ -75,7 +75,7 @@
d="m 38.391224,328.78155 c -0.402278,0.001 -0.847854,0.0668 -1.343327,0.20523 a 0.43421497,0.4342385 0 0 0 -0.041,0.0153 c -0.576068,0.22485 -0.849154,0.72713 -0.944648,1.11432 -0.095,0.3872 -0.053,0.72084 -0.053,0.72084 a 0.43421497,0.4342385 0 0 0 0.642766,0.32564 c 1.156837,-0.6469 1.853099,-0.71378 2.39647,-0.61567 0.54327,0.0981 0.981247,0.4064 1.575614,0.64112 a 0.43421497,0.4342385 0 0 0 0.537671,-0.61568 c -0.252786,-0.45231 -0.562569,-0.89979 -1.012545,-1.23983 -0.450075,-0.34005 -1.039843,-0.5546 -1.758805,-0.55123 z m 7.218009,0 c -0.718861,-0.004 -1.308729,0.21119 -1.758704,0.55123 -0.450076,0.34005 -0.759759,0.78753 -1.012546,1.23982 a 0.43421497,0.4342385 0 0 0 0.537671,0.61568 c 0.594368,-0.2347 1.032244,-0.54301 1.575615,-0.64111 0.54327,-0.0981 1.239633,-0.0313 2.39647,0.61567 a 0.43421497,0.4342385 0 0 0 0.642665,-0.32565 c 0,0 0.043,-0.33363 -0.053,-0.72083 -0.09499,-0.38719 -0.36858,-0.88946 -0.944649,-1.11432 a 0.43421497,0.4342385 0 0 0 -0.041,-0.0153 c -0.495374,-0.13835 -0.941049,-0.20326 -1.343228,-0.20522 z" />
<path
id="path35997"
style="color:#000000;display:inline;fill:#cab1fb;stroke-width:0.750013;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
style="color:#000000;display:inline;fill:#cab1fb;stroke-width:0.750013;stroke-linecap:round;stroke-linejoin:round"
d="m 162.0003,323.99985 c -0.032,-2e-5 -0.064,0.005 -0.097,0.0132 -0.063,0.0167 -0.1206,0.0495 -0.167,0.0952 l -1.774,1.752 c -0.2381,0.23564 -0.071,0.64149 0.2637,0.64161 h 0.5655 v 2.28958 h -2.2896 v -0.56543 c -2e-4,-0.335 -0.406,-0.50179 -0.6416,-0.26368 l -1.752,1.77395 c -0.1444,0.14611 -0.1444,0.38124 0,0.52735 l 1.752,1.77396 c 0.2356,0.23811 0.6415,0.0713 0.6416,-0.26368 v -0.56543 h 2.2896 v 2.28958 h -0.5655 c -0.335,1.2e-4 -0.5018,0.40596 -0.2637,0.64161 l 1.774,1.75199 c 0.1461,0.14445 0.3813,0.14445 0.5274,0 l 1.774,-1.75199 c 0.2381,-0.23565 0.071,-0.64149 -0.2637,-0.64161 h -0.5655 v -2.28958 h 2.2896 v 0.56543 c 1e-4,0.335 0.406,0.50179 0.6416,0.26368 l 1.752,-1.77396 c 0.1444,-0.14611 0.1444,-0.38124 0,-0.52735 l -1.752,-1.77395 c -0.2356,-0.23811 -0.6415,-0.0713 -0.6416,0.26368 v 0.56543 h -2.2896 v -2.28958 h 0.5655 c 0.335,-1.2e-4 0.5018,-0.40597 0.2637,-0.64161 l -1.774,-1.752 c -0.071,-0.07 -0.1665,-0.10835 -0.2637,-0.1084 z" />
<g
id="g240118-7-6-5"
@@ -10159,4 +10159,28 @@
d="m 132,314.66667 v 8 q 0,0.55 -0.39133,0.942 -0.392,0.39133 -0.942,0.39133 h -9.33334 q -0.55,0 -0.942,-0.39133 Q 120,323.21667 120,322.66667 v -9.33334 q 0,-0.55 0.39133,-0.942 0.392,-0.39133 0.942,-0.39133 h 8 z M 126,322 q 0.83333,0 1.41667,-0.58333 Q 128,320.83333 128,320 q 0,-0.83333 -0.58333,-1.41667 Q 126.83333,318 126,318 q -0.83333,0 -1.41667,0.58333 Q 124,319.16667 124,320 q 0,0.83333 0.58333,1.41667 Q 125.16667,322 126,322 Z m -4,-5.33333 h 6 V 314 h -6 z"
id="path1886"
style="fill:#ffffff;fill-opacity:1;stroke-width:0.666667" />
<g
id="g22237"
transform="matrix(1.3304782,0,0,1.3304782,-66.039968,-106.69792)">
<path
id="path35997-1"
style="color:#000000;display:inline;fill:#cab1fb;stroke-width:0.750013;stroke-linecap:round;stroke-linejoin:round"
d="m 196.63289,328.58644 c -0.23697,-0.23679 -0.64189,-0.0678 -0.64015,0.26722 l 0.0156,2.49326 c 0.001,0.20545 0.16748,0.37176 0.37293,0.37292 l 2.49325,0.0156 c 0.33499,0.002 0.50381,-0.4034 0.26722,-0.64015 -0.0752,-0.0692 -1.22995,-1.21297 -2.50885,-2.50885 z"
sodipodi:nodetypes="ccccccc"
class="UnoptimicedTransforms"
transform="matrix(0.97300689,-0.22965134,-0.22965134,0.97300689,70.688242,54.684049)" />
<g
id="g22203"
transform="rotate(45,189.247,328.41497)">
<path
id="path218531-2-3-2"
style="display:inline;fill:#cab1fb;fill-opacity:1;stroke:none;stroke-width:0.689529px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 190.83423,328.86858 0.0108,-4.77785 c -0.56571,-1.27775 -2.25307,-1.83648 -3.18455,0.008 l -0.0118,4.77666 z"
sodipodi:nodetypes="ccccc" />
</g>
<path
d="m 189.04908,330.93537 c 0.10967,-0.0169 0.22718,-0.0749 0.32449,-0.1721 l 0.14184,-0.14252 c 0.19492,-0.19417 0.23679,-0.46541 0.0937,-0.6074 l -1.96579,-1.95306 c -0.14291,-0.14202 -0.41545,-0.1 -0.61039,0.0942 l -0.14162,0.14123 c -0.1948,0.19413 -0.23668,0.46539 -0.0937,0.60741 l 1.96563,1.95432 c 0.0719,0.0709 0.17567,0.0949 0.28589,0.0779 z"
style="display:inline;fill:#cab1fb;fill-opacity:1;stroke:none;stroke-width:0.590169px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path22213" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 570 KiB

After

Width:  |  Height:  |  Size: 571 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-share-2"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line></svg>

After

Width:  |  Height:  |  Size: 438 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-star"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>

After

Width:  |  Height:  |  Size: 332 B

View File

@@ -1,214 +0,0 @@
// Fetched from https://github.com/PretendoNetwork/account/blob/master/src/mii.js on 2021-12-16
const KaitaiStream = require('kaitai-struct/KaitaiStream');
class Mii extends KaitaiStream {
constructor(arrayBuffer, byteOffset) {
super(arrayBuffer, byteOffset);
this.decode();
}
decode() {
// Decode raw data
// A lot of this goes unused
this.unknown1 = this.readU1();
this.characterSet = this.readBitsIntBe(2);
this.regionLock = this.readBitsIntBe(2);
this.profanityFlag = this.readBitsIntBe(1) !== 0;
this.copying = this.readBitsIntBe(1) !== 0;
this.unknown2 = this.readBitsIntBe(2);
this.slotIndex = this.readBitsIntBe(4);
this.pageIndex = this.readBitsIntBe(4);
this.version = this.readBitsIntBe(4);
this.unknown3 = this.readBitsIntBe(4);
this.systemId = Array(8).fill().map(() => this.readU1());
this.avatarId = Array(4).fill().map(() => this.readU1());
this.clientId = Array(6).fill().map(() => this.readU1());
this.padding = this.readU2le();
this.miiMetaData = this.readU2le();
this.miiName = Buffer.from(this.readBytes(20)).toString('utf16le');
this.height = this.readU1();
this.build = this.readU1();
this.faceColor = this.readBitsIntBe(3);
this.faceType = this.readBitsIntBe(4);
this.mingle = this.readBitsIntBe(1) !== 0;
this.faceMakeup = this.readBitsIntBe(4);
this.faceWrinkles = this.readBitsIntBe(4);
this.alignToByte();
this.hairType = this.readU1();
this.unknown5 = this.readBitsIntBe(4);
this.hairFlip = this.readBitsIntBe(1) !== 0;
this.hairColor = this.readBitsIntBe(3);
this.alignToByte();
this.eyeData = this.readU4le();
this.eyebrowData = this.readU4le();
this.noseData = this.readU2le();
this.mouthData = this.readU2le();
this.mouthData2 = this.readU2le();
this.facialHairData = this.readU2le();
this.glassesData = this.readU2le();
this.moleData = this.readU2le();
this.creatorName = Buffer.from(this.readBytes(20)).toString('utf16le');
this.padding2 = this.readU2le();
this.checksum = this.readU2le();
// Carve out more specific data from the above values
// TODO: read these bits directly instead of getting them later
this.gender = (this.miiMetaData & 1);
this.birthMonth = ((this.miiMetaData >> 1) & 15);
this.birthDay = ((this.miiMetaData >> 5) & 31);
this.favoriteColor = ((this.miiMetaData >> 10) & 15);
this.favorite = ((this.miiMetaData >> 14) & 1);
this.eyeType = (this.eyeData & 63);
this.eyeColor = ((this.eyeData >> 6) & 7);
this.eyeSize = ((this.eyeData >> 9) & 7);
this.eyeStretch = ((this.eyeData >> 13) & 7);
this.eyeRotation = ((this.eyeData >> 16) & 31);
this.eyeHorizontal = ((this.eyeData >> 21) & 15);
this.eyeVertical = ((this.eyeData >> 25) & 31);
this.eyebrowType = (this.eyebrowData & 31);
this.eyebrowColor = ((this.eyebrowData >> 5) & 7);
this.eyebrowSize = ((this.eyebrowData >> 8) & 15);
this.eyebrowStretch = ((this.eyebrowData >> 12) & 7);
this.eyebrowRotation = ((this.eyebrowData >> 16) & 15);
this.eyebrowHorizontal = ((this.eyebrowData >> 21) & 15);
this.eyebrowVertical = ((this.eyebrowData >> 25) & 31);
this.noseType = (this.noseData & 31);
this.noseSize = ((this.noseData >> 5) & 15);
this.noseVertical = ((this.noseData >> 9) & 31);
this.mouthType = (this.mouthData & 63);
this.mouthColor = ((this.mouthData >> 6) & 7);
this.mouthSize = ((this.mouthData >> 9) & 15);
this.mouthStretch = ((this.mouthData >> 13) & 7);
this.mouthVertical = (this.mouthData2 & 31);
this.facialHairMustache = ((this.mouthData2 >> 5) & 7);
this.facialHairType = (this.facialHairData & 7);
this.facialHairColor = ((this.facialHairData >> 3) & 7);
this.facialHairSize = ((this.facialHairData >> 6) & 15);
this.facialHairVertical = ((this.facialHairData >> 10) & 31);
this.glassesType = (this.glassesData & 15);
this.glassesColor = (this.glassesData >> 4) & 7;
this.glassesSize = (this.glassesData >> 7) & 15;
this.glassesVertical = (this.glassesData >> 11) & 15;
this.moleEnable = (this.moleData >> 15);
this.moleSize = ((this.moleData >> 1) & 15);
this.moleHorizontal = ((this.moleData >> 5) & 31);
this.moleVertical = ((this.moleData >> 10) & 31);
}
toStudioMii() {
/*
Can also disable randomization with:
let miiStudioData = Buffer.alloc(0x2F);
let next = 256;
and removing "randomizer" and the "miiStudioData.writeUInt8(randomizer);" call
*/
const miiStudioData = Buffer.alloc(0x2F);
const randomizer = Math.floor(256 * Math.random());
let next = randomizer;
let pos = 1;
function encodeMiiPart(partValue) {
const encoded = (7 + (partValue ^ next)) % 256;
next = encoded;
miiStudioData.writeUInt8(encoded, pos);
pos++;
}
miiStudioData.writeUInt8(randomizer);
if (this.facialHairColor === 0) {
encodeMiiPart(8);
} else {
encodeMiiPart(this.facialHairColor);
}
encodeMiiPart(this.facialHairType);
encodeMiiPart(this.build);
encodeMiiPart(this.eyeStretch);
encodeMiiPart(this.eyeColor + 8);
encodeMiiPart(this.eyeRotation);
encodeMiiPart(this.eyeSize);
encodeMiiPart(this.eyeType);
encodeMiiPart(this.eyeHorizontal);
encodeMiiPart(this.eyeVertical);
encodeMiiPart(this.eyebrowStretch);
if (this.eyebrowColor === 0) {
encodeMiiPart(8);
} else {
encodeMiiPart(this.eyebrowColor);
}
encodeMiiPart(this.eyebrowRotation);
encodeMiiPart(this.eyebrowSize);
encodeMiiPart(this.eyebrowType);
encodeMiiPart(this.eyebrowHorizontal);
encodeMiiPart(this.eyebrowVertical);
encodeMiiPart(this.faceColor);
encodeMiiPart(this.faceMakeup);
encodeMiiPart(this.faceType);
encodeMiiPart(this.faceWrinkles);
encodeMiiPart(this.favoriteColor);
encodeMiiPart(this.gender);
if (this.glassesColor == 0) {
encodeMiiPart(8);
} else if (this.glassesColor < 6) {
encodeMiiPart(this.glassesColor + 13);
} else {
encodeMiiPart(0);
}
encodeMiiPart(this.glassesSize);
encodeMiiPart(this.glassesType);
encodeMiiPart(this.glassesVertical);
if (this.hairColor == 0) {
encodeMiiPart(8);
} else {
encodeMiiPart(this.hairColor);
}
encodeMiiPart(this.hairFlip ? 1 : 0);
encodeMiiPart(this.hairType);
encodeMiiPart(this.height);
encodeMiiPart(this.moleSize);
encodeMiiPart(this.moleEnable);
encodeMiiPart(this.moleHorizontal);
encodeMiiPart(this.moleVertical);
encodeMiiPart(this.mouthStretch);
if (this.mouthColor < 4) {
encodeMiiPart(this.mouthColor + 19);
} else {
encodeMiiPart(0);
}
encodeMiiPart(this.mouthSize);
encodeMiiPart(this.mouthType);
encodeMiiPart(this.mouthVertical);
encodeMiiPart(this.facialHairSize);
encodeMiiPart(this.facialHairMustache);
encodeMiiPart(this.facialHairVertical);
encodeMiiPart(this.noseSize);
encodeMiiPart(this.noseType);
encodeMiiPart(this.noseVertical);
return miiStudioData;
}
}
module.exports = Mii;

View File

@@ -1,4 +1,4 @@
// This file gets automatically bundled with browserify when running the start script. This also means that after any update you're gonna need to restart the server.
// This file gets automatically bundled with browserify when running the start script. This also means that after any update you're gonna need to restart the server to see any changes.
// Prevent the user from reloading or leaving the page
window.addEventListener('beforeunload', function (e) {
@@ -6,79 +6,233 @@ window.addEventListener('beforeunload', function (e) {
e.returnValue = '';
});
const Mii = require('./MiiClass.js');
// this makes it so the canvas fits in the target element
function setCanvasScale() {
let targetX;
let targetY;
if (window.innerWidth <= 1080) {
const canvasWrapper = document.querySelector('.canvas-wrapper');
targetX = canvasWrapper.offsetWidth;
targetY = canvasWrapper.offsetHeight;
} else {
targetX = window.innerWidth * 0.9;
targetY = window.innerHeight * 0.9;
}
const canvas = document.querySelector('canvas#miiCanvas');
const XScale = targetX / canvas.width;
const YScale = targetY / canvas.height;
canvas.style.transform = `scale(${Math.min(XScale, YScale)})`;
}
setCanvasScale();
window.addEventListener('resize', () => {
setCanvasScale();
});
// MII RENDERER
const Mii = require('mii-js');
// The Mii data is stored in a script tag in the HTML, so we can just grab it and then remove the element
const encodedUserMiiData = document.querySelector(
'script#encodedUserMiiData'
).textContent;
document.querySelector('script#encodedUserMiiData').remove();
// We initialize the Mii object with the encoded data and render the Mii
console.log('encodedMiiData', encodedUserMiiData);
// We initialize the Mii object
const mii = new Mii(Buffer.from(encodedUserMiiData, 'base64'));
// We set the img sources for the unedited miis in the save animation
const miiStudioNeutralUrl = mii.studioUrl({
width: 512,
bgColor: '13173300',
});
const miiStudioSorrowUrl = mii.studioUrl({
width: 512,
bgColor: '13173300',
expression: 'sorrow',
});
document.querySelector('.mii-comparison img.old-mii').src = miiStudioNeutralUrl;
document.querySelector('.mii-comparison.confirmed img.old-mii').src =
miiStudioSorrowUrl;
// we keeep the images here so we can cache them when we need to change the build/height
const miiFaceImg = new Image();
const baldMiiFaceImg = new Image();
const miiBodyImg = new Image();
// Initial mii render
renderMii();
// This function renders the Mii on the canvas
function renderMii(heightOverride, buildOverride) {
const canvas = document.querySelector('canvas#miiCanvas');
const ctx = canvas.getContext('2d');
const height = heightOverride || mii.height;
const build = buildOverride || mii.build;
const oldMiiStudioData = mii.toStudioMii().toString('hex');
// if there isn't an override or the images haven't been cached, we load the images
if ((!heightOverride && !buildOverride) || !miiFaceImg.src || !baldMiiFaceImg.src || !miiBodyImg.src) {
canvas.style.filter = 'blur(4px) brightness(70%)';
// initial setup for saving animation
document.querySelector('.mii-comparison img.old-mii').src = `https://studio.mii.nintendo.com/miis/image.png?data=${oldMiiStudioData}&type=face&expression=normal&width=512&bgColor=13173300`;
document.querySelector('.mii-comparison.confirmed img.old-mii').src = `https://studio.mii.nintendo.com/miis/image.png?data=${oldMiiStudioData}&type=face&expression=sorrow&width=512&bgColor=13173300`;
// we create a copy of the mii and make it bald
const baldMii = Object.create(
Object.getPrototypeOf(mii),
Object.getOwnPropertyDescriptors(mii)
);
baldMii.hairType = 30;
baldMiiFaceImg.src = baldMii.studioUrl({
width: 512,
bgColor: '13173300',
type: 'face_only',
});
miiFaceImg.src = mii.studioUrl({
width: 512,
bgColor: '13173300',
type: 'face_only',
});
miiBodyImg.src = mii.studioAssetUrlBody();
}
// This function renders the Mii on the page
function renderMii(type) {
type = type || 'all_body'; // Can be 'all_body' or 'face'
// misc calculations
const bodyWidth = (build * 1.7 + 220) * (0.003 * height + 0.6);
const bodyHeight = height * 3.5 + 227;
const bodyXPos = (canvas.width - bodyWidth) / 2;
const bodyYPos = canvas.height - bodyHeight;
const headYPos = bodyYPos - 408;
const miiStudioData = mii.toStudioMii().toString('hex');
document.querySelector(
'img#mii-img'
).src = `https://studio.mii.nintendo.com/miis/image.png?data=${miiStudioData}&type=${type}&expression=normal&width=512&bgColor=13173300`;
// we make sure every image is loaded before rendering
if (miiFaceImg.complete) {
onMiiFaceImgLoad();
} else {
miiFaceImg.onload = () => {
onMiiFaceImgLoad();
};
}
function onMiiFaceImgLoad() {
if (miiBodyImg.complete) {
onBodyImgLoad();
} else {
miiBodyImg.onload = () => {
onBodyImgLoad();
};
}
}
function onBodyImgLoad() {
if (baldMiiFaceImg.complete) {
onBaldMiiFaceImgLoad();
} else {
baldMiiFaceImg.onload = () => {
onBaldMiiFaceImgLoad();
};
}
}
function onBaldMiiFaceImgLoad() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
ctx.drawImage(miiFaceImg, 0, headYPos);
ctx.drawImage(miiBodyImg, bodyXPos, bodyYPos, bodyWidth, bodyHeight);
// sets the new mii in the save tab to the new mii
document.querySelector(
'.mii-comparison img.new-mii'
).src = `https://studio.mii.nintendo.com/miis/image.png?data=${miiStudioData}&type=face&expression=normal&width=512&bgColor=13173300`;
document.querySelector(
'.mii-comparison.confirmed img.new-mii'
).src = `https://studio.mii.nintendo.com/miis/image.png?data=${miiStudioData}&type=face&expression=smile&width=512&bgColor=13173300`;
// we draw a portion of the bald mii on top of the normal mii to hide the mii's neck (see https://i.imgur.com/U0fpkwi.png)
ctx.drawImage(baldMiiFaceImg, 186, 384, 140, 120, 186, headYPos + 384, 140, 120);
canvas.style.filter = '';
}
// this sets the mii height so that the face width stays the same
document.querySelector('img#mii-img').style.height = `${
mii.height * mii.height * 0.0023 + mii.height * 1.058 + 384
}px`;
if (!heightOverride && !buildOverride) {
const faceMiiStudioUrl = mii.studioUrl({
width: 512,
bgColor: '13173300',
});
// this sets the bottom position so that the mii's feet stay in the same position
document.querySelector('img#mii-img').style.bottom = `${
mii.height * mii.height * -0.00468135 + mii.height * 0.28 - 0.052435
}px`;
const faceMiiStudioSmileUrl = mii.studioUrl({
width: 512,
bgColor: '13173300',
expression: 'smile'
});
console.log(mii);
// sets the new mii in the save tab to the new mii
document.querySelector('.mii-comparison img.new-mii').src = faceMiiStudioUrl;
document.querySelector('.mii-comparison.confirmed img.new-mii').src = faceMiiStudioSmileUrl;
}
}
// This function updates a prop of the Mii and rerenders it
function updateMii(e, type) {
function updateMii(e) {
const prop = e.target.name;
const value = e.target.value;
mii[prop] = parseInt(value);
renderMii(type);
let value = e.target.value || e.target.defaultValue;
// if the value comes from a checkbox, we use the checked property
if (value === 'on' || value === 'off') {
value = e.target.checked;
}
// if the prop is disableSharing, we set the value to the opposite of the current value
if (prop === 'disableSharing') {
value = !value;
}
// Handle booleans, on/offs and strings
if (value === 'true' || value === 'false') {
mii[prop] = value === 'true';
} else if (value === 'on' || value === 'off') {
mii[prop] = value === 'on';
} else if (isNaN(parseInt(value))) {
mii[prop] = value;
} else {
mii[prop] = parseInt(value);
}
// if the user is editing the height or the build, we render the mii with the correct override, else we do a straight render
if (prop === 'height') {
renderMii(value, false);
} else if (prop === 'build') {
renderMii(false, value);
} else {
renderMii();
console.log(mii);
}
}
function handleCalendar(e) {
const valueArray = e.target.value.split('-');
const day = valueArray[2];
const month = valueArray[1];
mii.birthDay = parseInt(day);
mii.birthMonth = parseInt(month);
}
function preventEmpty(e) {
if (e.target.value !== '') return;
e.target.value = e.target.defaultValue;
}
document.querySelectorAll('fieldset').forEach((fieldset) => {
fieldset.addEventListener('change', (e) => updateMii(e));
fieldset.addEventListener('change', updateMii);
});
document.querySelectorAll('input[type=\'range\']').forEach((fieldset) => {
fieldset.addEventListener('input', (e) => updateMii(e));
document.querySelectorAll('input[type=\'range\']').forEach((input) => {
input.addEventListener('input', updateMii);
});
document
.querySelectorAll('input[type=\'text\'], input[type=\'number\']')
.forEach((input) => {
input.addEventListener('blur', preventEmpty);
});
document
.querySelector('input[type=\'date\']#birthDate')
.addEventListener('change', handleCalendar);
// FORM
// Here we preselect the options corresponding to the Mii's current values
[
'faceType',
'faceColor',
'faceMakeup',
'faceWrinkles',
'skinColor',
'makeupType',
'wrinklesType',
'hairType',
'hairColor',
'eyebrowType',
@@ -90,45 +244,70 @@ document.querySelectorAll('input[type=\'range\']').forEach((fieldset) => {
'mouthColor',
'glassesType',
'glassesColor',
'facialHairType',
'beardType',
'facialHairColor',
'facialHairMustache',
'moleEnable',
'mustacheType',
'moleEnabled',
'gender',
'favoriteColor'
'favoriteColor',
].forEach((prop) => {
document.querySelector(`#${prop}${mii[prop]}`).checked = true;
const el = document.querySelector(`#${prop}${mii[prop]}`);
if (el) {
el.checked = true;
}
console.log(`[info] preselected value for ${prop}`);
});
['favorite', 'allowCopying'].forEach((prop) => {
const el = document.querySelector(`#${prop}`);
if (el) {
el.checked = mii[prop];
}
console.log(`[info] preselected value for ${prop}`);
});
document.querySelector('#disableSharing').checked = !mii.disableSharing;
console.log('[info] preselected value for disableSharing');
[
'eyebrowVertical',
'eyebrowHorizontal',
'eyebrowYPosition',
'eyebrowSpacing',
'eyebrowRotation',
'eyebrowSize',
'eyebrowStretch',
'eyeVertical',
'eyeHorizontal',
'eyebrowScale',
'eyebrowVerticalStretch',
'eyeYPosition',
'eyeSpacing',
'eyeRotation',
'eyeSize',
'eyeStretch',
'noseVertical',
'noseSize',
'mouthVertical',
'mouthSize',
'mouthStretch',
'glassesVertical',
'glassesSize',
'facialHairVertical',
'facialHairSize',
'moleVertical',
'moleHorizontal',
'moleSize',
'eyeScale',
'eyeVerticalStretch',
'noseYPosition',
'noseScale',
'mouthYPosition',
'mouthScale',
'mouthHorizontalStretch',
'glassesYPosition',
'glassesScale',
'mustacheYPosition',
'mustacheScale',
'moleYPosition',
'moleXPosition',
'moleScale',
'height',
'build'
'build',
'miiName',
'creatorName',
].forEach((prop) => {
document.querySelector(`#${prop}`).value = mii[prop];
document.querySelector(`#${prop}`).defaultValue = mii[prop];
console.log(`[info] preselected value for ${prop}`);
});
const paddedBirthDay = mii.birthDay.toString().padStart(2, '0');
const paddedBirthMonth = mii.birthMonth.toString().padStart(2, '0');
document.querySelector(
'input[type=\'date\']#birthDate'
).value = `2024-${paddedBirthMonth}-${paddedBirthDay}`;
console.log('[info] preselected value for birthMonth && birthDay');
// TABS, SUBTABS, AND ALL THE INHERENT JANK
@@ -136,19 +315,22 @@ function openTab(e, tabType) {
e.preventDefault();
// Deselect all subpages
document.querySelectorAll('.subtab.has-subpages .subpage.active').forEach((el) => {
el.classList?.remove('active');
});
document
.querySelectorAll('.subtab.has-subpages .subpage.active')
.forEach((el) => {
el.classList?.remove('active');
});
document.querySelectorAll('.subtab.active').forEach((el) => {
el.classList?.remove('active');
});
const buttonReplacement = tabType.charAt(0).toUpperCase() + tabType.slice(1);
const buttonReplacement =
tabType.charAt(0).toUpperCase() + tabType.slice(1);
document.querySelectorAll(`.${tabType}.active`).forEach(el => {
document.querySelectorAll(`.${tabType}.active`).forEach((el) => {
el?.classList?.remove('active');
});
document.querySelectorAll(`.${tabType}btn.active`).forEach(el => {
document.querySelectorAll(`.${tabType}btn.active`).forEach((el) => {
el?.classList?.remove('active');
});
@@ -164,15 +346,15 @@ function openTab(e, tabType) {
document.querySelector(`#${selectedID} .subtabbtn`)?.click();
}
setCanvasScale();
// We hide all subpages
document.querySelectorAll('.subpage').forEach((el) => {
el.classList.remove('active');
});
// Selects the first subpage if there is one
document
.querySelector(`#${selectedID} .subpage`)
?.classList?.add('active');
document.querySelector(`#${selectedID} .subpage`)?.classList?.add('active');
}
// Here we bind all of the functions to the corresponding buttons
@@ -223,26 +405,44 @@ document.querySelectorAll('button.page-btn').forEach((el) => {
});
// mii saving business (animation jank & actual saving)
document.querySelector('#saveTab #saveButton').addEventListener('click', (e) => {
e.preventDefault();
document
.querySelector('#saveTab #saveButton')
.addEventListener('click', (e) => {
e.preventDefault();
document.querySelector('#saveTab #saveButton').classList.add('inactive', 'fade-out');
document.querySelector('.tabs').style.pointerEvents = 'none';
document.querySelector('.mii-comparison.confirmed').style.opacity = 1;
document.querySelector('#saveTab p.save-prompt').classList.add('fade-out');
document
.querySelector('#saveTab #saveButton')
.classList.add('inactive', 'fade-out');
document.querySelector('.tabs').style.pointerEvents = 'none';
document.querySelector('.mii-comparison.confirmed').style.opacity = 1;
document
.querySelector('#saveTab p.save-prompt')
.classList.add('fade-out');
setTimeout(() => {
document.querySelector('.mii-comparison.unconfirmed').style.opacity = 0;
}, 500);
setTimeout(() => {
document.querySelector(
'.mii-comparison.unconfirmed'
).style.opacity = 0;
}, 500);
setTimeout(() => {
document.querySelector('.mii-comparison.confirmed .old-mii').classList.add('fade-out');
document.querySelector('.mii-comparison.confirmed svg').classList.add('fade-out');
}, 1500);
setTimeout(() => {
document
.querySelector('.mii-comparison.confirmed .old-mii')
.classList.add('fade-out');
document
.querySelector('.mii-comparison.confirmed svg')
.classList.add('fade-out');
}, 1500);
setTimeout(() => {
document.querySelector('.mii-comparison.confirmed .new-mii-wrapper').classList.add('centered-mii-img');
}, 2000);
setTimeout(() => {
document
.querySelector('.mii-comparison.confirmed .new-mii-wrapper')
.classList.add('centered-mii-img');
}, 2000);
const miiData = mii.encode().toString('base64');
});
alert(miiData);
console.log('mii data:', miiData);
// CHECK IF MII IS VALID SERVERSIDE
});

View File

@@ -8,12 +8,16 @@ document.querySelectorAll('.feature-list-wrapper').forEach(progressListElement =
const allStartedFeatureNodes = progressListElement.querySelectorAll('.feature .ongoing');
// Use percentage override data attribute if present, else calculate
const progressPercentage = Math.round(percentageOverride) || Math.round(Math.min((allDoneFeatureNodes.length + allStartedFeatureNodes.length * 0.5) / allFeatureNodes.length * 100, 100));
const progressPercentage = Math.round(percentageOverride) || Math.round(Math.min((allDoneFeatureNodes.length + allStartedFeatureNodes.length * 0.5) / allFeatureNodes.length * 100, 100)) || 0;
const remainingPercentage = 100 - progressPercentage;
// Set inner paragraph
progressListElement.querySelectorAll('.percentage-label').forEach(p => {
p.innerText = progressPercentage.toString().padStart(2, '0') + '%';
if (progressPercentage === 0) {
p.innerText = progressPercentage.toString() + '%';
} else {
p.innerText = progressPercentage.toString().padStart(2, '0') + '%';
}
});
// Create chart

View File

@@ -1,98 +1,131 @@
const Trello = require('trello');
const { GraphQLClient, gql } = require('graphql-request');
const Stripe = require('stripe');
const got = require('got');
const config = require('../config.json');
const trello = new Trello(config.trello.api_key, config.trello.api_token);
const graphql = new GraphQLClient('https://api.github.com/graphql', {
headers: {
Authorization: `bearer ${config.github.graphql_token}`,
}
});
const stripe = new Stripe(config.stripe.secret_key);
const VALID_LIST_NAMES = ['Not Started', 'Started', 'Completed'];
let trelloCache;
const getProjectCards = gql`
fragment ItemContent on Node {
__typename
... on DraftIssue {
title
}
... on Issue {
title
}
}
fragment Itemfields on Node {
__typename
... on ProjectV2ItemFieldSingleSelectValue {
name,
field {
... on ProjectV2SingleSelectField {
name
}
}
}
}
query getProjectCards($orgName: String!) {
organization(login: $orgName) {
projectsV2(first: 100) {
nodes {
repositories(first: 1) {
nodes {
url
}
}
title
items(first: 100) {
nodes {
id
content {
...ItemContent
}
fieldValues(first: 20) {
nodes {
...Itemfields
}
}
}
}
}
}
}
}
`;
let githubProjectsCache;
let stripeDonationCache;
async function getTrelloCache() {
const available = await trelloAPIAvailable();
if (!available) {
return trelloCache || {
update_time: 0,
sections: [{
title: 'Upstream API error',
id: '',
percentage_complete: '',
progress: {
not_started: [ 'Trello API unavailable' ],
started: [],
completed: []
}
}],
};
async function getGithubProjectsCache() {
if (!githubProjectsCache) {
githubProjectsCache = await updateGithubProjectsCache();
}
if (!trelloCache) {
trelloCache = await updateTrelloCache();
if (githubProjectsCache.update_time < Date.now() - (1000 * 60 * 60)) {
githubProjectsCache = await updateGithubProjectsCache();
}
if (trelloCache.update_time < Date.now() - (1000 * 60 * 60)) {
trelloCache = await updateTrelloCache();
}
return trelloCache;
return githubProjectsCache;
}
async function updateTrelloCache() {
const progressCache = {
function getProgressField(fields) {
const found = fields.nodes.find(v => v.field?.name === 'Status');
return found?.name ?? undefined;
}
async function updateGithubProjectsCache() {
const projectsCacheData = {
update_time: Date.now(),
sections: []
};
const boards = await trello.getOrgBoards(config.trello.board_name);
const data = await graphql.request(getProjectCards, {
orgName: 'PretendoNetwork',
});
for (const board of boards) {
const meta = {
title: '',
id: '',
percentage_complete: 0,
progress: {
not_started: [],
started: [],
completed: []
}
};
const projects = data.organization.projectsV2.nodes;
meta.title = board.name;
meta.id = board.shortLink;
const lists = await trello.getListsOnBoard(board.id);
const listNames = lists.map(list => list.name);
const hasAllValidLists = listNames.every(name => VALID_LIST_NAMES.includes(name));
if (!hasAllValidLists) {
for (const project of projects) {
if (!project.repositories.nodes[0]) {
continue;
}
const cards = await trello.getCardsOnBoard(board.id);
for (const card of cards) {
const cardList = lists.find(({ id }) => id === card.idList);
const listName = cardList.name.toLowerCase().replace(' ', '_');
if (meta.progress[listName]) {
meta.progress[listName].push(card.name);
const extractedData = {
title: project.title,
url: project.repositories.nodes[0]?.url,
cards: {
done: [],
in_progress: [],
todo: []
}
};
for (const { content, fieldValues } of project.items.nodes) {
const progress = getProgressField(fieldValues);
if (!['DraftIssue'].includes(content.__typename)) {
continue; // not a supported card, skip
}
if (!progress) {
continue; // entry does not have a status, skip
}
extractedData.cards[progress.toLowerCase().replace(' ', '_')]?.push(content.title);
}
if (meta.progress.not_started.length !== 0 || meta.progress.started.length !== 0 || meta.progress.completed.length !== 0) {
progressCache.sections.push(meta);
}
projectsCacheData.sections.push(extractedData);
}
return progressCache;
}
async function trelloAPIAvailable() {
const { status } = await got('https://trello.status.atlassian.com/api/v2/status.json').json();
return status.indicator !== 'major' && status.indicator !== 'critical';
return projectsCacheData;
}
async function getStripeDonationCache() {
@@ -147,6 +180,6 @@ async function updateStripeDonationCache() {
}
module.exports = {
getTrelloCache,
getGithubProjectsCache,
getStripeDonationCache
};

View File

@@ -8,7 +8,7 @@ async function renderDataMiddleware(request, response, next) {
// Get user local
const reqLocale = request.locale;
const locale = util.getLocale(reqLocale.region, reqLocale.language);
const locale = util.getLocale(reqLocale.language, reqLocale.region);
response.locals.locale = locale;
response.locals.localeString = reqLocale.toString();
@@ -33,7 +33,7 @@ async function renderDataMiddleware(request, response, next) {
return next();
} catch (error) {
response.cookie('error_message', error.message, { domain: '.pretendo.network' });
return response.redirect('/account/login');
return response.redirect('/account/logout');
}
} else {
return next();

View File

@@ -1,16 +1,12 @@
const { Router } = require('express');
const { boards } = require('../../boards/boards.json');
const router = new Router();
const { getTrelloCache } = require('../cache');
const { getGithubProjectsCache } = require('../cache');
router.get('/', async (request, response) => {
const renderData = {};
const renderData = {
boards
};
const cache = await getTrelloCache();
const githubProjectsCache = await getGithubProjectsCache();
// Builds the arrays of people for the special thanks section
@@ -43,37 +39,37 @@ router.get('/', async (request, response) => {
percentageSum: 0
},
percent: 0,
progress: {
not_started: [],
started: [],
completed: []
cards: {
todo: [],
in_progress: [],
done: []
}
};
// Calculates individual completion percentages and progress states
cache.sections.forEach(section => {
const { not_started, started, completed } = section.progress;
githubProjectsCache.sections.forEach(section => {
const { todo, in_progress, done } = section.cards;
// Calculates the completion percentage of the project, and sums it to the total
const sectionCompletionPercentage = (completed.length + started.length * 0.5) / (completed.length + started.length + not_started.length);
const sectionCompletionPercentage = ((done.length + in_progress.length * 0.5) / (done.length + in_progress.length + todo.length)) || 0;
totalProgress._calc.percentageSum += sectionCompletionPercentage;
const sectionTitle = `${section.title} [${Math.round(sectionCompletionPercentage * 100)}%]`;
if (completed !== [] && started + not_started === []) {
// if all the section tasks have been completed, push to completed
totalProgress.progress.completed.push(sectionTitle);
} else if (not_started !== [] && started + completed === []) {
// if none the section tasks have been completed or started, push to not started
totalProgress.progress.not_started.push(sectionTitle);
if (done !== [] && in_progress + todo === []) {
// if all the section tasks have been done, push to done
totalProgress.cards.done.push(sectionTitle);
} else if (todo !== [] && in_progress + done === []) {
// if none the section tasks have been done or in_progress, push to todo
totalProgress.cards.todo.push(sectionTitle);
} else {
// for all other combos, push to started
totalProgress.progress.started.push(sectionTitle);
// for all other combos, push to in_progress
totalProgress.cards.in_progress.push(sectionTitle);
}
});
// Calculates global completion percentage
totalProgress.percent = Math.round(totalProgress._calc.percentageSum / cache.sections.length * 100);
totalProgress.percent = Math.round(totalProgress._calc.percentageSum / githubProjectsCache.sections.length * 100);
renderData.featuredFeatureList = totalProgress;

View File

@@ -1,19 +1,14 @@
const { Router } = require('express');
const { boards } = require('../../boards/boards.json');
const router = new Router();
const { getTrelloCache, getStripeDonationCache } = require('../cache');
const { getGithubProjectsCache, getStripeDonationCache } = require('../cache');
router.get('/', async (request, response) => {
const renderData = {
boards
progressLists: await getGithubProjectsCache(),
donationCache: await getStripeDonationCache()
};
const trelloCache = await getTrelloCache();
renderData.progressLists = trelloCache;
const stripeDonationCache = await getStripeDonationCache();
renderData.donationCache = stripeDonationCache;
response.render('progress', renderData);
});

View File

@@ -12,7 +12,7 @@ const database = require('./database');
const util = require('./util');
const logger = require('./logger');
const config = require('../config.json');
const defaultLocale = require('../locales/US_en.json');
const defaultLocale = require('../locales/en_US.json');
const { http: { port } } = config;
const app = express();
@@ -47,7 +47,7 @@ app.use(expressLocale({
pt: 'pt-BR',
ro: 'ro-RO',
ru: 'ru-RU',
tr: 'tr-TR',
uk: 'uk-UA',
},
allowed: [
'en', 'en-US', 'en-GB', 'en-AU', 'en-CA',
@@ -65,7 +65,7 @@ app.use(expressLocale({
'pt', 'pt-BR',
'ro', 'ro-RO',
'ru', 'ru-RU',
'tr', 'tr-TR',
'uk', 'uk-UA',
],
'default': 'en-US'
}));
@@ -136,28 +136,43 @@ app.engine('handlebars', handlebars({
neq(value1, value2) {
return value1 !== value2;
},
localeHelper(...args) {
let userLocaleString = args[0];
localeHelper(locale, propString, propVar) {
/*
* Removes the first and the last argument, and then loops through the rest to
* get the string in the user's locale. If not available, it will return it in
* the default locale.
*/
locale: the json locale object
propString: the "path" to the property to get (e.g. "faq.title")
propVar: the dynamic property name to get after the "path" (e.g. localeHelper locale "account.level" would result in )
e.g. localeHelper locale "account.test" "account.level" would result in locale.account.test[account.level]
*/
args.slice(1, -1).forEach(arg => {
userLocaleString = userLocaleString?.[arg];
});
let value = locale;
const props = propString.split('.');
if (!userLocaleString) {
let defaultLocaleString = defaultLocale;
args.slice(1, -1).forEach(arg => {
defaultLocaleString = defaultLocaleString?.[arg];
});
return defaultLocaleString;
} else {
return userLocaleString;
if ( typeof propVar === 'string' || propVar instanceof String ||
typeof propVar === 'number' || propVar instanceof Number ) {
props.push(propVar);
}
function getPropFromLocale(value, props) {
for (const p of props) {
value = value[p];
}
return value;
}
// fall back to english if the prop doesn't exist in the current locale
try {
value = getPropFromLocale(value, props);
} catch (e) {
value = defaultLocale;
try {
value = getPropFromLocale(value, props);
} catch (e) {
logger.error(`Could not find locale property ${props.join('.')}`);
}
}
return value;
}
}
}));

View File

@@ -16,16 +16,16 @@ function fullUrl(request) {
return `${request.protocol}://${request.hostname}${request.originalUrl}`;
}
function getLocale(region, language) {
const path = `${__dirname}/../locales/${region}_${language}.json`;
function getLocale(language, region) {
const path = `${__dirname}/../locales/${language}_${region}.json`;
if (fs.pathExistsSync(path)) {
return require(path);
}
logger.warn(`Could not find locale ${region}_${language}! Loading US_en`);
logger.warn(`Could not find locale ${language}_${region}! Loading en_US`);
return require(`${__dirname}/../locales/US_en.json`);
return require(`${__dirname}/../locales/en_US.json`);
}
function getRawDocs(locale, subpath, pageName) {
@@ -141,6 +141,10 @@ async function refreshLogin(request, response) {
response.cookie('refresh_token', tokens.refresh_token, { domain: '.pretendo.network' });
response.cookie('access_token', tokens.access_token, { domain: '.pretendo.network' });
response.cookie('token_type', tokens.token_type, { domain: '.pretendo.network' });
request.cookies.refresh_token = tokens.refresh_token;
request.cookies.access_token = tokens.access_token;
request.cookies.token_type = tokens.token_type;
}
async function getUserAccountData(request, response, fromRetry=false) {

View File

@@ -7,28 +7,30 @@
<div class="account-wrapper">
<div class="account-sidebar">
<div class="user">
<img src="{{account.mii.image_url}}" class="mii" />
<a href="/account/miieditor" class="mii">
<img src="{{account.mii.image_url}}" alt="Mii image" />
</a>
<p class="miiname">{{account.mii.name}}</p>
<p class="username" value="{{account.username}}">PNID: {{account.username}}</p>
{{#if tierName}}
<p class="tier-name tier-level-{{tierLevel}}" value="{{tierName}}">{{tierName}}</p>
{{else}}
{{#if (neq account.access_level -1)}}
<p class="tier-name access-level-{{account.access_level}}" value="{{ localeHelper locale "account" "accountLevel" account.access_level }}">{{ localeHelper locale "account" "accountLevel" account.access_level }}</p>
<p class="tier-name access-level-{{account.access_level}}" value="{{ localeHelper locale "account.accountLevel" account.access_level }}">{{ localeHelper locale "account.accountLevel" account.access_level }}</p>
{{else}}
<p class="tier-name access-level-banned" value="{{ localeHelper locale "account" "banned" }}">{{ localeHelper locale "account" "banned" }}</p>
<p class="tier-name access-level-banned" value="{{ localeHelper locale "account.banned" }}">{{ localeHelper locale "account.banned" }}</p>
{{/if}}
{{/if}}
</div>
<div class="buttons">
<a class="button secondary" id="download-cemu-files" href="/account/online-files" download>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-download"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>
<p class="caption">Download account files</p>
<p class="cemu-warning">(will not work on Nintendo Network)</p>
<p class="caption">{{ localeHelper locale "account.settings.downloadFiles" }}</p>
<p class="cemu-warning">{{ localeHelper locale "account.settings.downloadFilesDescription" }}</p>
</a>
<a class="button secondary" id="account-upgrade" href="/account/upgrade">
<p class="caption">Upgrade account</p>
<p class="caption">{{ localeHelper locale "account.settings.upgrade" }}</p>
</a>
</div>
</div>
@@ -36,7 +38,7 @@
<div class="settings-wrapper">
<h2 class="section-header" id="user-settings">User settings</h2>
<div class="setting-card">
<h2 class="header">Profile</h2>
<h2 class="header">{{ localeHelper locale "account.settings.settingCards.profile" }}</h2>
<a href="/account/edit/profile" class="edit">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path>
@@ -44,30 +46,30 @@
</a>
<ul class="setting-list">
<li>
<p class="label">Nickname</p>
<p class="label">{{ localeHelper locale "account.settings.settingCards.nickname" }}</p>
<p class="value">{{account.mii.name}}</p>
</li>
<li>
<p class="label">Birth date</p>
<p class="label">{{ localeHelper locale "account.settings.settingCards.birthDate" }}</p>
<p class="value">{{account.birthdate}}</p>
</li>
<li>
<p class="label">Gender</p>
<p class="label">{{ localeHelper locale "account.settings.settingCards.gender" }}</p>
<p class="value">{{account.gender}}</p>
</li>
<li>
<p class="label">Country/region</p>
<p class="label">{{ localeHelper locale "account.settings.settingCards.country" }}</p>
<p class="value">{{account.country}}</p>
</li>
<li>
<p class="label">Timezone</p>
<p class="label">{{ localeHelper locale "account.settings.settingCards.timezone" }}</p>
<p class="value">{{account.timezone.name}}</p>
</li>
</ul>
</div>
<div class="setting-card">
<h2 class="header">Server environment</h2>
<h2 class="header">{{ localeHelper locale "account.settings.settingCards.serverEnv" }}</h2>
<fieldset {{#unless isTester}}disabled{{/unless}}>
<form class="server-selection" id="server">
<input type="radio" id="prod" name="server_selection" value="prod" checked="{{ eq account.server_access_level 'prod'}}">
@@ -80,7 +82,7 @@
<polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline>
<line x1="12" y1="22.08" x2="12" y2="12"></line>
</svg>
<h2>Production</h2>
<h2>{{ localeHelper locale "account.settings.settingCards.production" }}</h2>
</label>
{{#if isTester}}
<input type="radio" id="beta" name="server_selection" value="beta" checked="{{ neq account.server_access_level 'prod'}}">
@@ -88,19 +90,19 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polygon points="2,21 22,21 14,11.5 14,5 10,3 10,11.5"></polygon>
</svg>
<h2>Beta</h2>
<h2>{{ localeHelper locale "account.settings.settingCards.beta" }}</h2>
</label>
{{/if}}
</form>
</fieldset>
{{#unless isTester}}
<p>Beta servers are exclusive to beta testers.<br>To become a beta tester, upgrade to a higher account tier.</p>
<p>{{{ localeHelper locale "account.settings.settingCards.upgradePrompt" }}}</p>
{{else}}
<p>Your current tier gives you beta server access. Cool!</p>
<p>{{ localeHelper locale "account.settings.settingCards.hasAccessPrompt" }}</p>
{{/unless}}
</div>
<h2 class="section-header" id="security">Sign in and security</h2>
<h2 class="section-header" id="security">{{ localeHelper locale "account.settings.settingCards.signInSecurity" }}</h2>
<div class="setting-card">
<h2 class="header">Account</h2>
<a href="/account/edit/login-info" class="edit">
@@ -110,19 +112,19 @@
</a>
<ul class="setting-list">
<li>
<p class="label">Email</p>
<p class="label">{{ localeHelper locale "account.settings.settingCards.email" }}</p>
<p class="value">{{account.email.address}}</p>
</li>
<li>
<p class="label">Password</p>
<p class="value">●●●●●●●●</p> <!-- Should remain hardcoded -->
<p class="label">{{ localeHelper locale "account.settings.settingCards.password" }}</p>
<p class="value">●●●●●●●●</p>
</li>
</ul>
<p>After changing your password, you will be signed out from all devices.</p>
<p>{{ localeHelper locale "account.settings.settingCards.passwordResetNotice" }}</p>
</div>
<div class="setting-card sign-in-history">
<h2 class="header">Sign in history</h2>
<h2 class="header">{{ localeHelper locale "account.settings.settingCards.signInHistory" }}</h2>
<ul class="setting-list">
{{#each account.devices }}
<li>
@@ -132,26 +134,26 @@
{{/each}}
</ul>
<a href="/account/sign-in-history">
<button class="button secondary">View full sign in history</button>
<button class="button secondary">{{ localeHelper locale "account.settings.settingCards.fullSignInHistory" }}</button>
</a>
</div>
<h2 class="section-header" id="other">Other settings</h2>
<h2 class="section-header" id="other">{{ localeHelper locale "account.settings.settingCards.otherSettings" }}</h2>
<div class="setting-card">
<h2 class="header">Discord</h2>
<h2 class="header">{{ localeHelper locale "account.settings.settingCards.discord" }}</h2>
{{#if discordUser}}
<p>Connected to Discord as {{ discordUser.username }}#{{ discordUser.discriminator }}</p>
<button class="button secondary" id="remove-discord-connection">Remove Discord account</button>
<p>{{ localeHelper locale "account.settings.settingCards.connectedToDiscord" }} {{ discordUser.username }}#{{ discordUser.discriminator }}</p>
<button class="button secondary" id="remove-discord-connection">{{ localeHelper locale "account.settings.settingCards.removeDiscord" }}</button>
{{else}}
<p>No Discord account linked. <a href="{{ discordAuthURL }}">Link Discord account here</a></p>
<p>{{ localeHelper locale "account.settings.settingCards.noDiscordLinked" }} <a href="{{ discordAuthURL }}">{{ localeHelper locale "account.settings.settingCards.linkDiscord" }}</a></p>
{{/if}}
</div>
<div class="setting-card">
<h2 class="header">Newsletter</h2>
<h2 class="header">{{ localeHelper locale "account.settings.settingCards.newsletter" }}</h2>
<form id="other">
<input type="checkbox" id="marketing" name="marketing" {{#if account.flags.marketing}}checked{{/if}}>
<label for="marketing">Receive project updates via email (you can opt-out at any time)</label>
<label for="marketing">{{ localeHelper locale "account.settings.settingCards.newsletterPrompt" }}</label>
</form>
</div>
</div>
@@ -178,12 +180,12 @@
<div class="modal-wrapper hidden" id="onlinefiles">
<div class="modal">
<h1 class="title dot">Password</h1>
<p class="modal-caption">Enter your PNID password to download Cemu files</p>
<h1 class="title dot">{{ localeHelper locale "account.settings.settingCards.password" }}</h1>
<p class="modal-caption">{{ localeHelper locale "account.settings.settingCards.passwordPrompt" }}</p>
<input name="password" id="password" type="password" required />
<div class="modal-button-wrapper">
<button class="button cancel" id="onlineFilesCloseButton">Cancel</button>
<button class="button primary confirm" id="onlineFilesConfirmButton">Confirm</button>
<button class="button cancel" id="onlineFilesCloseButton">{{ localeHelper locale "modals.cancel" }}</button>
<button class="button primary confirm" id="onlineFilesConfirmButton">{{ localeHelper locale "modals.confirm" }}</button>
</div>
</div>
</div>

View File

@@ -6,22 +6,22 @@
<div class="account-form-wrapper">
<form action="/account/login" method="post" class="account">
<h2>Sign in</h2>
<p>Enter your account details below</p>
<h2>{{ localeHelper locale "account.loginForm.login" }}</h2>
<p>{{ localeHelper locale "account.loginForm.detailsPrompt" }}</p>
<div>
<label for="username">Username</label>
<label for="username">{{ localeHelper locale "account.loginForm.username" }}</label>
<input name="username" id="username" required>
</div>
<div>
<label for="password">Password</label>
<label for="password">{{ localeHelper locale "account.loginForm.password" }}</label>
<input name="password" id="password" type="password" required>
<a href="/account/passwordreset" class="pwdreset">Forgot your password?</a>
<a href="/account/passwordreset" class="pwdreset">{{ localeHelper locale "account.loginForm.forgotPassword" }}</a>
</div>
<input name="grant_type" id="grant_type" type="hidden" value="password">
<input name="redirect" id="redirect" type="hidden" value="{{redirect}}">
<div class="buttons">
<button type="submit">Login</button>
<a href="/account/register{{#if redirect}}?redirect={{redirect}}{{/if}}" class="register">Don't have an account?</a>
<button type="submit">{{ localeHelper locale "account.loginForm.login" }}</button>
<a href="/account/register{{#if redirect}}?redirect={{redirect}}{{/if}}" class="register">{{ localeHelper locale "account.loginForm.registerPrompt" }}</a>
</div>
</form>
</div>

View File

@@ -24,8 +24,10 @@
</g>
</svg>
<div class="mii-img-wrapper">
<img id="mii-img" draggable="false" />
<div class="canvas-wrapper">
<canvas id="miiCanvas" width="512" height="1080">
Your browser does not support the canvas element.
</canvas>
</div>
<div class="params-wrapper">
@@ -37,8 +39,8 @@
<button class="tabbtn" id="noseTypeButton" style="--assetcol: 4"></button>
<button class="tabbtn" id="mouthTypeButton" style="--assetcol: 5"></button>
<button class="tabbtn" id="glassesTypeButton" style="--assetcol: 6"></button>
<button class="tabbtn" id="facialHairTypeButton"style="--assetcol: 7"></button>
<button class="tabbtn" id="moleEnableButton" style="--assetcol: 8"></button>
<button class="tabbtn" id="beardTypeButton"style="--assetcol: 7"></button>
<button class="tabbtn" id="moleEnabledButton" style="--assetcol: 8"></button>
<button class="tabbtn" id="miiscButton" style="--assetcol: 9"></button>
<button class="tabbtn" id="saveButton" style="--assetcol: 10"></button>
</div>
@@ -46,9 +48,9 @@
<div class="tab active" id="faceTypeTab">
<div class="subtabs">
<button class="subtabbtn active" id="faceTypeSubButton" style="--assetcol: 0"></button>
<button class="subtabbtn" id="faceMakeupSubButton" style="--assetcol: 1"></button>
<button class="subtabbtn" id="faceWrinklesSubButton" style="--assetcol: 2"></button>
<button class="subtabbtn" id="faceColorSubButton" style="--assetcol: 12"></button>
<button class="subtabbtn" id="makeupTypeSubButton" style="--assetcol: 1"></button>
<button class="subtabbtn" id="wrinklesTypeSubButton" style="--assetcol: 2"></button>
<button class="subtabbtn" id="skinColorSubButton" style="--assetcol: 12"></button>
</div>
<fieldset class="subtab active" id="faceType" style="--assetrow: 0">
@@ -58,32 +60,32 @@
{{/each}}
</fieldset>
<fieldset id="faceColor" class="subtab color">
<input type="radio" name="faceColor" id="faceColor0" value="0" />
<label for="faceColor0" style="background: #FFCE98 !important;" ></label>
<input type="radio" name="faceColor" id="faceColor1" value="1" />
<label for="faceColor1" style="background: #FFBA64 !important;" ></label>
<input type="radio" name="faceColor" id="faceColor2" value="2" />
<label for="faceColor2" style="background: #FF7C3E !important;" ></label>
<input type="radio" name="faceColor" id="faceColor3" value="3" />
<label for="faceColor3" style="background: #FFB184 !important;" ></label>
<input type="radio" name="faceColor" id="faceColor4" value="4" />
<label for="faceColor4" style="background: #CA5326 !important;" ></label>
<input type="radio" name="faceColor" id="faceColor5" value="5" />
<label for="faceColor5" style="background: #752E17 !important;" ></label>
<fieldset id="skinColor" class="subtab color">
<input type="radio" name="skinColor" id="skinColor0" value="0" />
<label for="skinColor0" style="background: #FFCE98 !important;" ></label>
<input type="radio" name="skinColor" id="skinColor1" value="1" />
<label for="skinColor1" style="background: #FFBA64 !important;" ></label>
<input type="radio" name="skinColor" id="skinColor2" value="2" />
<label for="skinColor2" style="background: #FF7C3E !important;" ></label>
<input type="radio" name="skinColor" id="skinColor3" value="3" />
<label for="skinColor3" style="background: #FFB184 !important;" ></label>
<input type="radio" name="skinColor" id="skinColor4" value="4" />
<label for="skinColor4" style="background: #CA5326 !important;" ></label>
<input type="radio" name="skinColor" id="skinColor5" value="5" />
<label for="skinColor5" style="background: #752E17 !important;" ></label>
</fieldset>
<fieldset id="faceMakeup" class="subtab" style="--assetrow: 1">
<fieldset id="makeupType" class="subtab" style="--assetrow: 1">
{{#each editorJSON.arrayOf12}}
<input type="radio" name="faceMakeup" id="faceMakeup{{this}}" value="{{this}}" />
<label for="faceMakeup{{this}}" style="--assetcol: {{@key}}"></label>
<input type="radio" name="makeupType" id="makeupType{{this}}" value="{{this}}" />
<label for="makeupType{{this}}" style="--assetcol: {{@key}}"></label>
{{/each}}
</fieldset>
<fieldset id="faceWrinkles" class="subtab" style="--assetrow: 2">
<fieldset id="wrinklesType" class="subtab" style="--assetrow: 2">
{{#each editorJSON.arrayOf12}}
<input type="radio" name="faceWrinkles" id="faceWrinkles{{this}}" value="{{this}}" />
<label for="faceWrinkles{{this}}" style="--assetcol: {{@key}}"></label>
<input type="radio" name="wrinklesType" id="wrinklesType{{this}}" value="{{this}}" />
<label for="wrinklesType{{this}}" style="--assetcol: {{@key}}"></label>
{{/each}}
</fieldset>
@@ -173,16 +175,16 @@
</fieldset>
<fieldset id="eyebrowPosition" class="subtab has-sliders">
<label for="eyebrowVertical" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="eyebrowVertical" id="eyebrowVertical" min="3" max="18" />
<label for="eyebrowHorizontal" style="--assetcol: 4"></label>
<input type="range" list="tickmarks" name="eyebrowHorizontal" id="eyebrowHorizontal" min="0" max="12" />
<label for="eyebrowYPosition" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="eyebrowYPosition" id="eyebrowYPosition" min="3" max="18" />
<label for="eyebrowSpacing" style="--assetcol: 4"></label>
<input type="range" list="tickmarks" name="eyebrowSpacing" id="eyebrowSpacing" min="0" max="12" />
<label for="eyebrowRotation" style="--assetcol: 5"></label>
<input type="range" list="tickmarks" class="invert" name="eyebrowRotation" id="eyebrowRotation" min="0" max="11" />
<label for="eyebrowSize" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="eyebrowSize" id="eyebrowSize" min="0" max="8" />
<label for="eyebrowStretch" style="--assetcol: 7"></label>
<input type="range" list="tickmarks" name="eyebrowStretch" id="eyebrowStretch" min="0" max="6" />
<label for="eyebrowScale" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="eyebrowScale" id="eyebrowScale" min="0" max="8" />
<label for="eyebrowVerticalStretch" style="--assetcol: 7"></label>
<input type="range" list="tickmarks" name="eyebrowVerticalStretch" id="eyebrowVerticalStretch" min="0" max="6" />
</fieldset>
<fieldset id="eyebrowColor" class="subtab color">
@@ -251,16 +253,16 @@
</fieldset>
<fieldset id="eyePosition" class="subtab has-sliders">
<label for="eyeVertical" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="eyeVertical" id="eyeVertical" min="0" max="18" />
<label for="eyeHorizontal" style="--assetcol: 4"></label>
<input type="range" list="tickmarks" name="eyeHorizontal" id="eyeHorizontal" min="0" max="12" />
<label for="eyeYPosition" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="eyeYPosition" id="eyeYPosition" min="0" max="18" />
<label for="eyeSpacing" style="--assetcol: 4"></label>
<input type="range" list="tickmarks" name="eyeSpacing" id="eyeSpacing" min="0" max="12" />
<label for="eyeRotation" style="--assetcol: 5"></label>
<input type="range" class="invert" list="tickmarks" name="eyeRotation" id="eyeRotation" min="0" max="7" />
<label for="eyeSize" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="eyeSize" id="eyeSize" min="0" max="7" />
<label for="eyeStretch" style="--assetcol: 7"></label>
<input type="range" list="tickmarks" name="eyeStretch" id="eyeStretch" min="0" max="6" />
<label for="eyeScale" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="eyeScale" id="eyeScale" min="0" max="7" />
<label for="eyeVerticalStretch" style="--assetcol: 7"></label>
<input type="range" list="tickmarks" name="eyeVerticalStretch" id="eyeVerticalStretch" min="0" max="6" />
</fieldset>
</div>
@@ -294,10 +296,10 @@
</fieldset>
<fieldset id="nosePosition" class="subtab has-sliders">
<label for="noseVertical" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="noseVertical" id="noseVertical" min="0" max="18" />
<label for="noseSize" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="noseSize" id="noseSize" min="0" max="8" />
<label for="noseYPosition" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="noseYPosition" id="noseYPosition" min="0" max="18" />
<label for="noseScale" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="noseScale" id="noseScale" min="0" max="8" />
</fieldset>
</div>
@@ -346,12 +348,12 @@
</fieldset>
<fieldset id="mouthPosition" class="subtab has-sliders">
<label for="mouthVertical" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="mouthVertical" id="mouthVertical" min="0" max="18" />
<label for="mouthSize" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="mouthSize" id="mouthSize" min="0" max="8" />
<label for="mouthStretch" style="--assetcol: 7"></label>
<input type="range" list="tickmarks" name="mouthStretch" id="mouthStretch" min="0" max="6" />
<label for="mouthYPosition" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="mouthYPosition" id="mouthYPosition" min="0" max="18" />
<label for="mouthScale" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="mouthScale" id="mouthScale" min="0" max="8" />
<label for="mouthHorizontalStretch" style="--assetcol: 7"></label>
<input type="range" list="tickmarks" name="mouthHorizontalStretch" id="mouthHorizontalStretch" min="0" max="6" />
</fieldset>
</div>
@@ -384,25 +386,25 @@
</fieldset>
<fieldset id="glassesPosition" class="subtab has-sliders">
<label for="glassesVertical" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="glassesVertical" id="glassesVertical" min="0" max="20" />
<label for="glassesSize" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="glassesSize" id="glassesSize" min="0" max="7" />
<label for="glassesYPosition" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="glassesYPosition" id="glassesYPosition" min="0" max="20" />
<label for="glassesScale" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="glassesScale" id="glassesScale" min="0" max="7" />
</fieldset>
</div>
<div class="tab" id="facialHairTypeTab">
<div class="tab" id="beardTypeTab">
<div class="subtabs">
<button class="subtabbtn active" id="facialHairTypeSubButton" style="--assetcol: 8"></button>
<button class="subtabbtn" id="facialHairMustacheSubButton" style="--assetcol: 9"></button>
<button class="subtabbtn active" id="beardTypeSubButton" style="--assetcol: 8"></button>
<button class="subtabbtn" id="mustacheTypeSubButton" style="--assetcol: 9"></button>
<button class="subtabbtn" id="facialHairPositionSubButton" style="--assetcol: 13"></button>
<button class="subtabbtn" id="facialHairColorSubButton" style="--assetcol: 12"></button>
</div>
<fieldset id="facialHairType" class="subtab active" style="--assetrow: 9">
<fieldset id="beardType" class="subtab active" style="--assetrow: 9">
{{#each editorJSON.arrayOf6}}
<input type="radio" name="facialHairType" id="facialHairType{{this}}" value="{{this}}" />
<label for="facialHairType{{this}}" style="--assetcol: {{@key}}"></label>
<input type="radio" name="beardType" id="beardType{{this}}" value="{{this}}" />
<label for="beardType{{this}}" style="--assetcol: {{@key}}"></label>
{{/each}}
</fieldset>
@@ -425,40 +427,40 @@
<label for="facialHairColor7" style="background: #FEB454 !important;" ></label>
</fieldset>
<fieldset id="facialHairMustache" class="subtab active" style="--assetrow: 10">
<fieldset id="mustacheType" class="subtab active" style="--assetrow: 10">
{{#each editorJSON.arrayOf6}}
<input type="radio" name="facialHairMustache" id="facialHairMustache{{this}}" value="{{this}}" />
<label for="facialHairMustache{{this}}" style="--assetcol: {{@key}}"></label>
<input type="radio" name="mustacheType" id="mustacheType{{this}}" value="{{this}}" />
<label for="mustacheType{{this}}" style="--assetcol: {{@key}}"></label>
{{/each}}
</fieldset>
<fieldset id="facialHairPosition" class="subtab has-sliders">
<label for="facialHairVertical" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="facialHairVertical" id="facialHairVertical" min="0" max="16" />
<label for="facialHairSize" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="facialHairSize" id="facialHairSize" min="0" max="8" />
<label for="mustacheYPosition" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="mustacheYPosition" id="mustacheYPosition" min="0" max="16" />
<label for="mustacheScale" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="mustacheScale" id="mustacheScale" min="0" max="8" />
</fieldset>
</div>
<div class="tab" id="moleEnableTab">
<div class="tab" id="moleEnabledTab">
<div class="subtabs">
<button class="subtabbtn active" id="moleEnableSubButton" style="--assetcol: 10"></button>
<button class="subtabbtn active" id="moleEnabledSubButton" style="--assetcol: 10"></button>
<button class="subtabbtn" id="molePositionSubButton" style="--assetcol: 13"></button>
</div>
<fieldset id="moleEnable" class="subtab active" style="--assetrow: 11">
<input type="radio" name="moleEnable" id="moleEnable0" value="0" />
<label for="moleEnable0" style="--assetcol: 0"></label>
<input type="radio" name="moleEnable" id="moleEnable1" value="1" />
<label for="moleEnable1" style="--assetcol: 1"></label>
<fieldset id="moleEnabled" class="subtab active" style="--assetrow: 11">
<input type="radio" name="moleEnabled" id="moleEnabledfalse" value="false" />
<label for="moleEnabledfalse" style="--assetcol: 0"></label>
<input type="radio" name="moleEnabled" id="moleEnabledtrue" value="true" />
<label for="moleEnabledtrue" style="--assetcol: 1"></label>
</fieldset>
<fieldset id="molePosition" class="subtab has-sliders">
<label for="moleVertical" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="moleVertical" id="moleVertical" min="0" max="30" />
<label for="moleHorizontal" style="--assetcol: 3"></label>
<input type="range" list="tickmarks" name="moleHorizontal" id="moleHorizontal" min="0" max="16" />
<label for="moleSize" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="moleSize" id="moleSize" min="0" max="8" />
<label for="moleYPosition" style="--assetcol: 2"></label>
<input type="range" list="tickmarks" class="invert" name="moleYPosition" id="moleYPosition" min="0" max="30" />
<label for="moleXPosition" style="--assetcol: 3"></label>
<input type="range" list="tickmarks" name="moleXPosition" id="moleXPosition" min="0" max="16" />
<label for="moleScale" style="--assetcol: 6"></label>
<input type="range" list="tickmarks" name="moleScale" id="moleScale" min="0" max="8" />
</fieldset>
</div>
@@ -467,6 +469,7 @@
<button class="subtabbtn active" id="sizeSubButton" style="--assetcol: 14"></button>
<button class="subtabbtn" id="genderSubButton" style="--assetcol: 11"></button>
<button class="subtabbtn" id="favoriteColorSubButton" style="--assetcol: 12"></button>
<button class="subtabbtn" id="infoSubButton" style="--assetcol: 15"></button>
</div>
<fieldset id="size" class="subtab active has-sliders">
@@ -483,6 +486,35 @@
<label for="gender1" style="--assetcol: 1"></label>
</fieldset>
<fieldset id="info" class="subtab active has-textinput">
<div>
<label for="miiName">Nickname</label>
<input type="text" name="miiName" id="miiName" minLength="1" maxLength="10" />
</div>
<div>
<label for="creatorName">Creator</label>
<input type="text" name="creatorName" id="creatorName" minLength="1" maxLength="10" />
</div>
<div>
<label for="birthDate">Birthday</label>
<input type="date" name="birthDate" id="birthDate" min="2024-01-01" max="2024-12-31"/>
</div>
<div class="icons">
<div>
<label for="favorite">Favorite</label>
<input type="checkbox" name="favorite" id="favorite" />
</div>
<div>
<label for="disableSharing">Sharing</label>
<input type="checkbox" name="disableSharing" id="disableSharing" />
</div>
<div>
<label for="allowCopying">Copying</label>
<input type="checkbox" name="allowCopying" id="allowCopying" />
</div>
</div>
</fieldset>
<fieldset id="favoriteColor" class="subtab">
<input type="radio" name="favoriteColor" id="favoriteColor0" value="0" />
<label for="favoriteColor0" style="background: #FF2216 !important;" ></label>

View File

@@ -7,33 +7,33 @@
<div class="account-form-wrapper">
<form action="/account/register" method="post" class="account register">
<h2>Register</h2>
<p>Enter your account details below</p>
<h2>{{ localeHelper locale "account.loginForm.register" }}</h2>
<p>{{ localeHelper locale "account.loginForm.detailsPrompt" }}</p>
<div class="email">
<label for="email">Email</label>
<label for="email">{{ localeHelper locale "account.loginForm.email" }}</label>
<input name="email" id="email" type="email" value="{{ email }}" required>
</div>
<div>
<label for="username">Username</label>
<label for="username">{{ localeHelper locale "account.loginForm.username" }}</label>
<input name="username" id="username" value="{{ username }}" minlength=6 maxlength=16 required>
</div>
<div>
<label for="mii_name">Mii Name (Max 10 characters)</label>
<label for="mii_name">{{ localeHelper locale "account.loginForm.miiName" }}</label>
<input name="mii_name" id="mii_name" value="{{ mii_name }}" maxlength=10 required>
</div>
<div>
<label for="password">Password</label>
<label for="password">{{ localeHelper locale "account.loginForm.password" }}</label>
<input name="password" id="password" type="password" autocomplete="new-password" required>
</div>
<div>
<label for="password_confirm">Confirm Password</label>
<label for="password_confirm">{{ localeHelper locale "account.loginForm.confirmPassword" }}</label>
<input name="password_confirm" id="password_confirm" type="password" autocomplete="new-password" required>
</div>
<div class="h-captcha" data-sitekey="cf3fd74e-93ca-47e6-9fa0-5fc439de06d4"></div>
<input name="redirect" id="redirect" type="hidden" value="{{redirect}}">
<div class="buttons">
<button type="submit">Register</button>
<a href="/account/login{{#if redirect}}?redirect={{redirect}}{{/if}}" class="register">Already have an account?</a>
<button type="submit">{{ localeHelper locale "account.loginForm.register" }}</button>
<a href="/account/login{{#if redirect}}?redirect={{redirect}}{{/if}}" class="register">{{ localeHelper locale "account.loginForm.loginPrompt" }}</a>
</div>
</form>
</div>

View File

@@ -2,7 +2,7 @@
<div class="wrapper">
<a href="/account" class="back-arrow">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>
<span>Back</span>
<span>{{ localeHelper locale "upgrade.back" }}</span>
</a>
<div class="account-form-wrapper">
@@ -31,17 +31,15 @@
</svg>
</a>
<h1 class="title dot">Upgrade</h1>
<p class="caption">
Reaching the monthly goal will make Pretendo a full time job, providing better quality updates at a faster rate.
</p>
<h1 class="title dot">{{ localeHelper locale "upgrade.title" }}</h1>
<p class="caption">{{ localeHelper locale "upgrade.description" }}</p>
<div class="progress-bar-wrapper">
<div class="progress-bar">
<div class="progress-bar-inner" style="width: {{ donationCache.completed_capped }}%;" ></div>
</div>
<p>
<span>${{donationCache.total_dollars}}</span> of <span>${{donationCache.goal_dollars}}</span>/month, <span>${{donationCache.completed_real}}%</span> of the monthly goal.
<p class="localeReplace">
{{{ localeHelper locale "donation.progress" }}}
</p>
</div>
<form method="post" data-current-tier="{{currentTier}}">
@@ -64,41 +62,49 @@
</div>
</div>
<p class="price">
<span>{{this.price}}</span> / month
<span>{{this.price}}</span> / {{ localeHelper locale "upgrade.month" }}
</p>
</label>
{{/each}}
<div class="button-wrapper">
<button class="disabled" type="submit" id="submitButton">Select a tier</button>
<button class="unsubscribe hidden" id="unsubModalShowButton">Unsubscribe</button>
<button class="disabled" type="submit" id="submitButton">{{ localeHelper locale "upgrade.tierSelectPrompt" }}</button>
<button class="unsubscribe hidden" id="unsubModalShowButton">{{ localeHelper locale "upgrade.unsub" }}</button>
</div>
</form>
</div>
<div class="modal-wrapper hidden" id="unsub">
<div class="modal">
<h1 class="title dot">Unsubscribe</h1>
<p class="modal-caption">Are you sure you want to unsubscribe from <span>tiername</span>?
You will lose access to the perks associated with that tier.</p>
<h1 class="title dot">{{ localeHelper locale "upgrade.unsub" }}</h1>
<p class="modal-caption">{{{ localeHelper locale "upgrade.unsubPrompt" }}}</p>
<div class="modal-button-wrapper">
<button class="button cancel" id="unsubModalCloseButton">Cancel</button>
<button class="button primary confirm" id="unsubModalConfirmButton">Unsubscribe</button>
<button class="button cancel" id="unsubModalCloseButton">{{ localeHelper locale "modals.cancel" }}</button>
<button class="button primary confirm" id="unsubModalConfirmButton">{{ localeHelper locale "upgrade.unsubConfirm" }}</button>
</div>
</div>
</div>
<div class="modal-wrapper hidden" id="switchtier">
<div class="modal">
<h1 class="title dot">Change tier</h1>
<p class="modal-caption">Are you sure you want to unsubscribe
from <span class="oldtier">oldtiername</span> and subscribe to <span class="newtier">newtiername</span>?</p>
<h1 class="title dot">{{ localeHelper locale "upgrade.changeTier" }}</h1>
<p class="modal-caption">{{{ localeHelper locale "upgrade.changeTierConfirm" }}}</p>
<div class="modal-button-wrapper">
<button class="button cancel" id="switchTierCloseButton">Cancel</button>
<button class="button primary confirm" id="switchTierConfirmButton">Confirm</button>
<button class="button cancel" id="switchTierCloseButton">{{ localeHelper locale "modals.cancel" }}</button>
<button class="button primary confirm" id="switchTierConfirmButton">{{ localeHelper locale "modals.confirm" }}</button>
</div>
</div>
</div>
</div>
<script>
/* this jank is needed to have data mixed in with a localized string */
document.querySelector('.localeReplace').innerHTML = document.querySelector('.localeReplace').innerHTML
.replace('${totd}', '{{donationCache.total_dollars}}');
document.querySelector('.localeReplace').innerHTML = document.querySelector('.localeReplace').innerHTML
.replace('${goald}', '{{donationCache.goal_dollars}}');
document.querySelector('.localeReplace').innerHTML = document.querySelector('.localeReplace').innerHTML
.replace('${perc}', '{{donationCache.completed_real}}');
</script>
<script src="/assets/js/upgrade.js" />

View File

@@ -7,8 +7,8 @@
<div class="progress-hero">
<div class="hero-meta reduced-margin">
<svg xmlns="http://www.w3.org/2000/svg" width="48.87" height="71.093" viewBox="0 0 48.87 71.093"><g id="XMLID_6_" transform="translate(0)"><path id="XMLID_15_" d="M69.581,29.593c-2.029,1.068-.249,4.129,1.78,3.061,5.162-2.67,11.463-2.6,16.981-1.1,4.735,1.282,9.5,3.845,12.246,8.045,1.246,1.922,4.307.142,3.061-1.78C96.921,27.386,80.3,24.04,69.581,29.593Z" transform="translate(-60.112 -20.086)" fill="#9d6ff3"/><path id="XMLID_14_" d="M103.359,21.045c-3.951-6.159-10.751-10-17.657-11.89C77.763,6.948,68.721,7.019,61.281,10.9c-2.029,1.068-.249,4.129,1.78,3.061,6.586-3.453,14.667-3.311,21.644-1.388,5.981,1.638,12.1,4.913,15.521,10.252C101.507,24.783,104.569,23,103.359,21.045Z" transform="translate(-54.766 -7.693)" fill="#9d6ff3"/><path id="XMLID_9_" d="M65.995,47.8a20.7,20.7,0,0,0-12.958,4.45H47.27a2.579,2.579,0,0,0-2.67,2.456v47.239a2.763,2.763,0,0,0,2.67,2.67h5.838a2.639,2.639,0,0,0,2.528-2.67V87.564A21.228,21.228,0,1,0,65.995,47.8Zm0,33.178a12,12,0,1,1,12-12A12,12,0,0,1,65.995,80.978Z" transform="translate(-44.6 -33.522)" fill="#9d6ff3"/></g></svg>
<h1 class="title dot">{{ localeHelper locale "blogPage" "title" }}</h1>
<p class="text">{{{ localeHelper locale "blogPage" "description" }}}</p>
<h1 class="title dot">{{ localeHelper locale "blogPage.title" }}</h1>
<p class="text">{{{ localeHelper locale "blogPage.description" }}}</p>
</div>
</div>
@@ -18,12 +18,12 @@
<h2 class="title">{{{ this.postInfo.title }}}</h2>
<p class="caption">{{{ this.postInfo.caption }}}</p>
<div class="pub-info">
<span>Published by</span>
<span>{{ localeHelper ../locale "blogPage.published" }}</span>
<div class="profile">
<img class="profile-picture" src="{{ this.postInfo.author_image }}" alt>
<span>{{{ this.postInfo.author }}}</span>
</div>
<span>on
<span>{{ localeHelper ../locale "blogPage.publishedOn" }}
<span class="date">{{{ this.postInfo.date }}}</span>
</span>
</div>

View File

@@ -9,12 +9,12 @@
<h1 class="title">{{{ postInfo.title }}}</h1>
<div class="pub-info">
<span>Published by</span>
<span>{{ localeHelper locale "blogPage.published" }}</span>
<div class="profile">
<img class="profile-picture" src="{{ postInfo.author_image }}" alt="{{ postInfo.author }}">
<span>{{{ postInfo.author }}}</span>
</div>
<span>on
<span>{{ localeHelper locale "blogPage.publishedOn" }}
<span class="date">{{{ postInfo.date }}}</span>
</span>
</div>

View File

@@ -46,7 +46,7 @@
</div>
{{#if missingInLocale}}
<p class="missing-in-locale-notice">{{ localeHelper locale "docs" "missingInLocale" }}</p>
<p class="missing-in-locale-notice">{{ localeHelper locale "docs.missingInLocale" }}</p>
{{/if}}
{{{ content }}}

View File

@@ -5,15 +5,15 @@
<section class="hero">
<div class="hero-meta">
<h3 class="subtitle">{{ localeHelper locale "hero" "subtitle" }}</h3>
<h1 class="title dot" {{#if locale.hero.titleSuffix}}data-title-suffix="{{locale.hero.titleSuffix}}"{{/if}}>{{ localeHelper locale "hero" "title" }}</h1>
<h3 class="subtitle">{{ localeHelper locale "hero.subtitle" }}</h3>
<h1 class="title dot" {{#if locale.hero.titleSuffix}}data-title-suffix="{{locale.hero.titleSuffix}}"{{/if}}>{{ localeHelper locale "hero.title" }}</h1>
<p class="text">
{{ localeHelper locale "hero" "text" }}
{{ localeHelper locale "hero.text" }}
</p>
<div class="buttons">
<a href="/#about" class="do-button-margin">
<button class="button primary">
{{ localeHelper locale "hero" "buttons" "readMore" }}
{{ localeHelper locale "hero.buttons.readMore" }}
</button>
</a>
<a href="https://invite.gg/pretendo" class="do-button-margin" target="_blank">
@@ -75,7 +75,7 @@
<section class="progress column-2">
<div class="left sect">
<div class="left-meta">
<h2 class="dot title" id="about" {{#if locale.aboutUs.titleSuffix}}data-title-suffix="{{locale.aboutUs.titleSuffix}}"{{/if}}>{{ localeHelper locale "aboutUs" "title" }}</h2>
<h2 class="dot title" id="about" {{#if locale.aboutUs.titleSuffix}}data-title-suffix="{{locale.aboutUs.titleSuffix}}"{{/if}}>{{ localeHelper locale "aboutUs.title" }}</h2>
{{#each locale.aboutUs.paragraphs}}
<p class="text">{{ this }}</p>
{{/each}}
@@ -83,16 +83,16 @@
</div>
<div class="right sect">
<h2 class="title">
<a href="/progress">{{ localeHelper locale "progress" "title" }}</a>
<a href="/progress">{{ localeHelper locale "progress.title" }}</a>
</h2>
{{> progress-list data=featuredFeatureList purple=true boards=boards }}
{{> progress-list data=featuredFeatureList purple=true }}
</div>
</section>
<section class="faq">
<div class="sect-top sect">
<h2 class="dot title" id="faq" {{#if locale.faq.titleSuffix}}data-title-suffix="{{locale.faq.titleSuffix}}"{{/if}}>{{ localeHelper locale "faq" "title" }}</h2>
<p class="text">{{ localeHelper locale "faq" "text" }}</p>
<h2 class="dot title" id="faq" {{#if locale.faq.titleSuffix}}data-title-suffix="{{locale.faq.titleSuffix}}"{{/if}}>{{ localeHelper locale "faq.title" }}</h2>
<p class="text">{{ localeHelper locale "faq.text" }}</p>
</div>
<div class="questions column-2">
{{#doFaq locale.faq.QAs}}
@@ -110,32 +110,32 @@
<section class="showcase">
<div class="sect-top sect">
<h2 class="dot title" id="showcase" {{#if locale.showcase.titleSuffix}}data-title-suffix="{{locale.showcase.titleSuffix}}"{{/if}}>{{ localeHelper locale "showcase" "title" }}</h2>
<p class="text">{{ localeHelper locale "showcase" "text" }}</p>
<h2 class="dot title" id="showcase" {{#if locale.showcase.titleSuffix}}data-title-suffix="{{locale.showcase.titleSuffix}}"{{/if}}>{{ localeHelper locale "showcase.title" }}</h2>
<p class="text">{{ localeHelper locale "showcase.text" }}</p>
</div>
<div class="grid">
<div class="item highlight">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="server" class="svg-inline--fa fa-server fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M480 160H32c-17.673 0-32-14.327-32-32V64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z"></path></svg>
<h1>{{ localeHelper locale "showcase" "cards" 0 "title" }}</h1>
<p>{{ localeHelper locale "showcase" "cards" 0 "caption" }}</p>
<h1>{{ localeHelper locale "showcase.cards.0.title" }}</h1>
<p>{{ localeHelper locale "showcase.cards.0.caption" }}</p>
</div>
<div class="item">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="users" class="svg-inline--fa fa-users fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"></path></svg>
<h1>{{ localeHelper locale "showcase" "cards" 1 "title" }}</h1>
<p>{{ localeHelper locale "showcase" "cards" 1 "caption" }}</p>
<h1>{{ localeHelper locale "showcase.cards.1.title" }}</h1>
<p>{{ localeHelper locale "showcase.cards.1.caption" }}</p>
</div>
<div class="item">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="gamepad" class="svg-inline--fa fa-gamepad fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M480.07 96H160a160 160 0 1 0 114.24 272h91.52A160 160 0 1 0 480.07 96zM248 268a12 12 0 0 1-12 12h-52v52a12 12 0 0 1-12 12h-24a12 12 0 0 1-12-12v-52H84a12 12 0 0 1-12-12v-24a12 12 0 0 1 12-12h52v-52a12 12 0 0 1 12-12h24a12 12 0 0 1 12 12v52h52a12 12 0 0 1 12 12zm216 76a40 40 0 1 1 40-40 40 40 0 0 1-40 40zm64-96a40 40 0 1 1 40-40 40 40 0 0 1-40 40z"></path></svg>
<h1>{{ localeHelper locale "showcase" "cards" 2 "title" }}</h1>
<p>{{ localeHelper locale "showcase" "cards" 2 "caption" }}</p>
<h1>{{ localeHelper locale "showcase.cards.2.title" }}</h1>
<p>{{ localeHelper locale "showcase.cards.2.caption" }}</p>
</div>
</div>
</section>
<section class="team">
<div class="sect-top sect team-top">
<h2 class="dot title" id="credits" {{#if locale.credits.titleSuffix}}data-title-suffix="{{locale.credits.titleSuffix}}"{{/if}}>{{ localeHelper locale "credits" "title" }}</h2>
<p class="text">{{ localeHelper locale "credits" "text" }}</p>
<h2 class="dot title" id="credits" {{#if locale.credits.titleSuffix}}data-title-suffix="{{locale.credits.titleSuffix}}"{{/if}}>{{ localeHelper locale "credits.title" }}</h2>
<p class="text">{{ localeHelper locale "credits.text" }}</p>
</div>
<div class="team-cards">
{{#each locale.credits.people}}
@@ -160,8 +160,8 @@
<section class="team-helpers">
<div class="sect-top sect">
<h2 class="dot title" id="special-thanks" {{#if locale.specialThanks.titleSuffix}}data-title-suffix="{{locale.specialThanks.titleSuffix}}"{{/if}}>{{ localeHelper locale "specialThanks" "title" }}</h2>
<p class="text">{{ localeHelper locale "specialThanks" "text" }}</p>
<h2 class="dot title" id="special-thanks" {{#if locale.specialThanks.titleSuffix}}data-title-suffix="{{locale.specialThanks.titleSuffix}}"{{/if}}>{{ localeHelper locale "specialThanks.title" }}</h2>
<p class="text">{{ localeHelper locale "specialThanks.text" }}</p>
</div>
<div class="animation-wrapper">
<div class="row-wrapper">
@@ -198,12 +198,12 @@
<section class="update-signup">
<div class="sect hero-meta reduced-margin">
<svg xmlns="http://www.w3.org/2000/svg" width="48.87" height="71.093" viewBox="0 0 48.87 71.093"><g id="XMLID_6_" transform="translate(0)"><path id="XMLID_15_" d="M69.581,29.593c-2.029,1.068-.249,4.129,1.78,3.061,5.162-2.67,11.463-2.6,16.981-1.1,4.735,1.282,9.5,3.845,12.246,8.045,1.246,1.922,4.307.142,3.061-1.78C96.921,27.386,80.3,24.04,69.581,29.593Z" transform="translate(-60.112 -20.086)" fill="#9d6ff3"/><path id="XMLID_14_" d="M103.359,21.045c-3.951-6.159-10.751-10-17.657-11.89C77.763,6.948,68.721,7.019,61.281,10.9c-2.029,1.068-.249,4.129,1.78,3.061,6.586-3.453,14.667-3.311,21.644-1.388,5.981,1.638,12.1,4.913,15.521,10.252C101.507,24.783,104.569,23,103.359,21.045Z" transform="translate(-54.766 -7.693)" fill="#9d6ff3"/><path id="XMLID_9_" d="M65.995,47.8a20.7,20.7,0,0,0-12.958,4.45H47.27a2.579,2.579,0,0,0-2.67,2.456v47.239a2.763,2.763,0,0,0,2.67,2.67h5.838a2.639,2.639,0,0,0,2.528-2.67V87.564A21.228,21.228,0,1,0,65.995,47.8Zm0,33.178a12,12,0,1,1,12-12A12,12,0,0,1,65.995,80.978Z" transform="translate(-44.6 -33.522)" fill="#9d6ff3"/></g></svg>
<h2 class="dot title" id="discord-join" {{#if locale.discordJoin.titleSuffix}}data-title-suffix="{{locale.discordJoin.titleSuffix}}"{{/if}}>{{ localeHelper locale "discordJoin" "title" }}</h2>
<p class="text">{{ localeHelper locale "discordJoin" "text" }}</p>
<h2 class="dot title" id="discord-join" {{#if locale.discordJoin.titleSuffix}}data-title-suffix="{{locale.discordJoin.titleSuffix}}"{{/if}}>{{ localeHelper locale "discordJoin.title" }}</h2>
<p class="text">{{ localeHelper locale "discordJoin.text" }}</p>
</div>
<div class="floating-serverjoin">
<p>{{ localeHelper locale "discordJoin" "widget" "text" }}</p>
<a href="https://invite.gg/pretendo" target="_blank">{{ localeHelper locale "discordJoin" "widget" "button" }}</a>
<p>{{ localeHelper locale "discordJoin.widget.text" }}</p>
<a href="https://invite.gg/pretendo" target="_blank">{{ localeHelper locale "discordJoin.widget.button" }}</a>
</div>
<div class="circle"></div>
</section>

View File

@@ -6,17 +6,17 @@
<div class="localization-wrapper">
<div class="localization-widget">
<h1 class="title dot">{{ localeHelper locale "localizationPage" "title" }}</h1>
<p class="caption">{{ localeHelper locale "localizationPage" "description" }}</p>
<h1 class="title dot">{{ localeHelper locale "localizationPage.title" }}</h1>
<p class="caption">{{ localeHelper locale "localizationPage.description" }}</p>
<a href="https://github.com/PretendoNetwork/Pretendo/blob/master/CONTRIBUTING.md#localization" target="_blank" class="localization-instr">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="var(--accent-shade-2)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>
{{ localeHelper locale "localizationPage" "instructions" }}
{{ localeHelper locale "localizationPage.instructions" }}
</a>
<form class="localization-form" autocomplete="off">
<label for="url">{{ localeHelper locale "localizationPage" "fileInput" }}</label>
<label for="url">{{ localeHelper locale "localizationPage.fileInput" }}</label>
<div class="input-wrapper">
<input type="url" id="url" placeholder="{{ localeHelper locale "localizationPage" "filePlaceholder" }}" required />
<button type="submit" class="submit-btn">{{ localeHelper locale "localizationPage" "button" }}</button>
<input type="url" id="url" placeholder="{{ localeHelper locale "localizationPage.filePlaceholder" }}" required />
<button type="submit" class="submit-btn">{{ localeHelper locale "localizationPage.button" }}</button>
</div>
</form>
</div>

View File

@@ -28,28 +28,28 @@
<p>Site by <a href="https://mrjvs.com/" target="_blank">mrjvs</a>, <a href="https://jipfr.nl/" target="_blank">jipfr</a> & <a href="https://ashm.dev/" target="_blank">monty</a></p>
</div>
<div>
<h1>{{ localeHelper locale "footer" "socials" }}</h1>
<h1>{{ localeHelper locale "footer.socials" }}</h1>
<a href="https://twitter.com/PretendoNetwork/" target="_blank">Twitter</a>
<a href="https://invite.gg/pretendo" target="_blank">Discord</a>
<a href="https://github.com/PretendoNetwork" target="_blank">GitHub</a>
</div>
<div>
<h1>{{ localeHelper locale "footer" "usefulLinks" }}</h1>
<a style="display: none;" href="/docs">{{ localeHelper locale "nav" "docs" }}</a>
<a href="/#faq">{{ localeHelper locale "nav" "faq" }}</a>
<a href="/progress">{{ localeHelper locale "nav" "progress" }}</a>
<a href="/blog">{{ localeHelper locale "nav" "blog" }}</a>
<a href="/account">{{ localeHelper locale "nav" "account" }}</a>
<h1>{{ localeHelper locale "footer.usefulLinks" }}</h1>
<a style="display: none;" href="/docs">{{ localeHelper locale "nav.docs" }}</a>
<a href="/#faq">{{ localeHelper locale "nav.faq" }}</a>
<a href="/progress">{{ localeHelper locale "nav.progress" }}</a>
<a href="/blog">{{ localeHelper locale "nav.blog" }}</a>
<a href="/account">{{ localeHelper locale "nav.account" }}</a>
</div>
<div class="discord-server-card">
<h1>{{ localeHelper locale "footer" "widget" "captions" 0 }}</h1>
<h2>{{ localeHelper locale "footer" "widget" "captions" 1 }}</h2>
<h1>{{ localeHelper locale "footer.widget.captions.0" }}</h1>
<h2>{{ localeHelper locale "footer.widget.captions.1" }}</h2>
<a href="https://invite.gg/pretendo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right">
<line x1="5" y1="12" x2="19" y2="12"></line>
<polyline points="12 5 19 12 12 19"></polyline>
</svg>
{{ localeHelper locale "footer" "widget" "button" }}
{{ localeHelper locale "footer.widget.button" }}
</a>
</div>
</footer>

View File

@@ -27,12 +27,12 @@
</a>
<nav>
<a href="/#about">{{ localeHelper locale "nav" "about" }}</a>
<a href="/#faq">{{ localeHelper locale "nav" "faq" }}</a>
<a href="/#credits">{{ localeHelper locale "nav" "credits" }}</a>
<a style="display: none;" href="/docs">{{ localeHelper locale "nav" "docs"}}</a>
<a href="/progress" class="keep-on-mobile">{{ localeHelper locale "nav" "progress"}}</a>
<a href="/blog" class="keep-on-mobile">{{ localeHelper locale "nav" "blog" }}</a>
<a href="/#about">{{ localeHelper locale "nav.about" }}</a>
<a href="/#faq">{{ localeHelper locale "nav.faq" }}</a>
<a href="/#credits">{{ localeHelper locale "nav.credits" }}</a>
<a style="display: none;" href="/docs">{{ localeHelper locale "nav.docs"}}</a>
<a href="/progress" class="keep-on-mobile">{{ localeHelper locale "nav.progress"}}</a>
<a href="/blog" class="keep-on-mobile">{{ localeHelper locale "nav.blog" }}</a>
</nav>
<div class="right-section">
@@ -99,18 +99,18 @@
<div class="item"><span class="locale-names">Română</span></div>
</label>
</div>
<div class="option">
<input type="radio" class="radio" id="tr-TR" name="category" />
<label for="tr-TR">
<div class="item"><span class="locale-names">Türkçe</span></div>
</label>
</div>
<div class="option">
<input type="radio" class="radio" id="ru-RU" name="category" />
<label for="ru-RU">
<div class="item"><span class="locale-names">Pусский</span></div>
</label>
</div>
<div class="option">
<input type="radio" class="radio" id="uk-UA" name="category" />
<label for="uk-UA">
<div class="item"><span class="locale-names">Yкраї́нська</span></div>
</label>
</div>
<div class="option">
<input type="radio" class="radio" id="ar-AR" name="category" />
<label for="ar-AR">
@@ -155,12 +155,12 @@
<div class="buttons">
<a href="/account">
<button class="button primary">
Settings
{{ localeHelper locale "nav.accountWidget.settings" }}
</button>
</a>
<a href="/account/logout">
<button class="button logout">
Logout
{{ localeHelper locale "nav.accountWidget.logout" }}
</button>
</a>
</div>

View File

@@ -10,19 +10,15 @@
<div class="core">
{{#if data.title}}<div class="progress-title">
<h3>{{ data.title }}</h3>
{{#if data.id}}{{#if (lookup boards data.id)}}{{#with (lookup boards data.id) as | board |}}
{{#each board.github_links}}
<div>
<a href="{{this.url}}" class="github" target="_blank">
<svg data-prefix="fab" data-icon="github" class="svg-inline--fa fa-github fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg>
<span>{{this.display}}</span>
</a>
</div>
{{/each}}
{{/with}}{{/if}}{{/if}}
<div>
<a href="{{this.url}}" class="github" target="_blank">
<svg data-prefix="fab" data-icon="github" class="svg-inline--fa fa-github fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg>
<span>{{ localeHelper locale "progress.githubRepo" }}</span>
</a>
</div>
</div>{{/if}}
<div class="feature-list">
{{#each data.progress.completed}}
{{#each data.cards.done}}
<div class="feature">
<div class="custom-checkbox done">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
@@ -34,7 +30,7 @@
</div>
{{/each}}
{{#each data.progress.started}}
{{#each data.cards.in_progress}}
<div class="feature">
<div class="custom-checkbox ongoing">
<div class="small-dot"></div>
@@ -43,7 +39,7 @@
</div>
{{/each}}
{{#each data.progress.not_started}}
{{#each data.cards.todo}}
<div class="feature">
<div class="custom-checkbox incomplete"></div>
<span>{{ this }}</span>

View File

@@ -5,25 +5,23 @@
<div class="progress-hero">
<div class="hero-meta reduced-margin">
<svg xmlns="http://www.w3.org/2000/svg" width="48.87" height="71.093" viewBox="0 0 48.87 71.093"><g id="XMLID_6_" transform="translate(0)"><path id="XMLID_15_" d="M69.581,29.593c-2.029,1.068-.249,4.129,1.78,3.061,5.162-2.67,11.463-2.6,16.981-1.1,4.735,1.282,9.5,3.845,12.246,8.045,1.246,1.922,4.307.142,3.061-1.78C96.921,27.386,80.3,24.04,69.581,29.593Z" transform="translate(-60.112 -20.086)" fill="#9d6ff3"/><path id="XMLID_14_" d="M103.359,21.045c-3.951-6.159-10.751-10-17.657-11.89C77.763,6.948,68.721,7.019,61.281,10.9c-2.029,1.068-.249,4.129,1.78,3.061,6.586-3.453,14.667-3.311,21.644-1.388,5.981,1.638,12.1,4.913,15.521,10.252C101.507,24.783,104.569,23,103.359,21.045Z" transform="translate(-54.766 -7.693)" fill="#9d6ff3"/><path id="XMLID_9_" d="M65.995,47.8a20.7,20.7,0,0,0-12.958,4.45H47.27a2.579,2.579,0,0,0-2.67,2.456v47.239a2.763,2.763,0,0,0,2.67,2.67h5.838a2.639,2.639,0,0,0,2.528-2.67V87.564A21.228,21.228,0,1,0,65.995,47.8Zm0,33.178a12,12,0,1,1,12-12A12,12,0,0,1,65.995,80.978Z" transform="translate(-44.6 -33.522)" fill="#9d6ff3"/></g></svg>
<h1 class="title dot">{{ localeHelper locale "progressPage" "title" }}</h1>
<p class="text">{{ localeHelper locale "progressPage" "description" }}</p>
<h1 class="title dot">{{ localeHelper locale "progressPage.title" }}</h1>
<p class="text">{{ localeHelper locale "progressPage.description" }}</p>
</div>
</div>
<div class="all-progress-lists">
<div class="donation-progress">
<h1 class="title dot">Donation goal</h1>
<div class="progress-bar">
<div class="progress-bar-inner" style="width: {{ donationCache.completed_capped }}%;" ></div>
</div>
<p><span>${{donationCache.total_dollars}}</span> of <span>${{donationCache.goal_dollars}}</span>/month, <span>${{donationCache.completed_real}}%</span> of the monthly goal. To become a subscriber and gain access to cool perks, visit the <a href="/account/upgrade">upgrade page</a>.</p>
<p class="localeReplace">{{{ localeHelper locale "donation.progress" }}} {{{ localeHelper locale "donation.upgradePush" }}}</p>
</div>
{{#each progressLists.sections}}
<div class="purple-card">
{{> progress-list data=this boards=@root.boards }}
{{> progress-list data=this }}
</div>
{{/each}}
</div>
@@ -31,3 +29,13 @@
{{> footer }}
</div>
<script>
/* this jank is needed to have data mixed in with a localized string */
document.querySelector('.localeReplace').innerHTML = document.querySelector('.localeReplace').innerHTML
.replace('${totd}', '{{donationCache.total_dollars}}');
document.querySelector('.localeReplace').innerHTML = document.querySelector('.localeReplace').innerHTML
.replace('${goald}', '{{donationCache.goal_dollars}}');
document.querySelector('.localeReplace').innerHTML = document.querySelector('.localeReplace').innerHTML
.replace('${perc}', '{{donationCache.completed_real}}');
</script>