Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate classes to english #62

Open
wants to merge 85 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
cd2df7e
Add updated Gradle wrapper 7.4 and downgrade Android Gradle build too…
Sternbach-Software Oct 25, 2022
cb4244e
Rename classes:
Sternbach-Software Oct 25, 2022
a4d3296
Fix illegal reflection access exception on API > 33 for hiding the bl…
Sternbach-Software Oct 25, 2022
99d66ca
1. Correct format of and add JavaDoc strings to many functions and cl…
Sternbach-Software Oct 25, 2022
784b97b
Translate comment in BlackboardActivity
Sternbach-Software Oct 31, 2022
d1f7135
Translate Classes
Sternbach-Software Nov 4, 2022
bc8c66d
Merge remote-tracking branch 'origin/translate-code-to-english' into …
Sternbach-Software Nov 4, 2022
5896038
Inline intent to fix name clash
Sternbach-Software Nov 4, 2022
2fa1d96
Translate ChangesActivity and U.metti() -> place()
Sternbach-Software Nov 4, 2022
8048c1b
Translate ExtensionActivity and U.scavaEstensione() -> traverseExtens…
Sternbach-Software Nov 4, 2022
49610c4
Translate ExtensionActivity and U.scavaEstensione() -> traverseExtens…
Sternbach-Software Nov 4, 2022
5e6c1f4
Translate FamilyActivity, U.mettiIndividuo() -> placeIndividual(), Me…
Sternbach-Software Nov 4, 2022
3073110
Merge remote-tracking branch 'origin/translate-code-to-english' into …
Sternbach-Software Nov 4, 2022
4c51e1a
Translate ImageActivity, U.mettiDispensa() -> putContainer(), U.dipin…
Sternbach-Software Nov 4, 2022
711eb3d
Translate NameActivity
Sternbach-Software Nov 4, 2022
f65c0ca
Update note activity
Sternbach-Software Nov 4, 2022
904fa31
Translate RepositoryActivity
Sternbach-Software Nov 4, 2022
3bc1e45
Translate RepositoryRefActivity
Sternbach-Software Nov 4, 2022
864070e
Translate SourceActivity
Sternbach-Software Nov 4, 2022
14dcfb2
Translate SourceCitationActivity
Sternbach-Software Nov 4, 2022
ac7406a
Translate CleanStack
Sternbach-Software Nov 4, 2022
8e8ec4c
Translate CountSourceCitation
Sternbach-Software Nov 4, 2022
849387d
Translate FindStack˚
Sternbach-Software Nov 4, 2022
8cd057f
Correct javadoc format
Sternbach-Software Nov 4, 2022
700b991
Translate ListOfSourceCitations
Sternbach-Software Nov 6, 2022
4238b7c
Translate MediaContainers
Sternbach-Software Nov 6, 2022
d73faaa
Translate MediaList
Sternbach-Software Nov 6, 2022
8eb9e5c
1. Translate oggetto to "object"
Sternbach-Software Nov 6, 2022
18e5e02
Translate MediaReferences
Sternbach-Software Nov 6, 2022
52bd3f0
Translate NoteContainers and comment of MediaReferences
Sternbach-Software Nov 6, 2022
3fee74c
Translate NoteList
Sternbach-Software Nov 6, 2022
eb39aa0
Translate NoteReferences˚
Sternbach-Software Nov 6, 2022
8d25707
Translate TotalVisitor
Sternbach-Software Nov 6, 2022
1eb5e6a
Translate BlackboardActivity
Sternbach-Software Nov 6, 2022
07b4b74
Translate ChurchFragment
Sternbach-Software Nov 6, 2022
3a35799
Translate CompareActivity
Sternbach-Software Nov 6, 2022
766caa3
1. Translate Comparison
Sternbach-Software Nov 6, 2022
548bf5a
Rename Comparison.getFronte -> getFront()
Sternbach-Software Nov 6, 2022
b82f030
Translate ConfirmationActivity
Sternbach-Software Nov 6, 2022
92b21fd
Translate ciSonoIndividuiCollegabili -> containsConnectableIndividual…
Sternbach-Software Nov 6, 2022
3aa2ffc
Translate Diagram and rename TestView to VariableWidthTextView
Sternbach-Software Nov 6, 2022
94d4c58
Translate DiagramSettings
Sternbach-Software Nov 6, 2022
480a860
Translate Exporter
Sternbach-Software Nov 7, 2022
f87f5a4
Translate names of classes:
Sternbach-Software Nov 7, 2022
25cdf13
Translate Extension
Sternbach-Software Nov 7, 2022
9e55db8
Translate F.java
Sternbach-Software Nov 10, 2022
8975750
Translate FacadeActivity
Sternbach-Software Nov 10, 2022
c2ca82f
Translate GalleryFragment
Sternbach-Software Nov 10, 2022
cf72eaf
Translate GedcomDateConverter
Sternbach-Software Nov 10, 2022
bf11079
Replace "json = json.replace(...); json = json.replace(...);... retur…
Sternbach-Software Nov 10, 2022
2332f66
Translate Global
Sternbach-Software Nov 10, 2022
3beaef0
Translate IndividualEditorActivity
Sternbach-Software Nov 10, 2022
be4b724
Translate IndividualEventsFragment
Sternbach-Software Nov 13, 2022
62abb37
Translate IndividualFamilyFragment
Sternbach-Software Nov 14, 2022
06f9b7d
Translate IndividualMediaFragment
Sternbach-Software Nov 14, 2022
8b6d76c
Translate IndividualPersonActivity
Sternbach-Software Nov 14, 2022
fbf62b8
Translate LibraryFragment
Sternbach-Software Nov 14, 2022
cd96a49
Translate ListOfAuthorsFragment
Sternbach-Software Nov 14, 2022
5355348
Translate ListOfPeopleFragment
Sternbach-Software Nov 14, 2022
c28bbfd
1. Make MediaFoldersActivity.onRequestPermissionsResult() call super
Sternbach-Software Nov 14, 2022
6dd3682
1. Add calls to super in MediaIconsRecyclerView
Sternbach-Software Nov 14, 2022
6a17800
Add code sample for optimizing setInstanceAndAllSubsequentToNull() an…
Sternbach-Software Nov 14, 2022
f929aca
Correct typos and formatting in MoveLayout
Sternbach-Software Nov 14, 2022
908c57f
Translate NewRelativeDialog
Sternbach-Software Nov 14, 2022
e9f13ea
Translate NewTree
Sternbach-Software Nov 14, 2022
5ec76eb
Translate NotebookAdapter
Sternbach-Software Nov 15, 2022
d7eb4a5
Translate NotebookFragment
Sternbach-Software Nov 15, 2022
d525240
Translate Notifier (only changed javadoc format)
Sternbach-Software Nov 15, 2022
22ccfbf
Translate NotifyReceiver (only changed javadoc format)
Sternbach-Software Nov 15, 2022
b4e0948
Translate OptionsActivity
Sternbach-Software Nov 15, 2022
bba67a5
Translate PlaceFinderTextView
Sternbach-Software Nov 15, 2022
74841b2
Translate Principal
Sternbach-Software Nov 15, 2022
b6c5f0e
Translate PublisherDateLinearLayout
Sternbach-Software Nov 16, 2022
18a1783
Translate RepositoryFragment
Sternbach-Software Nov 16, 2022
341070e
Rename RepositoryFragment to RepositoriesFragment
Sternbach-Software Nov 16, 2022
1a9d439
Translate s.java and replace string concatenation with StringBuilder
Sternbach-Software Nov 16, 2022
93f0bfe
Translate Settings
Sternbach-Software Nov 16, 2022
105e9ba
Translate SharingActivity
Sternbach-Software Nov 16, 2022
d452696
Translate SpeechBubble
Sternbach-Software Nov 16, 2022
8f569cb
Add TODO to TombstoneActivity
Sternbach-Software Nov 16, 2022
9bd9e22
Translate TreeComparatorActivity and add TODO
Sternbach-Software Nov 16, 2022
ee91365
Translate TreeInfoActivity and replace string concatenation with Stri…
Sternbach-Software Nov 16, 2022
57f73c1
Translate TreesActivity and replace string concatenation with StringB…
Sternbach-Software Nov 16, 2022
fc1a831
Translate TypeView
Sternbach-Software Nov 16, 2022
e5a392f
Translate U.java
Sternbach-Software Nov 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-keep class app.familygem.Settings, app.familygem.Chiesa, app.familygem.Podio # for R8.fullMode
-keep class app.familygem.Settings, app.familygem.ChurchFragment, app.familygem.ListOfAuthorsFragment # for R8.fullMode
-keepclassmembernames class app.familygem.Settings, app.familygem.Settings$Tree, app.familygem.Settings$Diagram, app.familygem.Settings$ZippedTree, app.familygem.Settings$Share { *; }
-keepclassmembers class org.folg.gedcom.model.* { *; }
#-keeppackagenames org.folg.gedcom.model # Gedcom parser lo chiama come stringa eppure funziona anche senza
Expand Down
38 changes: 19 additions & 19 deletions app/src/androidTest/java/app/familygem/ExportTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,39 +130,39 @@ void esportaGedcom() {
if( !documentsDir.exists() ) documentsDir.mkdir();

File fileGedcom = new File( documentsDir, "Küçük ağaç.ged" );
Esportatore esp = new Esportatore( appContext );
assertTrue( esp.apriAlbero( idAlbero ) );
assertNull( esp.messaggioSuccesso );
assertNull( esp.messaggioErrore );
assertTrue( esp.esportaGedcom(Uri.fromFile(fileGedcom)) );
Exporter esp = new Exporter( appContext );
assertTrue( esp.openTree( idAlbero ) );
assertNull( esp.successMessage);
assertNull( esp.errorMessage);
assertTrue( esp.exportGedcom(Uri.fromFile(fileGedcom)) );
assertTrue( fileGedcom.isFile() );
assertEquals( esp.messaggioSuccesso, appContext.getString(R.string.gedcom_exported_ok) );
s.l( esp.messaggioSuccesso );
assertEquals( esp.successMessage, appContext.getString(R.string.gedcom_exported_ok) );
s.l( esp.successMessage);

File fileGedcomZip = new File( documentsDir, "ਸੰਕੁਚਿਤ.zip" );
Esportatore esp2 = new Esportatore( appContext );
assertTrue( esp2.apriAlbero( idAlbero ) );
boolean result = esp2.esportaGedcomZippato(Uri.fromFile(fileGedcomZip));
s.l( esp2.messaggioErrore );
Exporter esp2 = new Exporter( appContext );
assertTrue( esp2.openTree( idAlbero ) );
boolean result = esp2.exportGedcomToZip(Uri.fromFile(fileGedcomZip));
s.l( esp2.errorMessage);
assertTrue( result );
assertEquals( esp2.messaggioSuccesso, appContext.getString(R.string.zip_exported_ok) );
assertEquals( esp2.successMessage, appContext.getString(R.string.zip_exported_ok) );
assertTrue( fileGedcomZip.isFile() );
s.l( esp2.messaggioSuccesso );
s.l( esp2.successMessage);
}

// Esporta in /Documents l'ultimo albero come backup ZIP
void esportaBackup() {
File documentsDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS);
if( !documentsDir.exists() ) documentsDir.mkdir();
File fileBackup = new File( documentsDir, "Becàp olè.zip" );
Esportatore esp = new Esportatore( appContext );
Exporter esp = new Exporter( appContext );
Settings.Tree ultimoAlb = Global.settings.trees.get(Global.settings.trees.size()-1);
assertTrue( esp.apriAlbero( ultimoAlb.id ) );
boolean result = esp.esportaBackupZip( null, -1, Uri.fromFile(fileBackup) );
s.l( esp.messaggioErrore );
assertTrue( esp.openTree( ultimoAlb.id ) );
boolean result = esp.exportBackupZip( null, -1, Uri.fromFile(fileBackup) );
s.l( esp.errorMessage);
assertTrue( result );
assertEquals( esp.messaggioSuccesso, appContext.getString(R.string.zip_exported_ok) );
assertEquals( esp.successMessage, appContext.getString(R.string.zip_exported_ok) );
assertTrue( fileBackup.isFile() );
s.l( esp.messaggioSuccesso );
s.l( esp.successMessage);
}
}
72 changes: 36 additions & 36 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
android:resource="@xml/provider_paths"/>
</provider>
<activity
android:name=".Facciata"
android:name=".FacadeActivity"
android:noHistory="true"
android:exported="true">
<intent-filter>
Expand All @@ -56,84 +56,84 @@
</intent-filter>
</activity>
<activity
android:name=".Alberi"
android:name=".TreesActivity"
android:launchMode="singleTask" />
<activity
android:name=".AlberoNuovo"
android:name=".NewTree"
android:label="@string/new_tree"
android:parentActivityName=".Alberi" />
android:parentActivityName=".TreesActivity" />
<activity
android:name=".Principal"
android:theme="@style/AppTheme.NoActionBar"/>
<activity
android:name=".Opzioni"
android:name=".OptionsActivity"
android:label="@string/settings"
android:parentActivityName=".Alberi"/>
android:parentActivityName=".TreesActivity"/>
<activity
android:name=".Lapide"
android:name=".TombstoneActivity"
android:label="@string/about"
android:parentActivityName=".Opzioni" />
android:parentActivityName=".OptionsActivity" />
<activity
android:name=".InfoAlbero"
android:name=".TreeInfoActivity"
android:label="@string/tree_info"
android:parentActivityName=".Alberi" />
android:parentActivityName=".TreesActivity" />
<activity
android:name=".CartelleMedia"
android:name=".MediaFoldersActivity"
android:label="@string/media_folders" />
<activity
android:name=".Condivisione"
android:name=".SharingActivity"
android:label="@string/share_tree"
android:parentActivityName=".Alberi" />
android:parentActivityName=".TreesActivity" />
<activity
android:name=".Compara"
android:name=".CompareActivity"
android:label="@string/tree_with_news"
android:parentActivityName=".Alberi" />
android:parentActivityName=".TreesActivity" />
<activity
android:name=".Confrontatore"
android:name=".TreeComparatorActivity"
android:label="@string/import_news"
android:parentActivityName=".Compara" />
android:parentActivityName=".CompareActivity" />
<activity
android:name=".Conferma"
android:name=".ConfirmationActivity"
android:label="@string/confirm_news"
android:parentActivityName=".Compara" />
android:parentActivityName=".CompareActivity" />
<activity
android:name=".DiagramSettings"
android:label="@string/diagram_settings"
android:parentActivityName=".Principal" />
<activity
android:name=".Individuo"
android:name=".IndividualPersonActivity"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".detail.Famiglia" />
android:name=".detail.FamilyActivity" />
<activity
android:name=".detail.Nome" />
android:name=".detail.NameActivity" />
<activity
android:name=".detail.Archivio" />
android:name=".detail.RepositoryActivity" />
<activity
android:name=".detail.ArchivioRef" />
android:name=".detail.RepositoryRefActivity" />
<activity
android:name=".detail.Nota" />
android:name=".detail.NoteActivity" />
<activity
android:name=".detail.Fonte" />
android:name=".detail.SourceActivity" />
<activity
android:name=".detail.CitazioneFonte" />
android:name=".detail.SourceCitationActivity" />
<activity
android:name=".detail.Immagine" />
android:name=".detail.ImageActivity" />
<activity
android:name=".detail.Evento" />
android:name=".detail.EventActivity" />
<activity
android:name=".detail.Indirizzo" />
android:name=".detail.AddressActivity" />
<activity
android:name=".detail.Autore" />
android:name=".detail.AuthorActivity" />
<activity
android:name=".detail.Estensione" />
android:name=".detail.ExtensionActivity" />
<activity
android:name=".detail.Cambiamenti" />
android:name=".detail.ChangesActivity" />
<activity
android:name=".Lavagna"
android:parentActivityName=".detail.Immagine"
android:name=".BlackboardActivity"
android:parentActivityName=".detail.ImageActivity"
android:theme="@style/AppTheme.NoActionBar" />
<activity android:name=".EditaIndividuo" />
<activity android:name=".IndividualEditorActivity" />
<activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity" />
<service
android:name="androidx.appcompat.app.AppLocalesMetadataHolderService"
Expand Down
170 changes: 0 additions & 170 deletions app/src/main/java/app/familygem/AdattatoreGalleriaMedia.java

This file was deleted.