ja acabei

This commit is contained in:
2026-04-23 10:40:49 +01:00
parent a92e93bae3
commit 42bb2308a7
122 changed files with 2881 additions and 102 deletions

View File

@@ -87,7 +87,7 @@
errorLine2=" ^">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/java/com/example/cuida/ui/schedule/ScheduleViewModel.java"
line="188"
line="187"
column="31"/>
</issue>
@@ -105,7 +105,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/java/com/example/cuida/ui/schedule/ScheduleViewModel.java"
line="202"
line="201"
column="32"/>
</issue>
@@ -123,7 +123,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/java/com/example/cuida/ui/schedule/ScheduleViewModel.java"
line="206"
line="205"
column="36"/>
</issue>
@@ -1023,6 +1023,24 @@
column="35"/>
</issue>
<issue
id="SetTextI18n"
severity="Warning"
message="String literal in `setText` can not be translated. Use Android resources instead."
category="Internationalization"
priority="6"
summary="TextView Internationalization"
explanation="When calling `TextView#setText`&#xA;* Never call `Number#toString()` to format numbers; it will not handle fraction separators and locale-specific digits properly. Consider using `String#format` with proper format specifications (`%d` or `%f`) instead.&#xA;* Do not pass a string literal (e.g. &quot;Hello&quot;) to display text. Hardcoded text can not be properly translated to other languages. Consider using Android resource strings instead.&#xA;* Do not build messages by concatenating text chunks. Such messages can not be properly translated."
url="https://developer.android.com/guide/topics/resources/localization.html"
urls="https://developer.android.com/guide/topics/resources/localization.html"
errorLine1=" holder.textStatus.setText(&quot;Pendente&quot;);"
errorLine2=" ~~~~~~~~~~">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/java/com/example/cuida/ui/appointments/AppointmentAdapter.java"
line="50"
column="39"/>
</issue>
<issue
id="SetTextI18n"
severity="Warning"
@@ -2383,12 +2401,28 @@
priority="5"
summary="Hardcoded text"
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:&#xA;&#xA;* When creating configuration variations (for example for landscape or portrait) you have to repeat the actual text (and keep it up to date when making changes)&#xA;&#xA;* The application cannot be translated to other languages by just adding new translations for existing string resources.&#xA;&#xA;There are quickfixes to automatically extract this hardcoded string into a resource lookup."
errorLine1=" android:text=&quot;Tipo de Consulta&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
errorLine1=" android:text=&quot;Tipo de Consulta&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/res/layout/item_appointment.xml"
line="23"
column="13"/>
line="28"
column="17"/>
</issue>
<issue
id="HardcodedText"
severity="Warning"
message="Hardcoded string &quot;Pendente&quot;, should use `@string` resource"
category="Internationalization"
priority="5"
summary="Hardcoded text"
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:&#xA;&#xA;* When creating configuration variations (for example for landscape or portrait) you have to repeat the actual text (and keep it up to date when making changes)&#xA;&#xA;* The application cannot be translated to other languages by just adding new translations for existing string resources.&#xA;&#xA;There are quickfixes to automatically extract this hardcoded string into a resource lookup."
errorLine1=" android:text=&quot;Pendente&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/res/layout/item_appointment.xml"
line="37"
column="17"/>
</issue>
<issue
@@ -2403,7 +2437,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/res/layout/item_appointment.xml"
line="38"
line="56"
column="17"/>
</issue>
@@ -2419,7 +2453,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/res/layout/item_appointment.xml"
line="45"
line="63"
column="17"/>
</issue>
@@ -2435,7 +2469,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/Users/230405/Desktop/papcuida/app/src/main/res/layout/item_appointment.xml"
line="53"
line="71"
column="13"/>
</issue>