Skip to content

Commit 54f8ec8

Browse files
committed
Use site variable for Ruby license url
1 parent cff075f commit 54f8ec8

File tree

28 files changed

+30
-27
lines changed

28 files changed

+30
-27
lines changed

_config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ exclude:
1818
#url: http://www.ruby-lang.org
1919
url: http://neon.ruby-lang.org
2020

21+
license:
22+
url: /en/about/license.txt
23+
2124
downloads:
2225
stable:
2326
version: 2.0.0-p0

bg/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Ruby-Talk – основният [пощенски списък](/en/community/m
3636
удивителен скок има Ruby On Rails, популярен framework за изграждането
3737
на интернет приложения.
3838

39-
Ruby е абсолютно [безплатен](/en/about/license.txt) за употреба, модификация и
39+
Ruby е абсолютно [безплатен]({{ site.license.url }}) за употреба, модификация и
4040
разпространение.
4141

4242
### Философията „всичко е обект“

bg/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Ruby идва инсталиран по подразбиране в друга
126126

127127

128128

129-
[1]: /en/about/license.txt
129+
[1]: {{ site.license.url }}
130130
[2]: {{ site.downloads.stable.url }}
131131
[3]: {{ site.downloads.stable_snapshot.url }}
132132
[4]: {{ site.downloads.nightly_snapshot.url }}

de/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dieses Wachstums ist der Beliebtheit von in Ruby geschriebener Software
4747
zu verdanken, insbesondere dem Web-Framework Ruby on
4848
Rails<sup>[2](#fn2)</sup>.
4949

50-
Ruby ist außerdem [absolut frei](/en/about/license.txt). Nicht nur kostenlos,
50+
Ruby ist außerdem [absolut frei]({{ site.license.url }}). Nicht nur kostenlos,
5151
sondern auch frei zu benutzen, zu kopieren, zu verändern und zu
5252
vertreiben.
5353

de/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Programmiersprache Ruby“.
211211

212212

213213

214-
[1]: /en/about/license.txt
214+
[1]: {{ site.license.url }}
215215
[2]: {{ site.downloads.stable.url }}
216216
[3]: {{ site.downloads.stable_snapshot.url }}
217217
[4]: {{ site.downloads.nightly_snapshot.url }}

en/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ranks Ruby as #9 among programming languages worldwide. Much of the
4545
growth is attributed to the popularity of software written in Ruby,
4646
particularly the Ruby on Rails web framework<sup>[2](#fn2)</sup>.
4747

48-
Ruby is also [totally free](/en/about/license.txt). Not only free of charge, but
48+
Ruby is also [totally free]({{ site.license.url }}). Not only free of charge, but
4949
also free to use, copy, modify, and distribute.
5050

5151
### Seeing Everything as an Object

es/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ crecimiento se atribuye a la popularidad alcanzada por aplicaciones
4949
desarrolladas con Ruby, en particular el framework de desarrollo web
5050
Ruby on Rails<sup>[2](#fn2)</sup>.
5151

52-
Ruby es [totalmente libre](/en/about/license.txt). No sólo gratis, sino también
52+
Ruby es [totalmente libre]({{ site.license.url }}). No sólo gratis, sino también
5353
libre para usarlo, copiarlo, modificarlo y distribuirlo.
5454

5555
### Viendo todo como un objeto

es/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ lang: es
66

77
Aquí puedes obtener las últimas distribuciones de Ruby en tu sabor
88
favorito. La versión estable actual es {{ site.downloads.stable.version }}.
9-
Por favor asegúrate de leer la [licencia de Ruby](/en/about/license.txt).
9+
Por favor asegúrate de leer la [licencia de Ruby]({{ site.license.url }}).
1010

1111
### El código fuente de Ruby
1212

fr/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ de six mois. » La plus grande part de cette accélération semble revenir
5757
à la popularité de certains logiciels écrits en Ruby, notamment le
5858
framework web Ruby on Rails<sup>[2](#fn2)</sup>.
5959

60-
Par ailleurs, Ruby est [totalement libre](/en/about/license.txt). Il est non
60+
Par ailleurs, Ruby est [totalement libre]({{ site.license.url }}). Il est non
6161
seulement gratuit, mais son utilisation, sa copie, sa modification et sa
6262
distribution sont également libres.
6363

fr/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ site [RubyOpenSolaris project @ Rubyforge][22].
132132

133133

134134

135-
[1]: /en/about/license.txt
135+
[1]: {{ site.license.url }}
136136
[2]: {{ site.downloads.stable.url }}
137137
[3]: {{ site.downloads.stable_snapshot.url }}
138138
[4]: {{ site.downloads.nightly_snapshot.url }}

id/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ setengah tahun.” Kebanyakan dari perkembangan Ruby beratribut pada
5050
terkenalnya software yang ditulis dengan Ruby, terutama framework web
5151
Ruby on Rails<sup>[2](#fn2)</sup>.
5252

53-
Ruby juga [sepenuhnya bebas](/en/about/license.txt). Tidak hanya gratis,
53+
Ruby juga [sepenuhnya bebas]({{ site.license.url }}). Tidak hanya gratis,
5454
tetapi juga bebas untuk menggunakan, memodifikasi dan mendistribusikan
5555
Ruby.
5656

id/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Ruby, silakan kunjungi halaman [Ruby Core](/id/community/ruby-core/).
161161

162162

163163

164-
[1]: /en/about/license.txt
164+
[1]: {{ site.license.url }}
165165
[2]: http://www.linuxmint.com/
166166
[3]: http://www.ubuntu.com
167167
[4]: http://www.debian.org

it/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ esistenti al mondo. Gran parte di questa crescita è da attribuire alla
4747
popolarità dei programmi scritti in Ruby, in particolare il framework
4848
Ruby on Rails<sup>[2](#fn2)</sup>.
4949

50-
Ruby è anche un linguaggio [libero e gratuito](/en/about/license.txt). Non solo
50+
Ruby è anche un linguaggio [libero e gratuito]({{ site.license.url }}). Non solo
5151
non costa nulla, ma può anche essere usato, copiato, modificato e
5252
distribuito liberamente.
5353

ja/news/_posts/2011-08-01-ruby-1-9-3-preview1-release.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ Ruby 1.9.3 preview1をリリースしました。これはRuby 1.9.3の最初の
5858
[2]: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-preview1.tar.gz
5959
[3]: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-preview1.zip
6060
[4]: http://en.wikipedia.org/wiki/BSD_licenses#2-clause_license_.28.22Simplified_BSD_License.22_or_.22FreeBSD_License.22.29
61-
[5]: {{ site.url }}/en/about/license.txt
61+
[5]: {{ site.url }}{{ site.license.url }}
6262
[6]: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_preview1/NEWS
6363
[7]: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_preview1/ChangeLog

ja/news/_posts/2011-09-24-ruby-1-9-3-rc1-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ ruby-1.9.3-p0 のリリースにむけて修正が続けられています。
5959
[2]: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-rc1.tar.gz
6060
[3]: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-rc1.zip
6161
[4]: http://en.wikipedia.org/wiki/BSD_licenses#2-clause_license_.28.22Simplified_BSD_License.22_or_.22FreeBSD_License.22.29
62-
[5]: {{ site.url }}/en/about/license.txt
62+
[5]: {{ site.url }}{{ site.license.url }}
6363
[6]: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_rc1/NEWS
6464
[7]: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_rc1/ChangeLog

ja/news/_posts/2011-10-31-ruby-1-9-3-p0-is-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ lang: ja
8282
[2]: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
8383
[3]: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.zip
8484
[4]: http://en.wikipedia.org/wiki/BSD_licenses#2-clause_license_.28.22Simplified_BSD_License.22_or_.22FreeBSD_License.22.29
85-
[5]: {{ site.url }}/en/about/license.txt
85+
[5]: {{ site.url }}{{ site.license.url }}
8686
[6]: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_0/NEWS
8787
[7]: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_0/ChangeLog
8888
[8]: http://www.slideshare.net/mrkn/ruby-193

ko/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Gmane.](http://gmane.org/plot-rate.php?group=gmane.comp.lang.ruby.general&amp;wi
3535
언어이다. 그리고 2006년 ‘올해의 언어로’ 꼽히기도 하였다. 이런 성장은 루비로 만들어진 대중적인 소프트웨어, 특히나 루비 온
3636
레일스 웹 프레임워크\[2\]의 공이다.
3737

38-
루비는 [완전히 무료](/en/about/license.txt)이다. 사용뿐 만 아니라 복사, 수정, 배포까지도 무료이다.
38+
루비는 [완전히 무료]({{ site.license.url }})이다. 사용뿐 만 아니라 복사, 수정, 배포까지도 무료이다.
3939

4040
### 모든 것은 객체이다.
4141

ko/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ AIX용 바이너리는 Perry Smith씨에 의해 제공되고 있으며, [AIX Con
9797

9898

9999

100-
[1]: /en/about/license.txt
100+
[1]: {{ site.license.url }}
101101
[2]: ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.bz2
102102
[3]: ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
103103
[4]: ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.zip

ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ lang: ko
8282
[2]: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
8383
[3]: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.zip
8484
[4]: http://en.wikipedia.org/wiki/BSD_licenses#2-clause_license_.28.22Simplified_BSD_License.22_or_.22FreeBSD_License.22.29
85-
[5]: {{ site.url }}/en/about/license.txt
85+
[5]: {{ site.url }}{{ site.license.url }}
8686
[6]: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_0/NEWS
8787
[7]: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_0/ChangeLog

pl/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Rubiego na 10 miejscu. Wiele owego wzrostu zawdzięcza Ruby popularności
4343
software napisanego przy jego użyciu, szczególnie frameworkowi Ruby on
4444
Rails<sup>[2](#fn2)</sup>.
4545

46-
Ruby jest także [zupełnie darmowy](/en/about/license.txt). Darmowe jest nie
46+
Ruby jest także [zupełnie darmowy]({{ site.license.url }}). Darmowe jest nie
4747
tylko korzystanie, ale również kopiowanie, modyfikowanie i
4848
rozprowadzanie tego języka.
4949

pt/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ necessitam de testar as suas aplicações em ambientes diversos.
116116

117117

118118

119-
[1]: /en/about/license.txt
119+
[1]: {{ site.license.url }}
120120
[2]: {{ site.downloads.stable.url }}
121121
[3]: {{ site.downloads.stable_snapshot.url }}
122122
[4]: {{ site.downloads.nightly_snapshot.url }}

pt/sobre-o-ruby/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ no Top 10 dentro de meio ano.” Muito deste crescimento é atribuído à
4747
popularidade do software escrito em Ruby, em particular a framework de
4848
desenvolvimento web Ruby on Rails<sup>[2](#fn2)</sup>.
4949

50-
O Ruby é também [totalmente livre](/en/about/license.txt). Não somente livre de
50+
O Ruby é também [totalmente livre]({{ site.license.url }}). Não somente livre de
5151
custos, mas também livre para utilizar, copiar, modificar e distribuir.
5252

5353
### Vêr Tudo como um Objecto

tr/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ göre, Ruby dünya çapında en çok kullanılan 10.cu dil haline gelmiştir.
4444
Ruby’nin bu hızlı büyümesinde Ruby on Rails
4545
framework’ünün<sup>[2](#fn2)</sup> hatırı sayılır etkisi bulunmaktadır.
4646

47-
Ruby aynı zamanda [tamamen özgür](/en/about/license.txt) bir dildir. Ruby size
47+
Ruby aynı zamanda [tamamen özgür]({{ site.license.url }}) bir dildir. Ruby size
4848
yalnızca sorumluluk anlamında bir özgürlük değil, aynı zamanda kullanma,
4949
kopyalama, düzenleme ve dağıtma özgürlüğü de sunar.
5050

tr/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Rubyforge][29] adresini inceleyin.
141141

142142

143143

144-
[1]: /en/about/license.txt
144+
[1]: {{ site.license.url }}
145145
[2]: {{ site.downloads.stable.url }}
146146
[3]: {{ site.downloads.stable_snapshot.url }}
147147
[4]: {{ site.downloads.nightly_snapshot.url }}

zh_TW/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Gmane.](http://gmane.org/plot-rate.php?group=gmane.comp.lang.ruby.general&amp;wi
3434
將會進入最受歡迎的第 10 名.” 有越來越多受歡迎的軟體如 Ruby on Rails web
3535
framework<sup>[2](#fn2)</sup> 是使用 Ruby 撰寫而成,也是造成了 Ruby 如此的成長因素.
3636

37-
同時,Ruby 是個[自由軟體](/en/about/license.txt). 不只是免費,而且可以自由的使用, 修改與散佈.
37+
同時,Ruby 是個[自由軟體]({{ site.license.url }}). 不只是免費,而且可以自由的使用, 修改與散佈.
3838

3939
### 所見即物件
4040

zh_TW/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Rails][39] 和 [Phusion Passenger][40] 使用。
128128

129129

130130

131-
[1]: /en/about/license.txt
131+
[1]: {{ site.license.url }}
132132
[2]: {{ site.downloads.stable.url }}
133133
[3]: {{ site.downloads.stable_snapshot.url }}
134134
[4]: {{ site.downloads.nightly_snapshot.url }}

zh_cn/about/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Gmane.](http://gmane.org/plot-rate.php?group=gmane.comp.lang.ruby.general&amp;wi
3535
将会进入最受欢迎开发语言的前 10 名。”有越来越多受欢迎的软件如 Ruby on Rails web
3636
framework<sup>[2](#fn2)</sup> 是使用 Ruby 撰写而成,也是造成 Ruby 如此快速成长的原因。
3737

38-
Ruby 是[开源软件](/en/about/license.txt)。 不只是免费,而且可以自由的使用、复制、修改与发布。
38+
Ruby 是[开源软件]({{ site.license.url }})。 不只是免费,而且可以自由的使用、复制、修改与发布。
3939

4040
### 所见到的都是对象
4141

zh_cn/downloads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ LightTPD, and MySQL on Tiger*][15] 将快速的教您启动和运行。
7474

7575

7676

77-
[1]: /en/about/license.txt
77+
[1]: {{ site.license.url }}
7878
[2]: {{ site.downloads.stable.url }}
7979
[3]: {{ site.downloads.stable_snapshot.url }}
8080
[4]: {{ site.downloads.nightly_snapshot.url }}

0 commit comments

Comments
 (0)