mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-31 02:25:53 +01:00 
			
		
		
		
	Bugfix Typo in Diff Load Lines
A typo was fixed by adding an additional check to see if we have 1 or more than 1 lines to load Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com> Co-authored-by: tarik-guersoy <tarik.guersoy@cloudogu.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								gradle/changelog/hunk_typo.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								gradle/changelog/hunk_typo.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | - type: bugfix | ||||||
|  |   description: A typo on a button for loading more lines in the diff tab has been fixed | ||||||
| @@ -47,7 +47,8 @@ const HunkHeader: FC<Props> = ({ expandableHunk, diffExpanded, diffExpansionFail | |||||||
|           <HunkExpandLink |           <HunkExpandLink | ||||||
|             icon={"fa-angle-double-up"} |             icon={"fa-angle-double-up"} | ||||||
|             onClick={expandHead(expandableHunk, expandableHunk.maxExpandHeadRange)} |             onClick={expandHead(expandableHunk, expandableHunk.maxExpandHeadRange)} | ||||||
|             text={t("diff.expandComplete", { count: expandableHunk.maxExpandHeadRange })} |             text={t("diff.expandComplete", { count: expandableHunk.maxExpandHeadRange }) | ||||||
|  |             } | ||||||
|           /> |           /> | ||||||
|         </HunkExpandDivider> |         </HunkExpandDivider> | ||||||
|       ); |       ); | ||||||
|   | |||||||
| @@ -528,10 +528,10 @@ | |||||||
|     "sideBySide": "Zur zweispaltigen Ansicht wechseln", |     "sideBySide": "Zur zweispaltigen Ansicht wechseln", | ||||||
|     "combined": "Zur kombinierten Ansicht wechseln", |     "combined": "Zur kombinierten Ansicht wechseln", | ||||||
|     "noDiffFound": "Kein Diff zwischen den ausgewählten Branches gefunden.", |     "noDiffFound": "Kein Diff zwischen den ausgewählten Branches gefunden.", | ||||||
|     "expandByLines": "{{count}} weitere Zeile laden", |     "expandByLines_one": "{{count}} weitere Zeile laden", | ||||||
|     "expandByLines_plural": "{{count}} weitere Zeilen laden", |     "expandByLines_other": "{{count}} weitere Zeilen laden", | ||||||
|     "expandComplete": "{{count}} verbleibende Zeile laden", |     "expandComplete_one": "{{count}} verbleibende Zeile laden", | ||||||
|     "expandComplete_plural": "Alle {{count}} verbleibenden Zeilen laden", |     "expandComplete_other": "Alle {{count}} verbleibenden Zeilen laden", | ||||||
|     "expandLastBottomByLines": "Bis zu {{count}} weitere Zeilen laden", |     "expandLastBottomByLines": "Bis zu {{count}} weitere Zeilen laden", | ||||||
|     "expandLastBottomComplete": "Alle verbleibenden Zeilen laden", |     "expandLastBottomComplete": "Alle verbleibenden Zeilen laden", | ||||||
|     "expanding": "Zeilen werden geladen ...", |     "expanding": "Zeilen werden geladen ...", | ||||||
|   | |||||||
| @@ -535,10 +535,10 @@ | |||||||
|     "sideBySide": "Switch to side-by-side view", |     "sideBySide": "Switch to side-by-side view", | ||||||
|     "combined": "Switch to combined view", |     "combined": "Switch to combined view", | ||||||
|     "noDiffFound": "No Diff between the selected branches found.", |     "noDiffFound": "No Diff between the selected branches found.", | ||||||
|     "expandByLines": "load {{count}} more line", |     "expandByLines_one": "load {{count}} more line", | ||||||
|     "expandByLines_plural": "load {{count}} more lines", |     "expandByLines_other": "load {{count}} more lines", | ||||||
|     "expandComplete": "load {{count}} remaining line", |     "expandComplete_one": "load {{count}} remaining line", | ||||||
|     "expandComplete_plural": "load all {{count}} remaining lines", |     "expandComplete_other": "load all {{count}} remaining lines", | ||||||
|     "expandLastBottomByLines": "load up to {{count}} more lines", |     "expandLastBottomByLines": "load up to {{count}} more lines", | ||||||
|     "expandLastBottomComplete": "load all remaining lines", |     "expandLastBottomComplete": "load all remaining lines", | ||||||
|     "expanding": "loading lines ...", |     "expanding": "loading lines ...", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user