mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	streams: Update translated errors for stream to channel rename.
Updates translated JsonableError strings that relate to streams to use channel instead of stream. Separated from other error string updates as this is a dense area of changes for this rename. Part of stream to channel rename project.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							c1f1dc4b25
						
					
				
				
					commit
					91ffb548cc
				
			@@ -99,7 +99,7 @@ def update_user_topic(
 | 
			
		||||
    visibility_policy: int = REQ(json_validator=check_int_in(UserTopic.VisibilityPolicy.values)),
 | 
			
		||||
) -> HttpResponse:
 | 
			
		||||
    if visibility_policy == UserTopic.VisibilityPolicy.INHERIT:
 | 
			
		||||
        error = _("Invalid stream ID")
 | 
			
		||||
        error = _("Invalid channel ID")
 | 
			
		||||
        stream = access_stream_to_remove_visibility_policy_by_id(user_profile, stream_id, error)
 | 
			
		||||
    else:
 | 
			
		||||
        (stream, sub) = access_stream_by_id(user_profile, stream_id)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user