- Timestamp:
- Nov 25, 2021, 12:27:52 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContact.lfm
r31 r33 17 17 Top = 10 18 18 Width = 893 19 ActivePage = TabSheet All19 ActivePage = TabSheetGeneral 20 20 Anchors = [akTop, akLeft, akRight, akBottom] 21 21 ParentFont = False 22 TabIndex = 222 TabIndex = 0 23 23 TabOrder = 0 24 24 object TabSheetGeneral: TTabSheet … … 30 30 Left = 16 31 31 Height = 24 32 Top = 2433 Width = 5634 Caption = ' Name:'35 ParentColor = False 36 ParentFont = False 37 end 38 object Edit Name: TEdit32 Top = 72 33 Width = 94 34 Caption = 'First name:' 35 ParentColor = False 36 ParentFont = False 37 end 38 object EditFirstName: TEdit 39 39 Left = 144 40 40 Height = 42 41 Top = 1641 Top = 64 42 42 Width = 254 43 43 ParentFont = False … … 47 47 Left = 16 48 48 Height = 24 49 Top = 7249 Top = 170 50 50 Width = 95 51 51 Caption = 'Cell phone:' … … 56 56 Left = 144 57 57 Height = 42 58 Top = 6258 Top = 160 59 59 Width = 254 60 60 ParentFont = False … … 64 64 Left = 144 65 65 Height = 42 66 Top = 10866 Top = 206 67 67 Width = 254 68 68 ParentFont = False … … 72 72 Left = 16 73 73 Height = 24 74 Top = 11274 Top = 210 75 75 Width = 59 76 76 Caption = 'Phone:' … … 81 81 Left = 575 82 82 Height = 42 83 Top = 6283 Top = 160 84 84 Width = 254 85 85 ParentFont = False … … 89 89 Left = 432 90 90 Height = 24 91 Top = 7291 Top = 170 92 92 Width = 58 93 93 Caption = 'E-mail:' … … 95 95 ParentFont = False 96 96 end 97 object Edit Surname: TEdit97 object EditLastName: TEdit 98 98 Left = 575 99 99 Height = 42 100 Top = 16100 Top = 64 101 101 Width = 254 102 102 ParentFont = False … … 106 106 Left = 432 107 107 Height = 24 108 Top = 24109 Width = 8 1110 Caption = ' Surname:'108 Top = 72 109 Width = 87 110 Caption = 'Last name' 111 111 ParentColor = False 112 112 ParentFont = False … … 114 114 object MemoNotes: TMemo 115 115 Left = 240 116 Height = 282117 Top = 230116 Height = 176 117 Top = 336 118 118 Width = 623 119 119 Anchors = [akTop, akLeft, akRight, akBottom] … … 126 126 Left = 240 127 127 Height = 24 128 Top = 2 02128 Top = 264 129 129 Width = 55 130 130 Caption = 'Notes:' … … 135 135 Left = 575 136 136 Height = 42 137 Top = 108137 Top = 206 138 138 Width = 254 139 139 ParentFont = False … … 143 143 Left = 432 144 144 Height = 24 145 Top = 112145 Top = 210 146 146 Width = 124 147 147 Caption = 'E-mail (Home):' … … 152 152 Left = 575 153 153 Height = 42 154 Top = 152154 Top = 250 155 155 Width = 254 156 156 ParentFont = False … … 160 160 Left = 432 161 161 Height = 24 162 Top = 160162 Top = 258 163 163 Width = 117 164 164 Caption = 'E-mail (Work):' … … 169 169 Left = 144 170 170 Height = 42 171 Top = 152171 Top = 250 172 172 Width = 254 173 173 ParentFont = False … … 177 177 Left = 16 178 178 Height = 24 179 Top = 160179 Top = 258 180 180 Width = 76 181 181 Caption = 'Birthday:' … … 184 184 end 185 185 object ImagePhoto: TImage 186 Left = 16186 Left = 20 187 187 Height = 208 188 Top = 232188 Top = 344 189 189 Width = 207 190 190 Proportional = True … … 192 192 end 193 193 object Label23: TLabel 194 Left = 16195 Height = 24 196 Top = 200194 Left = 20 195 Height = 24 196 Top = 304 197 197 Width = 55 198 198 Caption = 'Photo:' 199 199 ParentColor = False 200 200 ParentFont = False 201 end 202 object Label24: TLabel 203 Left = 16 204 Height = 24 205 Top = 24 206 Width = 88 207 Caption = 'Full name:' 208 ParentColor = False 209 ParentFont = False 210 end 211 object EditFullName: TEdit 212 Left = 144 213 Height = 42 214 Top = 16 215 Width = 254 216 ParentFont = False 217 TabOrder = 9 218 end 219 object Label25: TLabel 220 Left = 432 221 Height = 24 222 Top = 24 223 Width = 116 224 Caption = 'Middle name:' 225 ParentColor = False 226 ParentFont = False 227 end 228 object EditMiddleName: TEdit 229 Left = 575 230 Height = 42 231 Top = 16 232 Width = 254 233 ParentFont = False 234 TabOrder = 10 235 end 236 object Label26: TLabel 237 Left = 16 238 Height = 24 239 Top = 120 240 Width = 101 241 Caption = 'Title before:' 242 ParentColor = False 243 ParentFont = False 244 end 245 object EditTitleBefore: TEdit 246 Left = 144 247 Height = 42 248 Top = 112 249 Width = 254 250 ParentFont = False 251 TabOrder = 11 252 end 253 object Label27: TLabel 254 Left = 432 255 Height = 24 256 Top = 120 257 Width = 85 258 Caption = 'Title after:' 259 ParentColor = False 260 ParentFont = False 261 end 262 object EditTitleAfter: TEdit 263 Left = 575 264 Height = 42 265 Top = 112 266 Width = 254 267 ParentFont = False 268 TabOrder = 12 201 269 end 202 270 end … … 443 511 ParentFont = False 444 512 TabOrder = 13 513 end 514 object LabelOrganization1: TLabel 515 Left = 450 516 Height = 24 517 Top = 360 518 Width = 106 519 Caption = 'Department:' 520 ParentColor = False 521 ParentFont = False 522 end 523 object EditDepartment: TEdit 524 Left = 584 525 Height = 42 526 Top = 348 527 Width = 254 528 ParentFont = False 529 TabOrder = 14 445 530 end 446 531 end -
trunk/Forms/UFormContact.lrj
r31 r33 2 2 {"hash":174434276,"name":"tformcontact.caption","sourcebytes":[67,111,110,116,97,99,116],"value":"Contact"}, 3 3 {"hash":231000124,"name":"tformcontact.tabsheetgeneral.caption","sourcebytes":[71,101,110,101,114,97,108],"value":"General"}, 4 {"hash": 5538698,"name":"tformcontact.label1.caption","sourcebytes":[78,97,109,101,58],"value":"Name:"},4 {"hash":104434218,"name":"tformcontact.label1.caption","sourcebytes":[70,105,114,115,116,32,110,97,109,101,58],"value":"First name:"}, 5 5 {"hash":120104554,"name":"tformcontact.label2.caption","sourcebytes":[67,101,108,108,32,112,104,111,110,101,58],"value":"Cell phone:"}, 6 6 {"hash":91186314,"name":"tformcontact.label3.caption","sourcebytes":[80,104,111,110,101,58],"value":"Phone:"}, 7 7 {"hash":138641338,"name":"tformcontact.label4.caption","sourcebytes":[69,45,109,97,105,108,58],"value":"E-mail:"}, 8 {"hash": 211060266,"name":"tformcontact.label5.caption","sourcebytes":[83,117,114,110,97,109,101,58],"value":"Surname:"},8 {"hash":174528181,"name":"tformcontact.label5.caption","sourcebytes":[76,97,115,116,32,110,97,109,101],"value":"Last name"}, 9 9 {"hash":89566314,"name":"tformcontact.label6.caption","sourcebytes":[78,111,116,101,115,58],"value":"Notes:"}, 10 10 {"hash":149146986,"name":"tformcontact.label20.caption","sourcebytes":[69,45,109,97,105,108,32,40,72,111,109,101,41,58],"value":"E-mail (Home):"}, … … 12 12 {"hash":162456010,"name":"tformcontact.label22.caption","sourcebytes":[66,105,114,116,104,100,97,121,58],"value":"Birthday:"}, 13 13 {"hash":91188010,"name":"tformcontact.label23.caption","sourcebytes":[80,104,111,116,111,58],"value":"Photo:"}, 14 {"hash":242270122,"name":"tformcontact.label24.caption","sourcebytes":[70,117,108,108,32,110,97,109,101,58],"value":"Full name:"}, 15 {"hash":40626346,"name":"tformcontact.label25.caption","sourcebytes":[77,105,100,100,108,101,32,110,97,109,101,58],"value":"Middle name:"}, 16 {"hash":62410682,"name":"tformcontact.label26.caption","sourcebytes":[84,105,116,108,101,32,98,101,102,111,114,101,58],"value":"Title before:"}, 17 {"hash":63774250,"name":"tformcontact.label27.caption","sourcebytes":[84,105,116,108,101,32,97,102,116,101,114,58],"value":"Title after:"}, 14 18 {"hash":181043315,"name":"tformcontact.tabsheetdetails.caption","sourcebytes":[68,101,116,97,105,108,115],"value":"Details"}, 15 19 {"hash":170160314,"name":"tformcontact.label7.caption","sourcebytes":[80,104,111,110,101,32,40,72,111,109,101,41,58],"value":"Phone (Home):"}, … … 27 31 {"hash":179883546,"name":"tformcontact.label19.caption","sourcebytes":[65,100,100,114,101,115,115,58],"value":"Address:"}, 28 32 {"hash":101155194,"name":"tformcontact.labelorganization.caption","sourcebytes":[79,114,103,97,110,105,122,97,116,105,111,110,58],"value":"Organization:"}, 33 {"hash":167347194,"name":"tformcontact.labelorganization1.caption","sourcebytes":[68,101,112,97,114,116,109,101,110,116,58],"value":"Department:"}, 29 34 {"hash":113983571,"name":"tformcontact.tabsheetall.caption","sourcebytes":[65,108,108,32,102,105,101,108,100,115],"value":"All fields"}, 30 35 {"hash":346165,"name":"tformcontact.listview1.columns[0].caption","sourcebytes":[78,97,109,101],"value":"Name"}, -
trunk/Forms/UFormContact.pas
r32 r33 18 18 ButtonCancel: TButton; 19 19 ButtonOk: TButton; 20 EditDepartment: TEdit; 21 EditFullName: TEdit; 22 EditTitleBefore: TEdit; 23 EditMiddleName: TEdit; 24 EditTitleAfter: TEdit; 20 25 EditWebPage: TEdit; 21 26 EditWebPageHome: TEdit; … … 35 40 EditFaxWork: TEdit; 36 41 EditPager: TEdit; 37 Edit Surname: TEdit;42 EditLastName: TEdit; 38 43 EditEmail: TEdit; 39 44 EditPhone: TEdit; 40 Edit Name: TEdit;45 EditFirstName: TEdit; 41 46 EditCellPhone: TEdit; 42 47 ImagePhoto: TImage; … … 57 62 Label22: TLabel; 58 63 Label23: TLabel; 64 Label24: TLabel; 65 Label25: TLabel; 66 Label26: TLabel; 67 Label27: TLabel; 59 68 LabelOrganization: TLabel; 60 69 Label3: TLabel; … … 65 74 Label8: TLabel; 66 75 Label9: TLabel; 76 LabelOrganization1: TLabel; 67 77 ListView1: TListView; 68 78 MemoNotes: TMemo; … … 163 173 begin 164 174 Self.Contact := Contact; 165 EditName.Text := Contact.Fields[cfFirstName]; 166 EditSurname.Text := Contact.Fields[cfLastName]; 175 EditFullName.Text := Contact.Fields[cfFullName]; 176 EditFirstName.Text := Contact.Fields[cfFirstName]; 177 EditLastName.Text := Contact.Fields[cfLastName]; 178 EditMiddleName.Text := Contact.Fields[cfMiddleName]; 179 EditTitleAfter.Text := Contact.Fields[cfTitleAfter]; 180 EditTitleBefore.Text := Contact.Fields[cfTitleBefore]; 167 181 EditCellPhone.Text := Contact.Fields[cfTelCell]; 168 182 EditPhoneHome.Text := Contact.Fields[cfTelHome]; … … 172 186 EditTitle.Text := Contact.Fields[cfTitle]; 173 187 EditOrganization.Text := Contact.Fields[cfOrganization]; 174 EditAddress.Text := Contact.Fields[cfAdrHome]; 175 EditEmailHome.Text := Contact.Fields[cfEmailHome]; 188 EditDepartment.Text := Contact.Fields[cfDepartment]; 189 EditAddress.Text := Contact.Fields[cfHomeAddress]; 190 EditEmailHome.Text := Contact.Fields[cfEmail]; 191 EditWebPage.Text := Contact.Fields[cfUrl]; 192 EditBirthday.Text := Contact.Fields[cfDayOfBirth]; 176 193 177 194 ImagePhoto.Picture.Bitmap.Clear; … … 206 223 procedure TFormContact.SaveData(Contact: TContact); 207 224 begin 208 Contact.Fields[cfFirstName] := Edit Name.Text;209 Contact.Fields[cfLastName] := Edit Surname.Text;225 Contact.Fields[cfFirstName] := EditFirstName.Text; 226 Contact.Fields[cfLastName] := EditLastName.Text; 210 227 Contact.Fields[cfTelCell] := EditCellPhone.Text; 211 228 Contact.Fields[cfTelHome] := EditPhoneHome.Text; … … 215 232 Contact.Fields[cfTitle] := EditTitle.Text; 216 233 Contact.Fields[cfOrganization] := EditOrganization.Text; 217 Contact.Fields[cfAdrHome] := EditAddress.Text; 218 Contact.Fields[cfEmailHome] := EditEmailHome.Text; 234 Contact.Fields[cfDepartment] := EditDepartment.Text; 235 Contact.Fields[cfHomeAddress] := EditAddress.Text; 236 Contact.Fields[cfEmail] := EditEmailHome.Text; 237 Contact.Fields[cfUrl] := EditWebPage.Text; 238 Contact.Fields[cfDayOfBirth] := EditBirthday.Text; 219 239 end; 220 240 -
trunk/Languages/vCardStudio.cs.po
r31 r33 92 92 93 93 #: tformcontact.label1.caption 94 msgid " Name:"95 msgstr " Jméno:"94 msgid "First name:" 95 msgstr "Křestní jméno:" 96 96 97 97 #: tformcontact.label10.caption … … 157 157 #: tformcontact.label23.caption 158 158 msgid "Photo:" 159 msgstr "" 159 msgstr "Fotka:" 160 161 #: tformcontact.label24.caption 162 msgid "Full name:" 163 msgstr "Celé jméno:" 164 165 #: tformcontact.label25.caption 166 msgid "Middle name:" 167 msgstr "Prostřední jméno:" 168 169 #: tformcontact.label26.caption 170 msgid "Title before:" 171 msgstr "Titul před:" 172 173 #: tformcontact.label27.caption 174 msgid "Title after:" 175 msgstr "Titul za:" 160 176 161 177 #: tformcontact.label3.caption … … 168 184 169 185 #: tformcontact.label5.caption 170 msgid " Surname:"186 msgid "Last name" 171 187 msgstr "Příjmení:" 172 188 … … 191 207 msgstr "Společnost:" 192 208 209 #: tformcontact.labelorganization1.caption 210 msgid "Department:" 211 msgstr "Oddělení:" 212 193 213 #: tformcontact.listview1.columns[0].caption 194 #, fuzzy195 #| msgid "Item"196 214 msgid "Name" 197 msgstr " Položka"215 msgstr "Jméno" 198 216 199 217 #: tformcontact.listview1.columns[1].caption 200 #, fuzzy201 #| msgid "Value"202 218 msgctxt "tformcontact.listview1.columns[1].caption" 203 219 msgid "Attributes" 204 msgstr " Hodnota"220 msgstr "Atributy" 205 221 206 222 #: tformcontact.listview1.columns[2].caption 207 223 msgctxt "tformcontact.listview1.columns[2].caption" 208 224 msgid "Value" 209 msgstr " "225 msgstr "Hodnota" 210 226 211 227 #: tformcontact.tabsheetall.caption … … 243 259 244 260 #: tformcontacts.listview1.columns[0].caption 261 msgctxt "tformcontacts.listview1.columns[0].caption" 245 262 msgid "Full Name" 246 263 msgstr "Celé jméno" … … 261 278 262 279 #: tformcontacts.listview1.columns[4].caption 280 msgctxt "tformcontacts.listview1.columns[4].caption" 263 281 msgid "Cell phone" 264 282 msgstr "Mobilní telefon" 265 283 266 284 #: tformcontacts.listview1.columns[5].caption 285 msgctxt "tformcontacts.listview1.columns[5].caption" 267 286 msgid "Home phone" 268 287 msgstr "Domácí telefon" … … 378 397 msgstr "DPI:" 379 398 399 #: ucontact.scategories 400 msgid "Categories" 401 msgstr "Kategorie" 402 403 #: ucontact.scellphone 404 msgctxt "ucontact.scellphone" 405 msgid "Cell phone" 406 msgstr "Mobilní telefon" 407 408 #: ucontact.sdayofbirth 409 msgid "Day of birth" 410 msgstr "Datum narození" 411 412 #: ucontact.sdepartement 413 msgid "Departement" 414 msgstr "Oddělení" 415 416 #: ucontact.semail 417 msgid "E-mail" 418 msgstr "E-mail" 419 380 420 #: ucontact.sfieldindexnotdefined 381 421 msgid "Field index not defined" 382 422 msgstr "Index pole nenalezen" 383 423 424 #: ucontact.sfirstname 425 msgid "First Name" 426 msgstr "Křestní jméno" 427 384 428 #: ucontact.sfoundblockendwithoutblockstart 385 429 msgid "Found block end without block start" … … 389 433 msgid "Found properties before the start of block" 390 434 msgstr "Nalezena vlastnost před začátkem bloku" 435 436 #: ucontact.sfullname 437 msgctxt "ucontact.sfullname" 438 msgid "Full Name" 439 msgstr "Celé jméno" 440 441 #: ucontact.shomeaddress 442 msgctxt "ucontact.shomeaddress" 443 msgid "Home Address" 444 msgstr "Domácí adresa" 445 446 #: ucontact.shomeaddresscity 447 msgid "Home Address City" 448 msgstr "Domácí adresa město" 449 450 #: ucontact.shomeaddresscountry 451 msgid "Home Address Country" 452 msgstr "Domácí adresa země" 453 454 #: ucontact.shomeaddressstreet 455 msgid "Home Address Street" 456 msgstr "Domácí adresa ulice" 457 458 #: ucontact.shomeemail 459 msgid "Home Email" 460 msgstr "Domácí email" 461 462 #: ucontact.shomephone 463 msgctxt "ucontact.shomephone" 464 msgid "Home phone" 465 msgstr "Domácí telefon" 466 467 #: ucontact.shomephone2 468 msgid "Home phone 2" 469 msgstr "Domácí telefon 2" 470 471 #: ucontact.sinternetemail 472 msgid "Internet Email" 473 msgstr "Internetová email" 474 475 #: ucontact.sjabber 476 msgid "Jabber" 477 msgstr "Jabber" 478 479 #: ucontact.slastname 480 msgctxt "ucontact.slastname" 481 msgid "Last Name" 482 msgstr "Příjmení" 483 484 #: ucontact.slasttimecontacted 485 msgid "Last Time Contacted" 486 msgstr "Naposledy kontaktováno" 487 488 #: ucontact.smainphone 489 msgid "Main phone" 490 msgstr "Hlavní telefon" 491 492 #: ucontact.smiddlename 493 msgid "Middle Name" 494 msgstr "Prostřední jméno" 495 496 #: ucontact.snickname 497 msgid "Nick Name" 498 msgstr "Přezdívka" 499 500 #: ucontact.snote 501 msgid "Note" 502 msgstr "Poznámky" 503 504 #: ucontact.sorganization 505 msgid "Organization" 506 msgstr "Organizace" 507 508 #: ucontact.sphoto 509 msgid "Photo" 510 msgstr "Fotka" 511 512 #: ucontact.srevision 513 msgid "Revision" 514 msgstr "Revize" 515 516 #: ucontact.srole 517 msgid "Role" 518 msgstr "Role" 519 520 #: ucontact.stelephone 521 msgid "Telephone" 522 msgstr "Telefon" 523 524 #: ucontact.stimescontacted 525 msgid "Times Contacted" 526 msgstr "Počet kontaktování" 527 528 #: ucontact.stitle 529 msgid "Title" 530 msgstr "Titul" 531 532 #: ucontact.stitleafter 533 msgid "Title After" 534 msgstr "Titul za" 535 536 #: ucontact.stitlebefore 537 msgid "Title Before" 538 msgstr "Titul před" 539 540 #: ucontact.suniqueidentifier 541 msgid "Unique identifier" 542 msgstr "Unikátní identifikátor" 391 543 392 544 #: ucontact.sunknowncommand … … 403 555 msgstr "Soubor vCard" 404 556 557 #: ucontact.svoipphone 558 msgid "VoIP phone" 559 msgstr "VoIP telefon" 560 561 #: ucontact.swebaddress 562 msgid "Web address" 563 msgstr "Webová adresa" 564 565 #: ucontact.sworkaddress 566 msgctxt "ucontact.sworkaddress" 567 msgid "Home Address" 568 msgstr "Domácí adresa" 569 570 #: ucontact.sworkaddresscity 571 msgid "Work Address City" 572 msgstr "Pracovní adresa město" 573 574 #: ucontact.sworkaddresscountry 575 msgid "Work Address Country" 576 msgstr "Pracovní adresa země" 577 578 #: ucontact.sworkaddressstreet 579 msgid "Work Address Street" 580 msgstr "Pracovní adresa ulice" 581 582 #: ucontact.sworkphone 583 msgid "Work phone" 584 msgstr "Pracovní telefon" 585 405 586 #: ucore.sappexit 406 587 msgid "Application exit" … … 456 637 msgid "Modified" 457 638 msgstr "Upraveno" 458 -
trunk/Languages/vCardStudio.po
r31 r33 82 82 83 83 #: tformcontact.label1.caption 84 msgid " Name:"84 msgid "First name:" 85 85 msgstr "" 86 86 … … 145 145 msgstr "" 146 146 147 #: tformcontact.label24.caption 148 msgid "Full name:" 149 msgstr "" 150 151 #: tformcontact.label25.caption 152 msgid "Middle name:" 153 msgstr "" 154 155 #: tformcontact.label26.caption 156 msgid "Title before:" 157 msgstr "" 158 159 #: tformcontact.label27.caption 160 msgid "Title after:" 161 msgstr "" 162 147 163 #: tformcontact.label3.caption 148 164 msgid "Phone:" … … 154 170 155 171 #: tformcontact.label5.caption 156 msgid " Surname:"172 msgid "Last name" 157 173 msgstr "" 158 174 … … 175 191 #: tformcontact.labelorganization.caption 176 192 msgid "Organization:" 193 msgstr "" 194 195 #: tformcontact.labelorganization1.caption 196 msgid "Department:" 177 197 msgstr "" 178 198 … … 225 245 226 246 #: tformcontacts.listview1.columns[0].caption 247 msgctxt "tformcontacts.listview1.columns[0].caption" 227 248 msgid "Full Name" 228 249 msgstr "" … … 243 264 244 265 #: tformcontacts.listview1.columns[4].caption 266 msgctxt "tformcontacts.listview1.columns[4].caption" 245 267 msgid "Cell phone" 246 268 msgstr "" 247 269 248 270 #: tformcontacts.listview1.columns[5].caption 271 msgctxt "tformcontacts.listview1.columns[5].caption" 249 272 msgid "Home phone" 250 273 msgstr "" … … 358 381 msgstr "" 359 382 383 #: ucontact.scategories 384 msgid "Categories" 385 msgstr "" 386 387 #: ucontact.scellphone 388 msgctxt "ucontact.scellphone" 389 msgid "Cell phone" 390 msgstr "" 391 392 #: ucontact.sdayofbirth 393 msgid "Day of birth" 394 msgstr "" 395 396 #: ucontact.sdepartement 397 msgid "Departement" 398 msgstr "" 399 400 #: ucontact.semail 401 msgid "E-mail" 402 msgstr "" 403 360 404 #: ucontact.sfieldindexnotdefined 361 405 msgid "Field index not defined" 362 406 msgstr "" 363 407 408 #: ucontact.sfirstname 409 msgid "First Name" 410 msgstr "" 411 364 412 #: ucontact.sfoundblockendwithoutblockstart 365 413 msgid "Found block end without block start" … … 368 416 #: ucontact.sfoundpropertiesbeforeblockstart 369 417 msgid "Found properties before the start of block" 418 msgstr "" 419 420 #: ucontact.sfullname 421 msgctxt "ucontact.sfullname" 422 msgid "Full Name" 423 msgstr "" 424 425 #: ucontact.shomeaddress 426 msgctxt "ucontact.shomeaddress" 427 msgid "Home Address" 428 msgstr "" 429 430 #: ucontact.shomeaddresscity 431 msgid "Home Address City" 432 msgstr "" 433 434 #: ucontact.shomeaddresscountry 435 msgid "Home Address Country" 436 msgstr "" 437 438 #: ucontact.shomeaddressstreet 439 msgid "Home Address Street" 440 msgstr "" 441 442 #: ucontact.shomeemail 443 msgid "Home Email" 444 msgstr "" 445 446 #: ucontact.shomephone 447 msgctxt "ucontact.shomephone" 448 msgid "Home phone" 449 msgstr "" 450 451 #: ucontact.shomephone2 452 msgid "Home phone 2" 453 msgstr "" 454 455 #: ucontact.sinternetemail 456 msgid "Internet Email" 457 msgstr "" 458 459 #: ucontact.sjabber 460 msgid "Jabber" 461 msgstr "" 462 463 #: ucontact.slastname 464 msgctxt "ucontact.slastname" 465 msgid "Last Name" 466 msgstr "" 467 468 #: ucontact.slasttimecontacted 469 msgid "Last Time Contacted" 470 msgstr "" 471 472 #: ucontact.smainphone 473 msgid "Main phone" 474 msgstr "" 475 476 #: ucontact.smiddlename 477 msgid "Middle Name" 478 msgstr "" 479 480 #: ucontact.snickname 481 msgid "Nick Name" 482 msgstr "" 483 484 #: ucontact.snote 485 msgid "Note" 486 msgstr "" 487 488 #: ucontact.sorganization 489 msgid "Organization" 490 msgstr "" 491 492 #: ucontact.sphoto 493 msgid "Photo" 494 msgstr "" 495 496 #: ucontact.srevision 497 msgid "Revision" 498 msgstr "" 499 500 #: ucontact.srole 501 msgid "Role" 502 msgstr "" 503 504 #: ucontact.stelephone 505 msgid "Telephone" 506 msgstr "" 507 508 #: ucontact.stimescontacted 509 msgid "Times Contacted" 510 msgstr "" 511 512 #: ucontact.stitle 513 msgid "Title" 514 msgstr "" 515 516 #: ucontact.stitleafter 517 msgid "Title After" 518 msgstr "" 519 520 #: ucontact.stitlebefore 521 msgid "Title Before" 522 msgstr "" 523 524 #: ucontact.suniqueidentifier 525 msgid "Unique identifier" 370 526 msgstr "" 371 527 … … 383 539 msgstr "" 384 540 541 #: ucontact.svoipphone 542 msgid "VoIP phone" 543 msgstr "" 544 545 #: ucontact.swebaddress 546 msgid "Web address" 547 msgstr "" 548 549 #: ucontact.sworkaddress 550 msgctxt "ucontact.sworkaddress" 551 msgid "Home Address" 552 msgstr "" 553 554 #: ucontact.sworkaddresscity 555 msgid "Work Address City" 556 msgstr "" 557 558 #: ucontact.sworkaddresscountry 559 msgid "Work Address Country" 560 msgstr "" 561 562 #: ucontact.sworkaddressstreet 563 msgid "Work Address Street" 564 msgstr "" 565 566 #: ucontact.sworkphone 567 msgid "Work phone" 568 msgstr "" 569 385 570 #: ucore.sappexit 386 571 msgid "Application exit" -
trunk/UContact.pas
r32 r33 17 17 TContactFieldIndex = (cfFirstName, cfMiddleName, cfLastName, cfTitleBefore, 18 18 cfTitleAfter, cfFullName, cfTelCell, cfTelHome, cfTelHome2, cfTelWork, cfTelVoip, 19 cfTelMain, cfEmail, 19 cfTelMain, cfEmail, cfTel, cfUid, cfUrl, 20 20 cfEmailHome, cfEmailInternet, cfNickName, cfNote, cfRole, cfTitle, 21 cfCategories, cfOrganization, cfAdrHome, cfHomeAddressStreet, 22 cfHomeAddressCity, cfHomeAddressCountry, cfXTimesContacted, 23 cfXLastTimeContacted, cfPhoto, cfXJabber, cfDayOfBirth, cfRevision, 21 cfCategories, cfOrganization, cfDepartment, 22 cfHomeAddress, cfHomeAddressStreet, cfHomeAddressCity, cfHomeAddressCountry, 23 cfWorkAddress, cfWorkAddressStreet, cfWorkAddressCity, cfWorkAddressCountry, 24 cfXTimesContacted, cfXLastTimeContacted, cfPhoto, cfXJabber, cfDayOfBirth, cfRevision, 24 25 cfVersion); 25 26 … … 124 125 SFoundBlockEndWithoutBlockStart = 'Found block end without block start'; 125 126 SFieldIndexNotDefined = 'Field index not defined'; 127 SLastName = 'Last Name'; 128 SFirstName = 'First Name'; 129 SMiddleName = 'Middle Name'; 130 STitleBefore = 'Title Before'; 131 STitleAfter = 'Title After'; 132 SFullName = 'Full Name'; 133 STelephone = 'Telephone'; 134 SCellPhone = 'Cell phone'; 135 SHomePhone = 'Home phone'; 136 SHomePhone2 = 'Home phone 2'; 137 SWorkPhone = 'Work phone'; 138 SVoipPhone = 'VoIP phone'; 139 SMainPhone = 'Main phone'; 140 SEmail = 'E-mail'; 141 SHomeEmail = 'Home Email'; 142 SInternetEmail = 'Internet Email'; 143 SNickName = 'Nick Name'; 144 SNote = 'Note'; 145 SRole = 'Role'; 146 STitle = 'Title'; 147 SCategories = 'Categories'; 148 SOrganization = 'Organization'; 149 SDepartement = 'Departement'; 150 SHomeAddress = 'Home Address'; 151 SHomeAddressStreet = 'Home Address Street'; 152 SHomeAddressCity = 'Home Address City'; 153 SHomeAddressCountry = 'Home Address Country'; 154 SWorkAddress = 'Home Address'; 155 SWorkAddressStreet = 'Work Address Street'; 156 SWorkAddressCity = 'Work Address City'; 157 SWorkAddressCountry = 'Work Address Country'; 158 STimesContacted = 'Times Contacted'; 159 SLastTimeContacted = 'Last Time Contacted'; 160 SPhoto = 'Photo'; 161 SJabber = 'Jabber'; 162 SDayOfBirth = 'Day of birth'; 163 SRevision = 'Revision'; 164 SUniqueIdentifier = 'Unique identifier'; 165 SWebAddress = 'Web address'; 126 166 127 167 function GetNext(var Text: string; Separator: string): string; … … 185 225 186 226 procedure TContactProperty.EvaluateAttributes; 227 var 228 Index: Integer; 187 229 begin 188 230 if Attributes.IndexOf('BASE64') <> -1 then … … 196 238 Charset := Attributes.Values['CHARSET'] 197 239 else Charset := ''; 240 241 // Simplify TYPE attribute from TYPE=VALUE into VALUE 242 Index := Attributes.IndexOfName('TYPE'); 243 if Index <> -1 then 244 Attributes.Strings[Index] := Attributes.Values['TYPE']; 198 245 end; 199 246 … … 413 460 begin 414 461 with Fields do begin 415 AddNew('N', [], 'Last Name', cfLastName, dtString, 0); 416 AddNew('N', [], 'First Name', cfFirstName, dtString, 1); 417 AddNew('N', [], 'Middle Name', cfMiddleName, dtString, 2); 418 AddNew('N', [], 'Title Before', cfTitleBefore, dtString, 3); 419 AddNew('N', [], 'Title After', cfTitleAfter, dtString, 4); 420 AddNew('FN', [], 'Full Name', cfFullName, dtString); 421 AddNew('TEL', ['CELL'], 'Cell phone', cfTelCell, dtString); 422 AddNew('TEL', ['HOME'], 'Home phone', cfTelHome, dtString); 423 AddNew('TEL', ['HOME2'], 'Home phone 2', cfTelHome2, dtString); 424 AddNew('TEL', ['WORK'], 'Home work', cfTelWork, dtString); 425 AddNew('TEL', ['VOIP'], 'Tel VoIP', cfTelVoip, dtString); 426 AddNew('TEL', ['MAIN'], 'Tel Main', cfTelMain, dtString); 427 AddNew('EMAIL', [], 'Email', cfEmail, dtString); 428 AddNew('EMAIL', ['HOME'], 'Email Home', cfEmailHome, dtString); 429 AddNew('EMAIL', ['INTERNET'], 'Email Internet', cfEmailInternet, dtString); 430 AddNew('X-NICKNAME', [], 'Nick Name', cfNickName, dtString); 431 AddNew('NOTE', [], 'Note', cfNote, dtString); 432 AddNew('ROLE', [], 'Role', cfRole, dtString); 433 AddNew('TITLE', [], 'Title', cfTitle, dtString); 434 AddNew('CATEGORIES', [], 'Categories', cfCategories, dtString); 435 AddNew('ORG', [], 'Organization', cfOrganization, dtString, 0); 436 AddNew('ORG', [], 'Division', cfOrganization, dtString, 1); 437 AddNew('ADR', ['HOME'], 'Home Address', cfAdrHome, dtString); 438 AddNew('ADR', ['HOME'], 'Home Address Street', cfHomeAddressStreet, dtString, 1); 439 AddNew('ADR', ['HOME'], 'Home Address City', cfHomeAddressCity, dtString, 2); 440 AddNew('ADR', ['HOME'], 'Home Address Country', cfHomeAddressCountry, dtString, 3); 441 AddNew('X-TIMES_CONTACTED', [], 'Times Contacted', cfXTimesContacted, dtString); 442 AddNew('X-LAST_TIME_CONTACTED', [], 'Last Time Contacted', cfXLastTimeContacted, dtString); 443 AddNew('PHOTO', [], 'Photo', cfPhoto, dtString); 444 AddNew('X-JABBER', [], 'Jabber', cfXJabber, dtString); 445 AddNew('BDAY', [], 'Day of birth', cfDayOfBirth, dtString); 446 AddNew('REV', [], 'Revision', cfRevision, dtString); 462 AddNew('N', [], SLastName, cfLastName, dtString, 0); 463 AddNew('N', [], SFirstName, cfFirstName, dtString, 1); 464 AddNew('N', [], SMiddleName, cfMiddleName, dtString, 2); 465 AddNew('N', [], STitleBefore, cfTitleBefore, dtString, 3); 466 AddNew('N', [], STitleAfter, cfTitleAfter, dtString, 4); 467 AddNew('FN', [], SFullName, cfFullName, dtString); 468 AddNew('TEL', [], STelephone, cfTel, dtString); 469 AddNew('TEL', ['CELL'], SCellPhone, cfTelCell, dtString); 470 AddNew('TEL', ['HOME'], SHomePhone, cfTelHome, dtString); 471 AddNew('TEL', ['HOME2'], SHomePhone2, cfTelHome2, dtString); 472 AddNew('TEL', ['WORK'], SWorkPhone, cfTelWork, dtString); 473 AddNew('TEL', ['VOIP'], SVoipPhone, cfTelVoip, dtString); 474 AddNew('TEL', ['MAIN'], SMainPhone, cfTelMain, dtString); 475 AddNew('EMAIL', [], SEmail, cfEmail, dtString); 476 AddNew('EMAIL', ['HOME'], SHomeEmail, cfEmailHome, dtString); 477 AddNew('EMAIL', ['INTERNET'], SInternetEmail, cfEmailInternet, dtString); 478 AddNew('NICKNAME', [], SNickName, cfNickName, dtString); 479 AddNew('NOTE', [], SNote, cfNote, dtString); 480 AddNew('ROLE', [], SRole, cfRole, dtString); 481 AddNew('TITLE', [], STitle, cfTitle, dtString); 482 AddNew('CATEGORIES', [], SCategories, cfCategories, dtString); 483 AddNew('ORG', [], SOrganization, cfOrganization, dtString, 0); 484 AddNew('ORG', [], SDepartement, cfDepartment, dtString, 1); 485 AddNew('ADR', ['HOME'], SHomeAddress, cfHomeAddress, dtString); 486 AddNew('ADR', ['HOME'], SHomeAddressStreet, cfHomeAddressStreet, dtString, 1); 487 AddNew('ADR', ['HOME'], SHomeAddressCity, cfHomeAddressCity, dtString, 2); 488 AddNew('ADR', ['HOME'], SHomeAddressCountry, cfHomeAddressCountry, dtString, 3); 489 AddNew('ADR', ['WORK'], SWorkAddress, cfWorkAddress, dtString); 490 AddNew('ADR', ['WORK'], SWorkAddressStreet, cfWorkAddressStreet, dtString, 1); 491 AddNew('ADR', ['WORK'], SWorkAddressCity, cfWorkAddressCity, dtString, 2); 492 AddNew('ADR', ['WORK'], SWorkAddressCountry, cfWorkAddressCountry, dtString, 3); 493 AddNew('X-TIMES_CONTACTED', [], STimesContacted, cfXTimesContacted, dtString); 494 AddNew('X-LAST_TIME_CONTACTED', [], SLastTimeContacted, cfXLastTimeContacted, dtString); 495 AddNew('PHOTO', [], SPhoto, cfPhoto, dtString); 496 AddNew('X-JABBER', [], SJabber, cfXJabber, dtString); 497 AddNew('BDAY', [], SDayOfBirth, cfDayOfBirth, dtString); 498 AddNew('REV', [], SRevision, cfRevision, dtString); 499 AddNew('UID', [], SUniqueIdentifier, cfUid, dtString); 500 AddNew('URL', [], SWebAddress, cfUrl, dtString); 447 501 end; 448 502 end; … … 570 624 NewRecord.Properties.Add(NewProperty); 571 625 end; 572 NewProperty.Attributes.DelimitedText := Names;626 NewProperty.Attributes.DelimitedText := UpperCase(Names); 573 627 if NewProperty.Attributes.Count > 0 then begin 574 628 NewProperty.Name := NewProperty.Attributes[0];
Note:
See TracChangeset
for help on using the changeset viewer.