mirror of https://github.com/harness/drone.git
Fix message encoding (#81)
parent
21eb0f61b6
commit
e5fe4b67fe
|
@ -93,6 +93,7 @@ export interface StringsMap {
|
|||
signIn: string
|
||||
signUp: string
|
||||
status: string
|
||||
updateFile: string
|
||||
updated: string
|
||||
'validation.gitBranchNameInvalid': string
|
||||
'validation.repoNamePatternIsNotValid': string
|
||||
|
|
|
@ -78,7 +78,7 @@ commitDirectlyTo: 'Commit directly to the <strong style="color: var(--primary-7)
|
|||
commitToNewBranch: Create a <strong>new branch</strong> for this commit and start a pull request
|
||||
enterNewBranchName: New branch name
|
||||
onDate: on {{date}}
|
||||
deleteFile: Delete file {{path}}
|
||||
deleteFile: Delete file __path__
|
||||
confirm: Confirm
|
||||
createABranch: Create a branch
|
||||
delete: Delete
|
||||
|
@ -96,3 +96,4 @@ browse: Browse
|
|||
compare: Compare
|
||||
branchDeleted: Branch {{branch}} deleted.
|
||||
failedToDeleteBranch: Failed to delete Branch. Please try again.
|
||||
updateFile: Update file __path__
|
||||
|
|
|
@ -62,7 +62,7 @@ export function FileContent({
|
|||
icon={GitIcon.CodeDelete}
|
||||
tooltipProps={{ isDark: true }}
|
||||
tooltip={getString('delete')}
|
||||
commitMessagePlaceHolder={getString('deleteFile', { path: resourcePath })}
|
||||
commitMessagePlaceHolder={getString('deleteFile').replace('__path__', resourcePath)}
|
||||
gitRef={gitRef}
|
||||
resourcePath={resourcePath}
|
||||
onSubmit={data => console.log({ data })}
|
||||
|
|
|
@ -142,7 +142,7 @@ function Editor({
|
|||
<CommitModalButton
|
||||
text={getString('commitChanges')}
|
||||
variation={ButtonVariation.PRIMARY}
|
||||
commitMessagePlaceHolder={'Update file...'}
|
||||
commitMessagePlaceHolder={getString('updateFile').replace('__path__', fileResourcePath)}
|
||||
gitRef={gitRef}
|
||||
resourcePath={fileResourcePath}
|
||||
onSubmit={data => console.log({ data })}
|
||||
|
|
Loading…
Reference in New Issue