mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	i18n: Automatically strip Handlebars strings.
Some Handlebars strings contained whitespaces characters at their ends. With this, such characters are removed, as well as multiple spaces (like the ones produced by code indentation). This also includes a couple of fixes that removes spaces that were intentionally placed before/after the string to translate.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							31c92cdcbc
						
					
				
				
					commit
					e710110a9e
				
			@@ -57,10 +57,10 @@ IGNORED_PHRASES = [
 | 
			
		||||
    # Fragments of larger strings
 | 
			
		||||
    (r'Change notification settings for individual streams on your '
 | 
			
		||||
     '<a href="/#streams">Streams page</a>.'),
 | 
			
		||||
    (r'<p class="bot-settings-note padded-container"> Looking for our '
 | 
			
		||||
    (r'Looking for our '
 | 
			
		||||
     '<a href="/integrations" target="_blank">Integrations</a> or '
 | 
			
		||||
     '<a href="{{ server_uri }}/api" target="_blank">API</a> '
 | 
			
		||||
     'documentation? </p>'),
 | 
			
		||||
     'documentation?'),
 | 
			
		||||
    r'Most stream administration is done on the <a href="/#streams">Streams page</a>.',
 | 
			
		||||
    r"one or more people...",
 | 
			
		||||
    r"confirmation email",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user