Browse Source

add translation warnings with links

Gregg Tavares 4 years ago
parent
commit
2d2cdf6cee

+ 1 - 1
threejs/lessons/ja/threejs-custom-buffergeometry.md

@@ -2,7 +2,7 @@ Title: Three.jsのカスタムバッファジオメトリ
 Description: カスタムバッファジオメトリを作る
 TOC: カスタムバッファジオメトリ
 
-{{{warning msgId="updateNeeded" issue="https://github.com/gfxfundamentals/threejsfundamentals/issues/185"}}}
+{{{warning msgId="updateNeeded" link="https://github.com/gfxfundamentals/threejsfundamentals/issues/185"}}}
 
 [前回の記事](threejs-custom-geometry.html)では`Geometry`を紹介しました。この記事では`BufferGeometry`を紹介します。`BufferGeometry`とは*一般的に*高速で動きメモリ消費も低く抑えられます。が、設定は少し難しいです。
 

+ 1 - 1
threejs/lessons/kr/threejs-custom-buffergeometry.md

@@ -2,7 +2,7 @@ Title: Three.js 사용자 지정 BufferGeometry
 Description: 사용자 지정 BufferGeometry를 만드는 법에 대해 알아봅니다
 TOC: 사용자 지정 BufferGeometry
 
-{{{warning msgId="updateNeeded" issue="https://github.com/gfxfundamentals/threejsfundamentals/issues/187"}}}
+{{{warning msgId="updateNeeded" link="https://github.com/gfxfundamentals/threejsfundamentals/issues/187"}}}
 
 [이전 글](threejs-custom-geometry.html)에서는 `Geometry`의 사용법에 대해
 알아보았습니다. 예고한 대로 이번에는 `BufferGeometry`에 대해 살펴보도록 하죠.

+ 2 - 2
threejs/lessons/langinfo.hanson

@@ -25,8 +25,8 @@
   `,
   contribTemplate: 'Thank you <a href="${html_url}"><img src="${avatar_url}"> ${login}</a><br>for <a href="https://github.com/${owner}/${repo}/commits?author=${login}">${contributions} contributions</a>',
   translations: {
-    badTranslation: 'Sorry, the translation of this area is out of date. <a href="{{packageJSON.homepage}}/blob/master/{{contentFileName}}">Please consider helping to fix it</a>.',
-    updateNeeded: 'The translation of this article is out of date.  <a href="{{packageJSON.homepage}}/blob/master/{{contentFileName}}">Please consider helping to fix it</a>.',
+    badTranslation: 'Sorry, the translation of this area is out of date. <a href="{{link}}">Please consider helping to fix it</a>.',
+    updateNeeded: 'The translation of this article is out of date.  <a href="{{link}}">Please consider helping to fix it</a>.',
   },
   toc: 'Table of Contents',
   categoryMapping: {

+ 1 - 1
threejs/lessons/ru/threejs-custom-buffergeometry.md

@@ -2,7 +2,7 @@ Title: Three.js Пользовательская BufferGeometry
 Description: Создание собственной геометрии BufferGeometry.
 TOC: Пользовательская BufferGeometry
 
-{{{warning msgId="updateNeeded" issue="https://github.com/gfxfundamentals/threejsfundamentals/issues/186"}}}
+{{{warning msgId="updateNeeded" link="https://github.com/gfxfundamentals/threejsfundamentals/issues/186"}}}
 
 В [предыдущей статье](threejs-custom-geometry.html) рассказывалось, как использовать `Geometry`. Эта статья о `BufferGeometry`. `BufferGeometry` обычно быстрее запускается и использует меньше памяти, но может быть сложнее в настройке.