mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	add i18n
This commit is contained in:
		
							
								
								
									
										5
									
								
								i18n/en.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								i18n/en.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | - id: nextPage | ||||||
|  |   translation: "Next Page" | ||||||
|  |  | ||||||
|  | - id: prevPage | ||||||
|  |   translation: "Prev Page" | ||||||
							
								
								
									
										5
									
								
								i18n/ru.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								i18n/ru.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | - id: nextPage | ||||||
|  |   translation: "Туда" | ||||||
|  |  | ||||||
|  | - id: prevPage | ||||||
|  |   translation: "Сюда" | ||||||
| @@ -33,10 +33,10 @@ | |||||||
| <footer class="list-footer"> | <footer class="list-footer"> | ||||||
|   <nav class="pagination"> |   <nav class="pagination"> | ||||||
|     {{ if $paginator.HasPrev }} |     {{ if $paginator.HasPrev }} | ||||||
|     <a class="pagination-prev" href="{{ $paginator.Prev.URL }}">← Prev Page</a> |     <a class="pagination-prev" href="{{ $paginator.Prev.URL }}">← {{ i18n "prevPage" }}</a> | ||||||
|     {{ end }} |     {{ end }} | ||||||
|     {{ if $paginator.HasNext }} |     {{ if $paginator.HasNext }} | ||||||
|     <a class="pagination-next" href="{{ $paginator.Next.URL }}">Next Page →</a> |     <a class="pagination-next" href="{{ $paginator.Next.URL }}">{{ i18n "nextPage" }} →</a> | ||||||
|     {{ end }} |     {{ end }} | ||||||
|   </nav> |   </nav> | ||||||
| </footer> | </footer> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Ovchinnikov
					Michael Ovchinnikov