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

View file

@ -369,7 +369,7 @@ const LocationPicker: React.FC<LocationPickerProps> = ({ onSelect, 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"
>
{translate('::App.Platform.Intranet.SocialWall.LocationPicker.Cancel')}
{translate('::Cancel')}
</button>
<button
onClick={handleConfirm}

View file

@ -222,7 +222,7 @@ const MediaManager: React.FC<MediaManagerProps> = ({ media, onChange, 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"
>
{translate('::App.Platform.Intranet.SocialWall.MediaManager.Cancel')}
{translate('::Cancel')}
</button>
<button
onClick={onClose}

View file

@ -118,7 +118,7 @@ const ExpenseRequestModal: React.FC<ExpenseRequestModalProps> = ({ onClose, onSu
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"
>
{translate('::App.Platform.Intranet.ExpenseRequestModal.Cancel')}
{translate('::Cancel')}
</button>
<button
type="submit"

View file

@ -103,7 +103,7 @@ const LeaveRequestModal: React.FC<LeaveRequestModalProps> = ({ onClose, onSubmit
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"
>
{translate('::App.Platform.Intranet.LeaveRequestModal.Cancel')}
{translate('::Cancel')}
</button>
<button
type="submit"

View file

@ -98,7 +98,7 @@ const OvertimeRequestModal: React.FC<OvertimeRequestModalProps> = ({ onClose, on
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"
>
{translate('::App.Platform.Intranet.OvertimeRequestModal.Cancel')}
{translate('::Cancel')}
</button>
<button
type="submit"

View file

@ -143,7 +143,7 @@ const ReservationRequestModal: React.FC<ReservationRequestModalProps> = ({ onClo
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"
>
{translate('::App.Platform.Intranet.ReservationRequestModal.Cancel')}
{translate('::Cancel')}
</button>
<button
type="submit"

View file

@ -256,7 +256,7 @@ const SurveyModal: React.FC<SurveyModalProps> = ({ survey, onClose, onSubmit })
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"
>
{translate('::App.Platform.Intranet.SurveyModal.Cancel')}
{translate('::Cancel')}
</button>
<button
type="submit"

View file

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

View file

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

View file

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

View file

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