Compare commits

...

8 Commits

Author SHA1 Message Date
Skylar "The Cobra" Widulski 509b4b18f5
Change f"free and open source" to "free as in freedom"
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-12-04 14:36:13 -05:00
Skylar "The Cobra" Widulski 20a5c6aac0
Fix verntrans.svg weight
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-12-04 01:17:15 -05:00
Skylar "The Cobra" Widulski 84e90f65a2
Make favicon higher quality
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-12-04 01:11:34 -05:00
Skylar "The Cobra" Widulski ef02a13032
Make favicon not transparent
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-12-04 01:09:30 -05:00
Skylar "The Cobra" Widulski 2659e6f32e
Add <br> to the example tl-notice
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-12-03 23:55:32 -05:00
Skylar "The Cobra" Widulski ae380ba8c5
Update README with translation steps
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-12-03 23:31:19 -05:00
Skylar "The Cobra" Widulski a2b452d6ef
Fix const because vitor didnt translate sysinfo
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-12-03 21:40:58 -05:00
Vitor Gonçalves 19a5fe6c5c
Merge branch 'vitorg-master' (now signed) 2023-12-03 22:40:37 -03:00
5 changed files with 28 additions and 3 deletions

View File

@ -6,3 +6,28 @@ It is completely static other than the 8 php scripts licensed under a GNU Affero
To start a version locally, you can use https://github.com/danvk/ssi-server or nginx configs similar to vern/nginx-configs:/common/website.conf.
# Translating
You want to help ~vern and are fluent in English and another language? Great!
Follow these steps to start translating our website. For finer details, check out the existing pt-BR translation.
1. Sign in (Preferrably with ~vern, if you have an account, but Codeberg OAuth2 is fine)
2. Fork this repo
3. Copy en/ to the code of whatever language you want to translate it into (we'll call it xx from now on)
4. Remove xx/translations.php
5. Translate! (but not xx/tos.html, xx/privpol.html, xx/p/list.php, or anything that isn't shown to the user (i.e. E-mails sent to admins))
6. Create xx/tl-notice.html that looks something like this, but in your language:
```html
<h1>Translation notice</h1>
<p>The following document is written in english because of ~vern's geographical jurisdiction. Taking into account that all our servers are in the USA or Canada, the following text couldn't be translated. Currently, our translators can't find a viable way of translating the document whilst keeping the same legal meaning. If you have any suggestions, contact an <a href="/xx/admins">admin</a>.</p>
<p>With this stance, here's the original document, in English:</p>
<br>
```
6. Add the following text in tos.html and privpol.html directly under the nav.php include.
```html
<!--#include file="tl-notice.html" -->
```
7. Add your language to en/translations.php
8. Create a pull request

View File

@ -11,7 +11,7 @@
<body>
<!--#include file="nav.php" -->
<div class=h><h1 id=vern>Welcome to ~vern!</h1> <a aria-hidden=true href=#vern>#vern</a></div>
<p>~vern is a non-commercial <a href=//tildeverse.org>tilde</a> focused on free software and services! This means we are a community open for sharing, engaging, participating and creating free and open source software for everyone, without exceptions.</p>
<p>~vern is a non-commercial <a href=//tildeverse.org>tilde</a> focused on free software and services! This means we are a community open for sharing, engaging, participating and creating free (as in freedom) software for everyone, without exceptions.</p>
<p>While we host a lot of services like privacy front-ends, ~vern is well known for its cozy and participative community, that has been built that way since the beginning. We are here not to just get software to your hands, but to walk you through it.</p>
<p>~vern also has a <a href=/en/sysinfo#pubnix>pubnix</a>, that is, a public machine that runs NixOS on top of the Linux-Libre kernel for improved freedom. The nonfree repositories are not enabled by default, too.</p>
<p>Finally, ~vern's purpose is to provide to you the best experience you could have in this hopeless Internet, and to get you to get stuff done as soon as you can!</p>

View File

@ -16,7 +16,7 @@
</head>
<body>
<?php
$const = 619;
$const = 656;
$langs = array();
$langs['pt-BR'] = array("Brazilian Portuguese", "Português Brasileiro");

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="50" height="50" viewBox="0 0 50" version="1.1" id="svg5" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <defs id="defs2"> <linearGradient id="linearGradient8482-1"> <stop style="stop-color:#865aff;stop-opacity:1;" offset="0" id="stop8495" /> <stop style="stop-color:#865aff;stop-opacity:0;" offset="1" id="stop8497" /> </linearGradient> <linearGradient id="linearGradient8482"> <stop style="stop-color:#1aff00;stop-opacity:1;" offset="0" id="stop8490" /> <stop style="stop-color:#865aff;stop-opacity:0;" offset="1" id="stop8492" /> </linearGradient> <linearGradient id="linearGradient8482-2"> <stop style="stop-color:#ff0050;stop-opacity:1;" offset="0" id="stop8478" /> <stop style="stop-color:#865aff;stop-opacity:0;" offset="1" id="stop8480" /> </linearGradient> </defs> <g id="layer1"> <text xml:space="preserve" style="font-size:32.0001px;fill:#e6e6e6;stroke-width:1" x="4.995791" y="36.298496" id="text113"><tspan id="tspan111" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:32.0001px;font-family:'Fira Code', 'FiraCode Nerd Font', 'DejaVu Sans Mono', 'JetBrains Mono', monospace;-inkscape-font-specification:'\'Fira Code\', \'FiraCode Nerd Font\', \'DejaVu Sans Mono\', \'JetBrains Mono\', monospace';fill:#ff6c6b;stroke-width:3.97086" x="4.995791" y="36.298496">~V</tspan></text> </g> </svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="50" height="50" viewBox="0 0 50" version="1.1" id="svg5" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <defs id="defs2"> <linearGradient id="linearGradient8482-1"> <stop style="stop-color:#865aff;stop-opacity:1;" offset="0" id="stop8495" /> <stop style="stop-color:#865aff;stop-opacity:0;" offset="1" id="stop8497" /> </linearGradient> <linearGradient id="linearGradient8482"> <stop style="stop-color:#1aff00;stop-opacity:1;" offset="0" id="stop8490" /> <stop style="stop-color:#865aff;stop-opacity:0;" offset="1" id="stop8492" /> </linearGradient> <linearGradient id="linearGradient8482-2"> <stop style="stop-color:#ff0050;stop-opacity:1;" offset="0" id="stop8478" /> <stop style="stop-color:#865aff;stop-opacity:0;" offset="1" id="stop8480" /> </linearGradient> </defs> <g id="layer1"> <text xml:space="preserve" style="font-size:32.0001px;fill:#e6e6e6;stroke-width:1" x="4.995791" y="36.298496" id="text113"><tspan id="tspan111" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:32.0001px;font-family:'Fira Code Medium', 'FiraCode Nerd Font', 'DejaVu Sans Mono', 'JetBrains Mono Medium', monospace;-inkscape-font-specification:'\'Fira Code Medium\', \'FiraCode Nerd Font\', \'DejaVu Sans Mono\', \'JetBrains Mono Medium\', monospace';fill:#ff6c6b;stroke-width:3.97086" x="4.995791" y="36.298496">~V</tspan></text> </g> </svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB