godotengine / godotengine/godot

Lots of repetitive text in visual shader

Open
#93,044 0 comments 1 reaction 0 assignees View on GitHub
discussion enhancement topic:codestyle topic:editor topic:shaders
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.3 beta1 and earlier

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description

![image](https://github.com/godotengine/godot/assets/2223172/89a90bdf-2106-4b32-a48e-06673a86534d)
This is part of `TTR()` strings, so all of this text has to be translated. The problem is that each of this strings are unique (they vary a bit at the beginning). I remember it was annoying to translate.

The text could be split into multiple strings, so the repeated parts don't need to be repeated in translation.

### Steps to reproduce

1. Open `visual_shader_editor_plugin.cpp`
2. Check `TTR()` strings in that file

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.