### Tested versions

See "System information" below.

### System information

Godot v4.1.4.rc (2d3b2abcf) - Windows 10.0.19045 - Vulkan (Compatibility) - NVIDIA GeForce GTX 970 (NVIDIA; 31.0.15.2698) - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 Threads)

### Issue description

POT generation ignores tr() expression in dictionaries:
```python
var strDeclarer = { 'N':tr("North"), 'E':tr("East"), 'S':tr("South"), 'W':tr("West") }[declarer]
var strVulnerable = { 0:tr("none"), 1:tr("both"), 2:tr("NS"), 3:tr("EW") }[vulnerable]
```
Strings as tr() parameters do not show up in the POT file.

### Steps to reproduce

FYI: [Creating the PO template - Automatic generation using the editor](https://docs.godotengine.org/en/stable/tutorials/i18n/localization_using_gettext.html#automatic-generation-using-the-editor)

### Minimal reproduction project (MRP)

N/A
GDScriptLanguage::get_singleton()->get_recognized_extensions(r_extensions);
}
Error GDScriptEditorTranslationParserPlugin::parse_file(const String &p_path, Vector<String> *r_ids, Vector<Vector<String>> *r_ids_ctx_plural) {
	
	
	
	
	Error err;
	Ref<Resource> loaded_res = ResourceLoader::load(p_path, "", ResourceFormatLoader::CACHE_MODE_REUSE, &err);
	if (err) {
		ERR_PRINT("Failed to load " + p_path);
		return err;
	}
	ids = r_ids;
	ids_ctx_plural = r_ids_ctx_plural;
	Ref<GDScript> gdscript = loaded_res;
	String source_code = gdscript->get_source_code();
	GDScriptParser parser;
	err = parser.parse(source_code, p_path, false);
	ERR_FAIL_COND_V_MSG(err != OK, err, "Failed to parse GDScript with GDScriptParser.");
	GDScriptAnalyzer analyzer(&parser);
	err = analyzer.analyze();
	ERR_FAIL_COND_V_MSG(err != OK, err, "Failed to analyze GDScript with GDScriptAnalyzer.");
	
	GDScriptParser::ClassNode *c = parser.get_tree();
	_traverse_class(c);
	return OK;
}
bool GDScriptEditorTranslationParserPlugin::_is_constant_string(const GDScriptParser::ExpressionNode *p_expression) {