ja acabei
This commit is contained in:
@@ -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`
* 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.
* Do not pass a string literal (e.g. "Hello") to display text. Hardcoded text can not be properly translated to other languages. Consider using Android resource strings instead.
* 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("Pendente");"
|
||||
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:

* 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)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
||||
errorLine1=" android:text="Tipo de Consulta""
|
||||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||
errorLine1=" android:text="Tipo de Consulta""
|
||||
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 "Pendente", should use `@string` resource"
|
||||
category="Internationalization"
|
||||
priority="5"
|
||||
summary="Hardcoded text"
|
||||
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* 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)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
||||
errorLine1=" android:text="Pendente""
|
||||
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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user