Translate seeder

This commit is contained in:
Sedat Öztürk 2026-01-27 21:35:02 +03:00
parent 45a89bd41a
commit b3989e4a08
13 changed files with 15 additions and 75 deletions

View file

@ -10266,12 +10266,6 @@
"tr": "Değiştir", "tr": "Değiştir",
"en": "Replace" "en": "Replace"
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Cancel",
"tr": "İptal",
"en": "Cancel"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Loading", "key": "App.Platform.Loading",
@ -10938,12 +10932,6 @@
"tr": "Alan seçin...", "tr": "Alan seçin...",
"en": "Select field..." "en": "Select field..."
}, },
{
"resourceName": "Platform",
"key": "App.Platform.ChartDrawer.Cancel",
"tr": "İptal",
"en": "Cancel"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.ChartDrawer.Save", "key": "App.Platform.ChartDrawer.Save",
@ -11053,12 +11041,6 @@
"tr": "İzin sebebinizi yazınız...", "tr": "İzin sebebinizi yazınız...",
"en": "Enter your leave reason..." "en": "Enter your leave reason..."
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Intranet.LeaveRequestModal.Cancel",
"tr": "İptal",
"en": "Cancel"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Intranet.LeaveRequestModal.Submit", "key": "App.Platform.Intranet.LeaveRequestModal.Submit",
@ -11149,12 +11131,6 @@
"tr": "Ek bilgi (opsiyonel)...", "tr": "Ek bilgi (opsiyonel)...",
"en": "Additional info (optional)..." "en": "Additional info (optional)..."
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Intranet.ExpenseRequestModal.Cancel",
"tr": "İptal",
"en": "Cancel"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Intranet.ExpenseRequestModal.Submit", "key": "App.Platform.Intranet.ExpenseRequestModal.Submit",
@ -11197,12 +11173,6 @@
"tr": "Mesai sebebinizi yazınız...", "tr": "Mesai sebebinizi yazınız...",
"en": "Enter your overtime reason..." "en": "Enter your overtime reason..."
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Intranet.OvertimeRequestModal.Cancel",
"tr": "İptal",
"en": "Cancel"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Intranet.OvertimeRequestModal.Submit", "key": "App.Platform.Intranet.OvertimeRequestModal.Submit",
@ -11311,12 +11281,6 @@
"tr": "Rezervasyon talebiniz yönetici onayına sunulacaktır.", "tr": "Rezervasyon talebiniz yönetici onayına sunulacaktır.",
"en": "Your reservation request will be submitted for manager approval." "en": "Your reservation request will be submitted for manager approval."
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Intranet.ReservationRequestModal.Cancel",
"tr": "İptal",
"en": "Cancel"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Intranet.ReservationRequestModal.Submit", "key": "App.Platform.Intranet.ReservationRequestModal.Submit",
@ -11413,12 +11377,6 @@
"tr": "Yorumlarınızı buraya yazabilirsiniz...", "tr": "Yorumlarınızı buraya yazabilirsiniz...",
"en": "You can write your comments here..." "en": "You can write your comments here..."
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Intranet.SurveyModal.Cancel",
"tr": "İptal",
"en": "Cancel"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Intranet.SurveyModal.Submit", "key": "App.Platform.Intranet.SurveyModal.Submit",
@ -11509,12 +11467,6 @@
"en": "Select a location", "en": "Select a location",
"tr": "Bir konum seçin" "tr": "Bir konum seçin"
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Intranet.SocialWall.LocationPicker.Cancel",
"en": "Cancel",
"tr": "İptal"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Intranet.SocialWall.LocationPicker.Add", "key": "App.Platform.Intranet.SocialWall.LocationPicker.Add",
@ -11605,12 +11557,6 @@
"en": "🎥", "en": "🎥",
"tr": "🎥" "tr": "🎥"
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Intranet.SocialWall.MediaManager.Cancel",
"en": "Cancel",
"tr": "İptal"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Intranet.SocialWall.MediaManager.Done", "key": "App.Platform.Intranet.SocialWall.MediaManager.Done",
@ -12229,12 +12175,6 @@
"tr": "Tüm medyaları kaldır", "tr": "Tüm medyaları kaldır",
"en": "Remove all media" "en": "Remove all media"
}, },
{
"resourceName": "Platform",
"key": "App.Platform.Intranet.SocialWall.CreatePost.Cancel",
"tr": "Vazgeç",
"en": "Cancel"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Platform.Intranet.SocialWall.CreatePost.Location", "key": "App.Platform.Intranet.SocialWall.CreatePost.Location",

View file

@ -197,7 +197,7 @@ const CreatePost: React.FC<CreatePostProps> = ({ onCreatePost }) => {
className="text-sm text-red-600 hover:text-red-700 font-medium" className="text-sm text-red-600 hover:text-red-700 font-medium"
title={translate('::App.Platform.Intranet.SocialWall.CreatePost.RemoveAllMediaTitle')} title={translate('::App.Platform.Intranet.SocialWall.CreatePost.RemoveAllMediaTitle')}
> >
{translate('::App.Platform.Intranet.SocialWall.CreatePost.Cancel')} {translate('::Cancel')}
</button> </button>
</div> </div>
<div className="grid grid-cols-4 gap-2"> <div className="grid grid-cols-4 gap-2">
@ -257,7 +257,7 @@ const CreatePost: React.FC<CreatePostProps> = ({ onCreatePost }) => {
className="text-sm text-red-600 hover:text-red-700 font-medium" className="text-sm text-red-600 hover:text-red-700 font-medium"
title={translate('::App.Platform.Intranet.SocialWall.CreatePost.RemoveLocationTitle')} title={translate('::App.Platform.Intranet.SocialWall.CreatePost.RemoveLocationTitle')}
> >
{translate('::App.Platform.Intranet.SocialWall.CreatePost.Cancel')} {translate('::Cancel')}
</button> </button>
</div> </div>
<div className="p-3 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-700"> <div className="p-3 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-700">
@ -293,7 +293,7 @@ const CreatePost: React.FC<CreatePostProps> = ({ onCreatePost }) => {
className="text-sm text-red-600 hover:text-red-700 font-medium" className="text-sm text-red-600 hover:text-red-700 font-medium"
title={translate('::App.Platform.Intranet.SocialWall.CreatePost.RemovePollTitle')} title={translate('::App.Platform.Intranet.SocialWall.CreatePost.RemovePollTitle')}
> >
{translate('::App.Platform.Intranet.SocialWall.CreatePost.Cancel')} {translate('::Cancel')}
</button> </button>
</div> </div>
<input <input

View file

@ -369,7 +369,7 @@ const LocationPicker: React.FC<LocationPickerProps> = ({ onSelect, onClose }) =>
onClick={onClose} onClick={onClose}
className="px-4 py-2 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-lg transition-colors" className="px-4 py-2 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-lg transition-colors"
> >
{translate('::App.Platform.Intranet.SocialWall.LocationPicker.Cancel')} {translate('::Cancel')}
</button> </button>
<button <button
onClick={handleConfirm} onClick={handleConfirm}

View file

@ -222,7 +222,7 @@ const MediaManager: React.FC<MediaManagerProps> = ({ media, onChange, onClose })
onClick={onClose} onClick={onClose}
className="px-4 py-2 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors" className="px-4 py-2 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"
> >
{translate('::App.Platform.Intranet.SocialWall.MediaManager.Cancel')} {translate('::Cancel')}
</button> </button>
<button <button
onClick={onClose} onClick={onClose}

View file

@ -118,7 +118,7 @@ const ExpenseRequestModal: React.FC<ExpenseRequestModalProps> = ({ onClose, onSu
onClick={onClose} onClick={onClose}
className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors" className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors"
> >
{translate('::App.Platform.Intranet.ExpenseRequestModal.Cancel')} {translate('::Cancel')}
</button> </button>
<button <button
type="submit" type="submit"

View file

@ -103,7 +103,7 @@ const LeaveRequestModal: React.FC<LeaveRequestModalProps> = ({ onClose, onSubmit
onClick={onClose} onClick={onClose}
className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors" className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors"
> >
{translate('::App.Platform.Intranet.LeaveRequestModal.Cancel')} {translate('::Cancel')}
</button> </button>
<button <button
type="submit" type="submit"

View file

@ -98,7 +98,7 @@ const OvertimeRequestModal: React.FC<OvertimeRequestModalProps> = ({ onClose, on
onClick={onClose} onClick={onClose}
className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors" className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors"
> >
{translate('::App.Platform.Intranet.OvertimeRequestModal.Cancel')} {translate('::Cancel')}
</button> </button>
<button <button
type="submit" type="submit"

View file

@ -143,7 +143,7 @@ const ReservationRequestModal: React.FC<ReservationRequestModalProps> = ({ onClo
onClick={onClose} onClick={onClose}
className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors" className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors"
> >
{translate('::App.Platform.Intranet.ReservationRequestModal.Cancel')} {translate('::Cancel')}
</button> </button>
<button <button
type="submit" type="submit"

View file

@ -256,7 +256,7 @@ const SurveyModal: React.FC<SurveyModalProps> = ({ survey, onClose, onSubmit })
onClick={onClose} onClick={onClose}
className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors" className="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors"
> >
{translate('::App.Platform.Intranet.SurveyModal.Cancel')} {translate('::Cancel')}
</button> </button>
<button <button
type="submit" type="submit"

View file

@ -346,7 +346,7 @@ const ChartDrawer = ({
{/* Footer */} {/* Footer */}
<div className="p-4 border-t bg-gray-50 flex gap-2"> <div className="p-4 border-t bg-gray-50 flex gap-2">
<Button type="button" variant="plain" onClick={onClose} className="flex-1"> <Button type="button" variant="plain" onClick={onClose} className="flex-1">
{translate('::App.Platform.ChartDrawer.Cancel')} {translate('::Cancel')}
</Button> </Button>
<Button variant="solid" loading={isSubmitting} type="submit" className="flex-1"> <Button variant="solid" loading={isSubmitting} type="submit" className="flex-1">
<div className="flex items-center justify-center gap-2"> <div className="flex items-center justify-center gap-2">

View file

@ -990,7 +990,7 @@ GO`,
</p> </p>
<div className="flex justify-end gap-2"> <div className="flex justify-end gap-2">
<Button variant="plain" onClick={handleCancelTemplateReplace}> <Button variant="plain" onClick={handleCancelTemplateReplace}>
{translate('::App.Platform.Cancel')} {translate('::Cancel')}
</Button> </Button>
<Button variant="solid" onClick={handleConfirmTemplateReplace}> <Button variant="solid" onClick={handleConfirmTemplateReplace}>
{translate('::App.Platform.Replace')} {translate('::App.Platform.Replace')}
@ -1064,7 +1064,7 @@ GO`,
</div> </div>
<div className="flex justify-end gap-2"> <div className="flex justify-end gap-2">
<Button variant="plain" onClick={() => setShowSaveDialog(false)}> <Button variant="plain" onClick={() => setShowSaveDialog(false)}>
{translate('::App.Platform.Cancel')} {translate('::Cancel')}
</Button> </Button>
<Button <Button
variant="solid" variant="solid"

View file

@ -571,7 +571,7 @@ const SqlObjectExplorer = ({
<p className="mb-4">{translate('::App.Platform.DeleteConfirmationMessage')}</p> <p className="mb-4">{translate('::App.Platform.DeleteConfirmationMessage')}</p>
<div className="flex justify-end gap-2"> <div className="flex justify-end gap-2">
<Button variant="plain" onClick={() => setShowDeleteDialog(false)}> <Button variant="plain" onClick={() => setShowDeleteDialog(false)}>
{translate('::App.Platform.Cancel')} {translate('::Cancel')}
</Button> </Button>
<Button variant="solid" onClick={handleDelete}> <Button variant="solid" onClick={handleDelete}>
{translate('::App.Platform.DeleteAction')} {translate('::App.Platform.DeleteAction')}

View file

@ -273,7 +273,7 @@ const TemplateDialog = ({ isOpen, onClose, onUseTemplate }: TemplateDialogProps)
{/* Action Buttons */} {/* Action Buttons */}
<div className="flex justify-end gap-2 mt-4 pt-4 border-t"> <div className="flex justify-end gap-2 mt-4 pt-4 border-t">
<Button variant="plain" onClick={handleClose}> <Button variant="plain" onClick={handleClose}>
{translate('::App.Platform.Cancel')} {translate('::Cancel')}
</Button> </Button>
<Button <Button
variant="solid" variant="solid"