mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	add i18n support
This commit is contained in:
		
							parent
							
								
									a47e3584d3
								
							
						
					
					
						commit
						3c2794dcc9
					
				
					 5 changed files with 25 additions and 8 deletions
				
			
		|  | @ -357,6 +357,7 @@ installed_tests_execdir = join_paths(pipewire_libexecdir, 'installed-tests', pip | ||||||
| installed_tests_enabled = get_option('installed_tests') | installed_tests_enabled = get_option('installed_tests') | ||||||
| installed_tests_template = files('template.test.in') | installed_tests_template = files('template.test.in') | ||||||
| 
 | 
 | ||||||
|  | subdir('po') | ||||||
| subdir('spa') | subdir('spa') | ||||||
| subdir('src') | subdir('src') | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -0,0 +1 @@ | ||||||
|  | gl | ||||||
							
								
								
									
										9
									
								
								po/gl.po
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								po/gl.po
									
										
									
									
									
								
							|  | @ -5,8 +5,9 @@ | ||||||
| msgid "" | msgid "" | ||||||
| msgstr "" | msgstr "" | ||||||
| "Project-Id-Version: pipewire VERSION\n" | "Project-Id-Version: pipewire VERSION\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | "Report-Msgid-Bugs-To: https://gitlab.freedesktop.org/pipewire/pipewire/" | ||||||
| "POT-Creation-Date: 2021-01-07 14:22+0100\n" | "issues/new\n" | ||||||
|  | "POT-Creation-Date: 2021-01-08 10:06+0100\n" | ||||||
| "PO-Revision-Date: 2021-01-07 14:23+0100\n" | "PO-Revision-Date: 2021-01-07 14:23+0100\n" | ||||||
| "Last-Translator: Fran Dieguez <frandieguez@gnome.org>\n" | "Last-Translator: Fran Dieguez <frandieguez@gnome.org>\n" | ||||||
| "Language-Team: Galician <proxecto@trasno.gal>\n" | "Language-Team: Galician <proxecto@trasno.gal>\n" | ||||||
|  | @ -17,10 +18,10 @@ msgstr "" | ||||||
| "Plural-Forms: nplurals=2; plural=(n != 1)\n" | "Plural-Forms: nplurals=2; plural=(n != 1)\n" | ||||||
| "X-Generator: Gtranslator 3.38.0\n" | "X-Generator: Gtranslator 3.38.0\n" | ||||||
| 
 | 
 | ||||||
| #: ../src/daemon/pipewire.desktop.in.h:1 | #: src/daemon/pipewire.desktop.in:4 | ||||||
| msgid "PipeWire Media System" | msgid "PipeWire Media System" | ||||||
| msgstr "Sistema multimedia PipeWire" | msgstr "Sistema multimedia PipeWire" | ||||||
| 
 | 
 | ||||||
| #: ../src/daemon/pipewire.desktop.in.h:2 | #: src/daemon/pipewire.desktop.in:5 | ||||||
| msgid "Start the PipeWire Media System" | msgid "Start the PipeWire Media System" | ||||||
| msgstr "Iniciar o Sistema multimedia PipeWire" | msgstr "Iniciar o Sistema multimedia PipeWire" | ||||||
|  |  | ||||||
|  | @ -53,6 +53,22 @@ executable('pipewire-pulse', | ||||||
|   dependencies : [pipewire_dep, ], |   dependencies : [pipewire_dep, ], | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | desktop_file = i18n.merge_file( | ||||||
|  |   input : 'pipewire.desktop.in', | ||||||
|  |   output : 'pipewire.desktop', | ||||||
|  |   po_dir : po_dir, | ||||||
|  |   type : 'desktop', | ||||||
|  | #  install : true, | ||||||
|  | #  install_dir : join_paths(pipewire_sysconfdir, 'xdg', 'autostart') | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | desktop_utils = find_program('desktop-file-validate', required: false) | ||||||
|  | if desktop_utils.found() | ||||||
|  |   test('Validate desktop file', desktop_utils, | ||||||
|  |     args: [ desktop_file ], | ||||||
|  |   ) | ||||||
|  | endif | ||||||
|  | 
 | ||||||
| if get_option('systemd') and systemd.found() | if get_option('systemd') and systemd.found() | ||||||
|   subdir('systemd') |   subdir('systemd') | ||||||
| endif | endif | ||||||
|  |  | ||||||
|  | @ -1,11 +1,9 @@ | ||||||
| [Desktop Entry] | [Desktop Entry] | ||||||
| Version=1.0 | Version=1.0 | ||||||
| _Name=PipeWire Media System | Name=PipeWire Media System | ||||||
| _Comment=Start the PipeWire Media System | Comment=Start the PipeWire Media System | ||||||
| Exec=pipewire | Exec=pipewire | ||||||
| Terminal=false | Terminal=false | ||||||
| Type=Application | Type=Application | ||||||
| Categories= |  | ||||||
| GenericName= |  | ||||||
| X-GNOME-Autostart-Phase=Initialization | X-GNOME-Autostart-Phase=Initialization | ||||||
| X-KDE-autostart-phase=1 | X-KDE-autostart-phase=1 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans