Strings Words Characters | |||
---|---|---|---|
36 513 3,804 |
|
All strings | Browse Translate Zen |
36 513 3,804 |
|
Translated strings | Browse Translate Zen |
36 513 3,804 |
|
Strings waiting for review | Browse Translate Zen |
1 1 7 |
|
Strings with any failing checks | Browse Translate Zen |
1 1 7 |
|
Translated strings with any failing checks | Browse Translate Zen |
1 1 7 |
|
Failing check: Reused translation | Browse Translate Zen |
Overview
Project website | kodi.tv/addons/omega/category/screensavers |
---|---|
Instructions for translators | |
Translation license | GNU General Public License v2.0 or later |
Translation process |
|
Source code repository |
https://github.com/xbmc/visualization.shadertoy.git
|
Repository branch | Nexus |
Last remote commit |
Merge pull request #117 from weblate/weblate-kodi-add-ons-look-and-feel-visualization-shadertoy
94e1ee2
![]() |
Last commit in Weblate |
Translated using Weblate (Spanish (Spain) (es_es))
52c9bb4
Hosted Weblate authored a month ago |
Weblate repository |
https://kodi.weblate.cloud/git/kodi-add-ons-look-and-feel/visualization-shadertoy/
|
File mask | visualization.shadertoy/resources/language/resource.language.*/strings.po |
Translation file |
Download
visualization.shadertoy/resources/language/resource.language.zh_cn/strings.po
|
Last change | July 29, 2022, 8:46 a.m. |
Last author | taxigps |
3 weeks ago
String statistics
Strings percent | Hosted strings | Words percent | Hosted words | Characters percent | Hosted characters | |
---|---|---|---|---|---|---|
Total | 36 | 513 | 3,804 | |||
Approved | 0% | 0 | 0% | 0 | 0% | 0 |
Waiting for review | 100% | 36 | 100% | 513 | 100% | 3,804 |
Translated | 100% | 36 | 100% | 513 | 100% | 3,804 |
Needs editing | 0% | 0 | 0% | 0 | 0% | 0 |
Read-only | 0% | 0 | 0% | 0 | 0% | 0 |
Failing checks | 2% | 1 | 1% | 1 | 1% | 7 |
Strings with suggestions | 0% | 0 | 0% | 0 | 0% | 0 |
Untranslated strings | 0% | 0 | 0% | 0 | 0% | 0 |
Quick numbers
and previous 30 days
Trends of last 30 days
—
Hosted words
+100%
—
Hosted strings
+100%
—
Translated
+100%
—
Contributors
—
![]() Translation added |
|
![]() Translation changed |
|
![]() Translation changed |
|
![]() Translation changed |
|
![]() Translation changed |
|
![]() Translation changed |
|
![]() Comment added |
This translation seems incorrect. Copy of https://kodi.weblate.cloud/translate/kodi-add-ons-look-and-feel/visualization-shadertoy/zh_cn/?&offset=4 2 years ago |
![]() Comment added |
This translation seems incorrect. Copy of https://kodi.weblate.cloud/translate/kodi-add-ons-look-and-feel/visualization-shadertoy/zh_cn/?&offset=4 2 years ago |
![]() Comment added |
This translation seems incorrect. Copy of https://kodi.weblate.cloud/translate/kodi-add-ons-look-and-feel/visualization-shadertoy/zh_cn/?&offset=4 2 years ago |
![]() Comment added |
This translation seems incorrect. 2 years ago |
36 | File in original format as translated in the repository | gettext PO file | |||||||
---|---|---|---|---|---|---|---|---|---|
36 | All strings, converted files enriched with comments; suitable for offline translation | CSV | gettext MO | gettext PO | TBX | TMX | XLIFF 1.1 with gettext extensions | XLIFF 1.1 | XLSX |
The file [B]presets.json[/B] is used to define custom shaders.
A custom path to the shader files (GLSL) can be declared in the add-on settings.
Contents of [B]presets.json[/B] should be:
[I] 1.[/I] Name of preset. Either hardcoded string or defined in [I]resources/language/.../strings.po[/I]
[I] 2.[/I] GLSL shader to use. If no custom path was declared, the default [B]resources/[/B] will be used. Set custom path to './' to use shaders from the same path as your [B]presets.json[/B] file.
[I] 3.[/I] Channel value 0. Defines the texture to use (e.g. PNG file). Can also be set to "audio" to pass related stream data within texture. The PNG and GLSL files should be located in the same directory.
[I] 4.[/I] Channel value 1 definition.
[I] 5.[/I] Channel value 2 definition.
[I] 6.[/I] Channel value 3 definition.
[I] 7.[/I] [I][Optional][/I] append string [B]"gl_only"[/B] to make this preset only available to OpenGL.
[B]Example:[/B]
[COLOR white][COLOR green]{[/COLOR] [COLOR blue]"presets"[/COLOR]:[
[COLOR gray]/* Default way used by the addon itself */[/COLOR]
[ [COLOR red]"The Disco Tunnel by poljere"[/COLOR], [COLOR red]"discotunnel.frag.glsl"[/COLOR], [COLOR red]"tex02.png"[/COLOR], [COLOR red]"tex15.png"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR] ],
[COLOR gray]/* Description defined in strings.po */[/COLOR]
[ 30100, [COLOR red]"audioeclipse.frag.glsl"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR] ],
[COLOR gray]/* Define custom file paths */[/COLOR]
[ [COLOR red]"My own one"[/COLOR], [COLOR red]"/path/to/glsl/my.frag.glsl"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]"/path/to/pngs/my_image.png"[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR] ],
[COLOR gray]/* Preset only available to OpenGL (see 7) */[/COLOR]
[ [COLOR red]"Polar Beats by sauj123"[/COLOR], [COLOR red]"polarbeats.frag.glsl"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR], [COLOR red]"gl_only"[/COLOR] ],
[COLOR gray]/* GLSL and PNG files are in the same folder as presets.json */[/COLOR]
[ [COLOR red]"Another one"[/COLOR], [COLOR red]"./another.frag.glsl"[/COLOR], [COLOR red]"./my_01.png"[/COLOR], [COLOR red]"./my_02.png"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR] ],
[COLOR gray]/* Select texture image by file name, use default "resources/" dir */[/COLOR]
[ [COLOR red]"Fractal Land by Kali"[/COLOR], [COLOR red]"fractalland.frag.glsl"[/COLOR], [COLOR red]"tex02.png"[/COLOR], [COLOR red]"tex15.png"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR] ]
][COLOR green]}[/COLOR][/COLOR]
文件 [B]presets.json[/B] 用于定义自定义着色器。
可以在插件设置中声明着色器文件(GLSL)的自定义路径。
[B]presets.json[/B] 的内容应该是:
[I] 1.[/I] 预设的名称。硬编码字符串或定义在 [I]resources/language/.../strings.po[/I]
[I] 2.[/I] 要使用的 GLSL 着色器。如果未声明自定义路径,则将使用默认的 [B]resources/[/B] 目录。将自定义路径设置为 './' 使用与 [B]presets.json[/B] 文件同路径的着色器。
[I] 3.[/I] 通道值0。定义要使用的纹理(例如PNG文件)。也可以设置为“audio”以在纹理内传递相关流数据。PNG和GLSL文件应位于同一目录中。
[I] 4.[/I] 通道值1定义。
[I] 5.[/I] 通道值2定义。
[I] 6.[/I] 通道值3定义。
[I] 7.[/I] [I][可选][/I] 添加字符串 [B]"gl_only"[/B] 以使此预设仅对 OpenGL 可用。
[B]例子:[/B]
[COLOR white][COLOR green]{[/COLOR] [COLOR blue]"presets"[/COLOR]:[
[COLOR gray]/* 插件本身使用的默认方式 */[/COLOR]
[ [COLOR red]"The Disco Tunnel by poljere"[/COLOR], [COLOR red]"discotunnel.frag.glsl"[/COLOR], [COLOR red]"tex02.png"[/COLOR], [COLOR red]"tex15.png"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR] ],
[COLOR gray]/* strings.po 中定义的描述 */[/COLOR]
[ 30100, [COLOR red]"audioeclipse.frag.glsl"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR] ],
[COLOR gray]/* 定义自定义文件路径 */[/COLOR]
[ [COLOR red]"My own one"[/COLOR], [COLOR red]"/path/to/glsl/my.frag.glsl"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]"/path/to/pngs/my_image.png"[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR] ],
[COLOR gray]/* 预设仅适用于 OpenGL(请参见7) */[/COLOR]
[ [COLOR red]"Polar Beats by sauj123"[/COLOR], [COLOR red]"polarbeats.frag.glsl"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR], [COLOR red]""[/COLOR], [COLOR red]"gl_only"[/COLOR] ],
[COLOR gray]/* GLSL 和 PNG 文件与 presets.json 位于同一文件夹中 */[/COLOR]
[ [COLOR red]"Another one"[/COLOR], [COLOR red]"./another.frag.glsl"[/COLOR], [COLOR red]"./my_01.png"[/COLOR], [COLOR red]"./my_02.png"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR] ],
[COLOR gray]/* 按文件名选择纹理图像,使用默认的“resources/”目录 */[/COLOR]
[ [COLOR red]"Fractal Land by Kali"[/COLOR], [COLOR red]"fractalland.frag.glsl"[/COLOR], [COLOR red]"tex02.png"[/COLOR], [COLOR red]"tex15.png"[/COLOR], [COLOR red]"audio"[/COLOR], [COLOR red]""[/COLOR] ]
][COLOR green]}[/COLOR][/COLOR]