kopia lustrzana https://github.com/friendica/friendica
				
				
				
			Merge pull request #14888 from mf-fx/trending_tags_missing_translations
Add missing translations to trending tagspull/14915/head
						commit
						d1b8f31fe8
					
				| 
						 | 
				
			
			@ -38,6 +38,8 @@ class TrendingTags
 | 
			
		|||
		$o   = Renderer::replaceMacros($tpl, [
 | 
			
		||||
			'$title'    => DI::l10n()->tt('Trending Tags (last %d hour)', 'Trending Tags (last %d hours)', $period),
 | 
			
		||||
			'$more'     => DI::l10n()->t('More Trending Tags'),
 | 
			
		||||
			'$showmore' => DI::l10n()->t('Show More'),
 | 
			
		||||
			'$showless' => DI::l10n()->t('Show Less'),
 | 
			
		||||
			'$tags'     => $tags,
 | 
			
		||||
		]);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												Plik diff jest za duży
												Load Diff
											
										
									
								
							| 
						 | 
				
			
			@ -27,7 +27,7 @@
 | 
			
		|||
			<div style="text-align: left; margin-top: 10px;">
 | 
			
		||||
				<a href="#" onclick="toggleTags(event)" role="button" aria-expanded="false" aria-controls="more-tags" style="text-decoration: none; color: inherit; cursor: pointer; display: inline-flex; align-items: center; font-weight: bold;">
 | 
			
		||||
					<i id="caret-icon" class="fa fa-caret-right" aria-hidden="true" style="margin-right: 5px;"></i>
 | 
			
		||||
					<span id="link-text">Show More</span>
 | 
			
		||||
					<span id="link-text">{{$showmore}}</span>
 | 
			
		||||
				</a>
 | 
			
		||||
			</div>
 | 
			
		||||
			<ul id="more-tags" style="display:none; list-style-type: none; padding: 0; margin: 0;">
 | 
			
		||||
| 
						 | 
				
			
			@ -53,12 +53,12 @@
 | 
			
		|||
 | 
			
		||||
		if (moreTags.style.display === 'none') {
 | 
			
		||||
			moreTags.style.display = 'block';
 | 
			
		||||
			linkText.textContent = 'Show Less';
 | 
			
		||||
			linkText.textContent = '{{$showless}}';
 | 
			
		||||
			link.setAttribute('aria-expanded', 'true');
 | 
			
		||||
			caretIcon.className = 'fa fa-caret-down';
 | 
			
		||||
		} else {
 | 
			
		||||
			moreTags.style.display = 'none';
 | 
			
		||||
			linkText.textContent = 'Show More';
 | 
			
		||||
			linkText.textContent = '{{$showmore}}';
 | 
			
		||||
			link.setAttribute('aria-expanded', 'false');
 | 
			
		||||
			caretIcon.className = 'fa fa-caret-right';
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue