### Godot version

master

### System information

Win11

### Issue description

When use `Generate POT` for multiline texts, it drops `\n` and generates single line message.

- **Label text in Main.tscn:**
![image](https://user-images.githubusercontent.com/12966814/209623668-19fd1d76-038a-4c19-938e-7559eb7652a3.png)


- **tr() text in Main.gd:**
```gdscript
func _ready():
	print(tr("MULTILINE text\nfrom\nMain.gd"))
```

- **Generated .pot:**
```pot
#: Main.tscn
#: Main.gd
msgid "MULTILINE text"
"from"
"Main.gd"
msgstr ""

#: Main.tscn
msgid "This is"
"MULTILINE text"
"from Main.tscn"
msgstr ""
```
This is actually single line like `This isMULTILINE textfrom Main.tscn`


- **Expected:**

```pot
#: Main.tscn Main.gd
msgid ""
"MULTILINE text\n"
"from\n"
"Main.gd"
msgstr ""

#: Main.tscn
msgid ""
"This is\n"
"MULTILINE text\n"
"from Main.tscn"
msgstr ""
```

### Steps to reproduce

Generate pot file for multiline texts.


### Minimal reproduction project

[generate_pot_newline.zip](https://github.com/godotengine/godot/files/10306460/generate_pot_newline.zip)

if (!ProjectSettings::get_singleton()->has_setting("internationalization/locale/translations_pot_files")) {
		WARN_PRINT("No files selected for POT generation.");
		return;
	}
	
	all_translation_strings.clear();
	Vector<String> files = GLOBAL_GET("internationalization/locale/translations_pot_files");
	
	for (int i = 0; i < files.size(); i++) {
		Vector<String> msgids;
		Vector<Vector<String>> msgids_context_plural;
		String file_path = files[i];
		String file_extension = file_path.get_extension();
		if (EditorTranslationParser::get_singleton()->can_parse(file_extension)) {
			EditorTranslationParser::get_singleton()->get_parser(file_extension)->parse_file(file_path, &msgids, &msgids_context_plural);
		} else {
			ERR_PRINT("Unrecognized file extension " + file_extension + " in generate_pot()");
			return;
		}
		for (int j = 0; j < msgids_context_plural.size(); j++) {
			Vector<String> entry = msgids_context_plural[j];
			_add_new_msgid(entry[0], entry[1], entry[2], file_path);
		}
		for (int j = 0; j < msgids.size(); j++) {
			_add_new_msgid(msgids[j], "", "", file_path);
		}
	}
	_write_to_pot(p_file);
}
void POTGenerator::_write_to_pot(const String &p_file) {