Skip to content

Commit 5439416

Browse files
committed
Merge pull request #333 from ruby/unmaintained-include
Provide an "unmaintained" message for abandoned translations
2 parents 1c1ebae + dee8018 commit 5439416

File tree

7 files changed

+24
-0
lines changed

7 files changed

+24
-0
lines changed

_includes/unmaintained.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<p class="warning">
2+
This translation of www.ruby-lang.org is unmaintained
3+
and might contain obsolete information or even errors.
4+
Please refer to the <a href="/en/">original English site</a>
5+
for the most up-to-date content.
6+
</p>
7+
<p class="warning">
8+
If you want to contribute and help improve this site,
9+
please visit the <a href="https://github.com/ruby/www.ruby-lang.org/">project's page on GitHub</a>.
10+
</p>

_layouts/homepage.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
---
1313

14+
{{ content }}
15+
1416
{% assign number_of_excerpts = 4 %}
1517
{% assign number_of_other = 3 %}{% comment %} number of links per column {% endcomment %}
1618

bg/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ <h1>Ruby e...</h1>
1818
<div id="code"></div>
1919

2020
---
21+
22+
{% include unmaintained.html %}

ko/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ <h1>루비는...</h1>
1919
<div id="code"></div>
2020

2121
---
22+
23+
{% include unmaintained.html %}

pt/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ <h1>Ruby é...</h1>
1717
<div id="code"></div>
1818

1919
---
20+
21+
{% include unmaintained.html %}

stylesheets/shared.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ body {
6464
#footer {
6565
clear: both;
6666
}
67+
.warning {
68+
color: #c61a1a;
69+
font-size: 125%;
70+
}
6771

6872

6973
/* layouts */

tr/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ <h1>Ruby...</h1>
1717
<div id="code"></div>
1818

1919
---
20+
21+
{% include unmaintained.html %}

0 commit comments

Comments
 (0)