Merge pull request #48619 from Calinou/editor-autoload-rename-singleton

Rename "Singleton" to "Global Variable" in the AutoLoad editor
This commit is contained in:
Rémi Verschelde 2021-06-15 18:25:38 +02:00 committed by GitHub
commit 9f1f59570c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -882,15 +882,16 @@ EditorAutoloadSettings::EditorAutoloadSettings() {
tree->set_column_title(0, TTR("Name"));
tree->set_column_expand(0, true);
tree->set_column_min_width(0, 100);
tree->set_column_min_width(0, 100 * EDSCALE);
tree->set_column_title(1, TTR("Path"));
tree->set_column_expand(1, true);
tree->set_column_min_width(1, 100);
tree->set_column_min_width(1, 100 * EDSCALE);
tree->set_column_title(2, TTR("Singleton"));
tree->set_column_title(2, TTR("Global Variable"));
tree->set_column_expand(2, false);
tree->set_column_min_width(2, 80 * EDSCALE);
// Reserve enough space for translations of "Global Variable" which may be longer.
tree->set_column_min_width(2, 150 * EDSCALE);
tree->set_column_expand(3, false);
tree->set_column_min_width(3, 120 * EDSCALE);