1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "dbmm_global.hrc"
#include "macromigration.hrc"
ModalDialog DLG_MACRO_MIGRATION
{
HelpID = "dbaccess:ModalDialog:DLG_MACRO_MIGRATION";
OutputSize = TRUE ;
Moveable = TRUE;
Closeable = TRUE ;
Hide = TRUE;
Text[ en-US ] = "Database Document Macro Migration" ;
String STR_STATE_CLOSE_SUB_DOCS
{
Text [ en-US ] = "Prepare";
};
String STR_STATE_BACKUP_DBDOC
{
Text [ en-US ] = "Backup Document";
};
String STR_STATE_MIGRATE
{
Text [ en-US ] = "Migrate";
};
String STR_STATE_SUMMARY
{
Text [ en-US ] = "Summary";
};
};
//= PreparationPage
TabPage TP_PREPARE
{
HelpID = "dbaccess:TabPage:TP_PREPARE";
Pos = MAP_APPFONT( 40, 130 );
Size = MAP_APPFONT( TAB_PAGE_WIDTH, TAB_PAGE_HEIGHT );
Hide = TRUE;
FixedText FT_HEADER
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_CONTENT_MARGIN );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
Text [ en-US ] = "Welcome to the Database Macro Migration Wizard";
};
FixedText FT_INTRODUCTION
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN,
TAB_PAGE_HEIGHT - CONTENT_POS_X - TAB_PAGE_CONTENT_MARGIN - ( 2 * FIXED_TEXT_HEIGHT - SPACING_UNRELATED ) );
WordBreak = TRUE;
Text [ en-US ] = "This wizard will guide you through the task of migrating your macros.\n\n"
"After you finished it, all macros which were formerly embedded into the forms and reports of "
"the current database document will have been moved to the document itself. In this course, "
"libraries will be renamed as needed.\n\n"
"If your forms and reports contain references to those macros, they will be adjusted, where "
"possible.\n\n"
"Before the migration can start, all forms, reports, queries and tables belonging to the document must be closed. "
"Press 'Next' to do so.";
};
FixedText FT_CLOSE_DOC_ERROR
{
Pos = MAP_APPFONT ( TAB_PAGE_CONTENT_MARGIN,
TAB_PAGE_HEIGHT - TAB_PAGE_CONTENT_MARGIN - ( 2 * FIXED_TEXT_HEIGHT - SPACING_UNRELATED ) );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN,
2 * FIXED_TEXT_HEIGHT - SPACING_UNRELATED );
Text [ en-US ] = "Not all objects could be closed. Please close them manually, and re-start the wizard.";
hide = TRUE;
};
};
//= SaveDBDocPage
TabPage TP_SAVE_DBDOC_AS
{
HelpID = "dbaccess:TabPage:TP_SAVE_DBDOC_AS";
Pos = MAP_APPFONT( 40, 130 );
Size = MAP_APPFONT( TAB_PAGE_WIDTH, TAB_PAGE_HEIGHT );
Hide = TRUE;
FixedText FT_HEADER
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_CONTENT_MARGIN );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
Text [ en-US ] = "Backup your Document";
};
FixedText FT_EXPLANATION
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, 5 * FIXED_TEXT_HEIGHT );
WordBreak = TRUE;
Text [ en-US ] = "To allow you to go back to the state before the migration, the database "
"document will be backed up to a location of your choice. Every change done by the wizard will "
"be made to the original document, the backup will stay untouched.";
};
FixedText FT_SAVE_AS_LABEL
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X + 5 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
Size = MAP_APPFONT( 60, INPUT_HEIGHT );
VCenter = TRUE;
Text [ en-US ] = "Save To:";
};
ComboBox ED_SAVE_AS_LOCATION
{
HelpID = "dbaccess:ComboBox:TP_SAVE_DBDOC_AS:ED_SAVE_AS_LOCATION";
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN + 60 + SPACING_RELATED,
CONTENT_POS_X + 5 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 + SPACING_RELATED ) - TAB_PAGE_CONTENT_MARGIN,
INPUT_HEIGHT );
Border = TRUE;
DropDown = TRUE ;
};
PushButton PB_BROWSE_SAVE_AS_LOCATION
{
HelpID = "dbaccess:PushButton:TP_SAVE_DBDOC_AS:PB_BROWSE_SAVE_AS_LOCATION";
Pos = MAP_APPFONT( TAB_PAGE_WIDTH - BUTTON_WIDTH - TAB_PAGE_CONTENT_MARGIN,
CONTENT_POS_X + 5 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + INPUT_HEIGHT + SPACING_RELATED );
Size = MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT );
Text [ en-US ] = "Browse ...";
};
FixedText FT_START_MIGRATION
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN,
TAB_PAGE_HEIGHT - TAB_PAGE_CONTENT_MARGIN - 3 * FIXED_TEXT_HEIGHT );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN,
3 * FIXED_TEXT_HEIGHT );
WordBreak = TRUE;
Text [ en-US ] = "Press 'Next' to save a copy of your document, and to begin the migration.";
};
};
//= ProgressPage
TabPage TP_MIGRATE
{
HelpID = "dbaccess:TabPage:TP_MIGRATE";
Pos = MAP_APPFONT( 40, 130 );
Size = MAP_APPFONT( TAB_PAGE_WIDTH, TAB_PAGE_HEIGHT );
Hide = TRUE;
FixedText FT_HEADER
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_CONTENT_MARGIN );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
Text [ en-US ] = "Migration Progress";
};
FixedText FT_OBJECT_COUNT
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, 2 * FIXED_TEXT_HEIGHT );
Text [ en-US ] = "The database document contains $forms$ form(s) and $reports$ report(s), which are currently being processed:";
WordBreak = TRUE;
};
FixedText FT_CURRENT_OBJECT_LABEL
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN,
CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
Size = MAP_APPFONT( 60, FIXED_TEXT_HEIGHT );
Text [ en-US ] = "Current object:";
};
FixedText FT_CURRENT_OBJECT
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN + 60,
CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ), FIXED_TEXT_HEIGHT );
};
FixedText FT_CURRENT_PROGRESS_LABEL
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN,
CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
Size = MAP_APPFONT( 60, FIXED_TEXT_HEIGHT );
Text [ en-US ] = "Current progress:";
};
FixedText FT_CURRENT_PROGRESS
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN + 60,
CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ), FIXED_TEXT_HEIGHT );
};
Window WND_CURRENT_PROGRESS
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN + 60,
CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ) - TAB_PAGE_CONTENT_MARGIN, PROGRESS_HEIGHT );
Border = TRUE;
BorderStyle = WINDOW_BORDER_MONO;
};
FixedText FT_ALL_PROGRESS_LABEL
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN,
CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED + PROGRESS_HEIGHT + SPACING_UNRELATED );
Size = MAP_APPFONT( 60, FIXED_TEXT_HEIGHT );
VCenter = TRUE;
Text [ en-US ] = "Overall progress:";
};
FixedText FT_OBJECT_COUNT_PROGRESS
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN + 60,
CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED + PROGRESS_HEIGHT + SPACING_UNRELATED );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ) - TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
Text [ en-US ] = "document $current$ of $overall$";
};
Window WND_ALL_PROGRESS
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN + 60,
CONTENT_POS_X + 2 * FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED + PROGRESS_HEIGHT + SPACING_UNRELATED + FIXED_TEXT_HEIGHT + SPACING_RELATED );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - ( TAB_PAGE_CONTENT_MARGIN + 60 ) - TAB_PAGE_CONTENT_MARGIN, PROGRESS_HEIGHT );
Border = TRUE;
BorderStyle = WINDOW_BORDER_MONO;
};
FixedText FT_MIGRATION_DONE
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_HEIGHT - TAB_PAGE_CONTENT_MARGIN - 2 * FIXED_TEXT_HEIGHT );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, 2 * FIXED_TEXT_HEIGHT );
WordBreak = TRUE;
Hide = TRUE;
Text [ en-US ] = "All forms and reports have been successfully processed. Press 'Next' to show a detailed summary.";
};
};
//= ResultPage
TabPage TP_SUMMARY
{
HelpID = "dbaccess:TabPage:TP_SUMMARY";
Pos = MAP_APPFONT( 40, 130 );
Size = MAP_APPFONT( TAB_PAGE_WIDTH, TAB_PAGE_HEIGHT );
Hide = TRUE;
FixedText FT_HEADER
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, TAB_PAGE_CONTENT_MARGIN );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
Text [ en-US ] = "Summary";
};
FixedText FT_CHANGES_LABEL
{
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN, FIXED_TEXT_HEIGHT );
WordBreak = TRUE;
};
MultiLineEdit ED_CHANGES
{
HelpID = "dbaccess:MultiLineEdit:TP_SUMMARY:ED_CHANGES";
Pos = MAP_APPFONT( TAB_PAGE_CONTENT_MARGIN, CONTENT_POS_X + FIXED_TEXT_HEIGHT + SPACING_RELATED );
Size = MAP_APPFONT( TAB_PAGE_WIDTH - 2 * TAB_PAGE_CONTENT_MARGIN,
TAB_PAGE_HEIGHT - ( CONTENT_POS_X + FIXED_TEXT_HEIGHT + SPACING_RELATED ) - TAB_PAGE_CONTENT_MARGIN );
ReadOnly = TRUE;
AutoVScroll = TRUE;
Border = TRUE;
BorderStyle = WINDOW_BORDER_MONO;
};
String STR_SUCCESSFUL
{
Text [ en-US ] = "The migration was successful. Below is a log of the actions which have been taken to your document.";
};
String STR_UNSUCCESSFUL
{
Text [ en-US ] = "The migration was not successful. Examine the migration log below for details.";
};
};
String STR_FORM
{
Text [ en-US ] = "Form '$name$'";
Text [ x-comment ] = "This refers to a form document inside a database document.";
};
String STR_REPORT
{
Text [ en-US ] = "Report '$name$'";
Text [ x-comment ] = "This refers to a report document inside a database document.";
};
String STR_OVERALL_PROGRESS
{
Text [ en-US ] = "document $current$ of $overall$";
};
String STR_DATABASE_DOCUMENT
{
Text[ en-US ] = "Database Document";
};
String STR_SAVED_COPY_TO
{
Text[ en-US ] = "saved copy to $location$";
};
String STR_MOVED_LIBRARY
{
Text[ en-US ] = "migrated $type$ library '$old$' to '$new$'";
};
String STR_LIBRARY_TYPE_AND_NAME
{
Text [ en-US ] = "$type$ library '$library$'";
};
String STR_MIGRATING_LIBS
{
Text [ en-US ] = "migrating libraries ...";
};
String STR_OOO_BASIC
{
Text[ en-US ] = "%PRODUCTNAME Basic";
};
String STR_JAVA_SCRIPT
{
Text[ en-US ] = "JavaScript";
};
String STR_BEAN_SHELL
{
Text[ en-US ] = "BeanShell";
};
String STR_JAVA
{
Text[ en-US ] = "Java";
};
String STR_PYTHON
{
Text[ en-US ] = "Python";
};
String STR_DIALOG
{
Text[ en-US ] = "dialog";
};
String STR_ERRORS
{
Text [ en-US ] = "Error(s)";
};
String STR_WARNINGS
{
Text [ en-US ] = "Warnings";
};
String STR_EXCEPTION
{
Text [ en-US ] = "caught exception:";
};
ErrorBox ERR_INVALID_BACKUP_LOCATION
{
Buttons = WB_OK;
Message [ en-US ] = "You need to choose a backup location other than the document location itself.";
};
String STR_INVALID_NUMBER_ARGS
{
Text [ en-US ] = "Invalid number of initialization arguments. Expected 1.";
};
String STR_NO_DATABASE
{
Text [ en-US ] = "No database document found in the initialization arguments.";
};
String STR_NOT_READONLY
{
Text [ en-US ] = "Not applicable to read-only documents.";
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|