mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
50609b078a
Closes the UI half of #1168: in the Places selection mode, a new tag button before delete opens a category picker that applies one category (or "No category") to every selected place in a single request. Adds a REST /places/bulk-update endpoint reusing updatePlacesMany, an offline-aware repo + store action that patches both the place pool and the day-assignment projections, undo grouped by each place's prior category, and the i18n keys across all locales.
24 lines
861 B
TypeScript
24 lines
861 B
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const undo: TranslationStrings = {
|
|
'undo.button': 'Undo',
|
|
'undo.tooltip': 'Undo: {action}',
|
|
'undo.assignPlace': 'Place assigned to day',
|
|
'undo.removeAssignment': 'Place removed from day',
|
|
'undo.reorder': 'Places reordered',
|
|
'undo.optimize': 'Route optimized',
|
|
'undo.deletePlace': 'Place deleted',
|
|
'undo.deletePlaces': 'Places deleted',
|
|
'undo.changeCategory': "Category changed",
|
|
'undo.moveDay': 'Place moved to another day',
|
|
'undo.lock': 'Place lock toggled',
|
|
'undo.importGpx': 'GPX import',
|
|
'undo.importKeyholeMarkup': 'KMZ/KML import',
|
|
'undo.importGoogleList': 'Google Maps import',
|
|
'undo.importNaverList': 'Naver Maps import',
|
|
'undo.importBooking': 'Booking confirmation import',
|
|
'undo.addPlace': 'Place added',
|
|
'undo.done': 'Undone: {action}',
|
|
};
|
|
export default undo;
|