mirror of
				https://git.tt-rss.org/fox/tt-rss.git
				synced 2025-11-04 05:41:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			227 B
		
	
	
	
		
			Perl
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			227 B
		
	
	
	
		
			Perl
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/perl -w
 | 
						|
#
 | 
						|
use strict;
 | 
						|
 | 
						|
while (<STDIN>) {
 | 
						|
	chomp;
 | 
						|
 | 
						|
	if (/(__|notify_progress|notify|notify_info|notify_error)\(['"](.*?)['"]\)/) {
 | 
						|
		my $msg = $2;
 | 
						|
 | 
						|
		$msg =~ s/\"/\\\"/g;
 | 
						|
 | 
						|
		print "print T_js_decl(\"$msg\");\n";
 | 
						|
	}
 | 
						|
}
 |