Changeset 66
- Timestamp:
- Dec 10, 2021, 12:17:46 AM (3 years ago)
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/1.0.0/Install/snap/snapcraft.yaml
r23 r66 88 88 - desktop 89 89 - x11 90 - home 90 91 91 92 layout: -
tags/1.1.0/Install/deb/debian/rules
r11 r66 16 16 install -d -m 755 $(ROOT)/usr/bin 17 17 install -s -m 755 vCardStudio $(ROOT)/usr/bin 18 install -d -m 755 $(ROOT)/usr/share/vCardStudio/languages 19 install -m 755 Languages/vCardStudio.po $(ROOT)/usr/share/vCardStudio/languages 20 install -m 755 Languages/vCardStudio.cs.po $(ROOT)/usr/share/vCardStudio/languages 18 install -d -m 755 $(ROOT)/usr/share/vCardStudio/Languages 19 install -m 755 Languages/vCardStudio.po $(ROOT)/usr/share/vCardStudio/Languages 20 install -m 755 Languages/vCardStudio.cs.po $(ROOT)/usr/share/vCardStudio/Languages 21 install -d -m 755 $ROOT/usr/share/vCardStudio/Images 22 install -m 755 Images/Profile.png $ROOT/usr/share/vCardStudio/Images 21 23 install -d -m 755 $(ROOT)/usr/share/applications 22 24 install -m 755 Install/deb/vCardStudio.desktop $(ROOT)/usr/share/applications -
tags/1.1.0/Install/snap/snapcraft.yaml
r54 r66 37 37 install -m 755 Languages/UFormAbout.po $ROOT/usr/share/vCardStudio/Languages 38 38 install -m 755 Languages/UFormAbout.cs.po $ROOT/usr/share/vCardStudio/Languages 39 install -d -m 755 $ROOT/usr/share/vCardStudio/Images 40 install -m 755 Images/Profile.png $ROOT/usr/share/vCardStudio/Images 39 41 install -d -m 755 $ROOT/usr/share/applications 40 42 install -m 755 Install/snap/local/vCardStudio.desktop $ROOT/usr/share/applications -
tags/1.1.0/Languages/vCardStudio.cs.po
r65 r66 980 980 msgstr "Soubor vCard" 981 981 982 #: ucontact.sversion 983 msgid "Version" 984 msgstr "Verze" 985 982 986 #: ucontact.svoipphone 983 987 msgid "VoIP phone" … … 1151 1155 msgid "Invalid line length for encoded text" 1152 1156 msgstr "Neplatná délka řádky kódovaného textu" 1153 -
tags/1.1.0/Languages/vCardStudio.po
r62 r66 968 968 msgstr "" 969 969 970 #: ucontact.sversion 971 msgid "Version" 972 msgstr "" 973 970 974 #: ucontact.svoipphone 971 975 msgid "VoIP phone" -
tags/1.1.0/UContact.pas
r63 r66 174 174 SContactHasNoParent = 'Contact has no parent'; 175 175 SExpectedProperty = 'Expected contact property'; 176 SVersion = 'Version'; 176 177 SLastName = 'Last Name'; 177 178 SFirstName = 'First Name'; … … 978 979 begin 979 980 with Fields do begin 981 AddNew('VERSION', [], [], SVersion, cfVersion, dtString); 980 982 AddNew('N', [], [], SLastName, cfLastName, dtString, 0); 981 983 AddNew('N', [], [], SFirstName, cfFirstName, dtString, 1); -
tags/1.1.0/UCore.pas
r63 r66 74 74 ProfileImage: TImage; 75 75 LastSplitDir: string; 76 ProfilePhotoFileName: string; 76 77 procedure FileModified(Sender: TObject); 77 78 function FindFirstNonOption: string; … … 322 323 {$IFDEF Linux} 323 324 const 324 LinuxLanguagesDir = '/usr/share/vCardStudio/Languages'; 325 LinuxDataFilesDir = '/usr/share/vCardStudio'; 326 LinuxLanguagesDir = LinuxDataFilesDir + '/Languages'; 327 LinuxImagesDir = LinuxDataFilesDir + '/Images'; 325 328 {$ENDIF} 326 329 begin 330 ProfilePhotoFileName := 'Images/Profile.png'; 327 331 {$IFDEF Linux} 328 332 // If installed in Linux system then use installation directory for po files 329 if not DirectoryExists(Translator.POFilesFolder) and DirectoryExists(LinuxLanguagesDir) then 333 if not DirectoryExists(Translator.POFilesFolder) and DirectoryExists(LinuxLanguagesDir) then begin 330 334 Translator.POFilesFolder := LinuxLanguagesDir; 335 end; 336 // If installed in Linux system then use installation directory for images files 337 if not DirectoryExists('Images') and DirectoryExists(LinuxImagesDir) then begin 338 ProfilePhotoFileName := LinuxImagesDir + DirectorySeparator + 'Profile.png'; 339 end; 331 340 {$ENDIF} 332 341 … … 510 519 511 520 function TCore.GetProfileImage: TImage; 512 const513 ProfilePhotoFileName = 'Images/Profile.png';514 521 begin 515 522 if not Assigned(ProfileImage) then begin -
trunk/Install/deb/debian/rules
r11 r66 16 16 install -d -m 755 $(ROOT)/usr/bin 17 17 install -s -m 755 vCardStudio $(ROOT)/usr/bin 18 install -d -m 755 $(ROOT)/usr/share/vCardStudio/languages 19 install -m 755 Languages/vCardStudio.po $(ROOT)/usr/share/vCardStudio/languages 20 install -m 755 Languages/vCardStudio.cs.po $(ROOT)/usr/share/vCardStudio/languages 18 install -d -m 755 $(ROOT)/usr/share/vCardStudio/Languages 19 install -m 755 Languages/vCardStudio.po $(ROOT)/usr/share/vCardStudio/Languages 20 install -m 755 Languages/vCardStudio.cs.po $(ROOT)/usr/share/vCardStudio/Languages 21 install -d -m 755 $ROOT/usr/share/vCardStudio/Images 22 install -m 755 Images/Profile.png $ROOT/usr/share/vCardStudio/Images 21 23 install -d -m 755 $(ROOT)/usr/share/applications 22 24 install -m 755 Install/deb/vCardStudio.desktop $(ROOT)/usr/share/applications -
trunk/Install/snap/snapcraft.yaml
r65 r66 37 37 install -m 755 Languages/UFormAbout.po $ROOT/usr/share/vCardStudio/Languages 38 38 install -m 755 Languages/UFormAbout.cs.po $ROOT/usr/share/vCardStudio/Languages 39 install -d -m 755 $ROOT/usr/share/vCardStudio/Images 40 install -m 755 Images/Profile.png $ROOT/usr/share/vCardStudio/Images 39 41 install -d -m 755 $ROOT/usr/share/applications 40 42 install -m 755 Install/snap/local/vCardStudio.desktop $ROOT/usr/share/applications -
trunk/Languages/vCardStudio.cs.po
r62 r66 980 980 msgstr "Soubor vCard" 981 981 982 #: ucontact.sversion 983 msgid "Version" 984 msgstr "Verze" 985 982 986 #: ucontact.svoipphone 983 987 msgid "VoIP phone" -
trunk/Languages/vCardStudio.po
r62 r66 968 968 msgstr "" 969 969 970 #: ucontact.sversion 971 msgid "Version" 972 msgstr "" 973 970 974 #: ucontact.svoipphone 971 975 msgid "VoIP phone" -
trunk/UContact.pas
r63 r66 174 174 SContactHasNoParent = 'Contact has no parent'; 175 175 SExpectedProperty = 'Expected contact property'; 176 SVersion = 'Version'; 176 177 SLastName = 'Last Name'; 177 178 SFirstName = 'First Name'; … … 978 979 begin 979 980 with Fields do begin 981 AddNew('VERSION', [], [], SVersion, cfVersion, dtString); 980 982 AddNew('N', [], [], SLastName, cfLastName, dtString, 0); 981 983 AddNew('N', [], [], SFirstName, cfFirstName, dtString, 1); -
trunk/UCore.lfm
r65 r66 4 4 OldCreateOrder = False 5 5 Height = 529 6 HorizontalOffset = 4617 VerticalOffset = 3596 HorizontalOffset = 669 7 VerticalOffset = 607 8 8 Width = 726 9 9 PPI = 144 … … 497 497 object ApplicationInfo1: TApplicationInfo 498 498 Identification = 1 499 VersionMajor = 2499 VersionMajor = 1 500 500 VersionMinor = 1 501 501 VersionBugFix = 0 … … 506 506 AppName = 'vCard Studio' 507 507 Description = 'vCard files management tool' 508 ReleaseDate = 445 24508 ReleaseDate = 44539 509 509 RegistryKey = '\Software\Chronosoft\vCard Studio' 510 510 RegistryRoot = rrKeyCurrentUser -
trunk/UCore.pas
r63 r66 74 74 ProfileImage: TImage; 75 75 LastSplitDir: string; 76 ProfilePhotoFileName: string; 76 77 procedure FileModified(Sender: TObject); 77 78 function FindFirstNonOption: string; … … 322 323 {$IFDEF Linux} 323 324 const 324 LinuxLanguagesDir = '/usr/share/vCardStudio/Languages'; 325 LinuxDataFilesDir = '/usr/share/vCardStudio'; 326 LinuxLanguagesDir = LinuxDataFilesDir + '/Languages'; 327 LinuxImagesDir = LinuxDataFilesDir + '/Images'; 325 328 {$ENDIF} 326 329 begin 330 ProfilePhotoFileName := 'Images/Profile.png'; 327 331 {$IFDEF Linux} 328 332 // If installed in Linux system then use installation directory for po files 329 if not DirectoryExists(Translator.POFilesFolder) and DirectoryExists(LinuxLanguagesDir) then 333 if not DirectoryExists(Translator.POFilesFolder) and DirectoryExists(LinuxLanguagesDir) then begin 330 334 Translator.POFilesFolder := LinuxLanguagesDir; 335 end; 336 // If installed in Linux system then use installation directory for images files 337 if not DirectoryExists('Images') and DirectoryExists(LinuxImagesDir) then begin 338 ProfilePhotoFileName := LinuxImagesDir + DirectorySeparator + 'Profile.png'; 339 end; 331 340 {$ENDIF} 332 341 … … 510 519 511 520 function TCore.GetProfileImage: TImage; 512 const513 ProfilePhotoFileName = 'Images/Profile.png';514 521 begin 515 522 if not Assigned(ProfileImage) then begin
Note:
See TracChangeset
for help on using the changeset viewer.