@@ -213,8 +213,8 @@ public class Views.Form : Adw.Bin {
213213 set_file_content (new_flatpak_file, " {{PROJECT_NAME}}" , project_name);
214214
215215 // AppData Files
216- string appdata_file = GLib . Path . build_filename (project_folder, " data" , " {{PROJECT_NAME}}.appdata .xml.in" );
217- string new_appdata_file = GLib . Path . build_filename (project_folder, " data" , project_name + " .appdata .xml.in" );
216+ string appdata_file = GLib . Path . build_filename (project_folder, " data" , " {{PROJECT_NAME}}.metainfo .xml.in" );
217+ string new_appdata_file = GLib . Path . build_filename (project_folder, " data" , project_name + " .metainfo .xml.in" );
218218 rename_file (appdata_file, new_appdata_file);
219219 set_file_content (new_appdata_file, " {{APPLICATION_ID}}" , application_id);
220220 set_file_content (new_appdata_file, " {{PROJECT_NAME}}" , project_name);
@@ -259,6 +259,10 @@ public class Views.Form : Adw.Bin {
259259 set_file_content (new_appdata_file, " {{DEVELOPER_NAME}}" , developer_name);
260260 set_file_content (new_appdata_file, " {{DEVELOPER_EMAIL}}" , developer_email);
261261
262+ // Set Po files
263+ string po_extra_window_file = GLib . Path . build_filename (project_folder, " po" , " extra" , " POTFILES" );
264+ set_file_content (po_extra_window_file, " {{PROJECT_NAME}}" , project_name);
265+
262266 created (project_name_entry. text, location_entry. text);
263267 }
264268
0 commit comments