add support for Repos with Numbers in their name (#255)
* add support for Repos with Numbers in their name * Update strings_sy.xml changed invalid_repo_name to better reflect its meaning
This commit is contained in:
parent
dc760c0596
commit
90ffb8cdf6
@ -79,6 +79,6 @@ class RepoPresenter(
|
|||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
val repoRegex = """^[a-zA-Z-_.]*?\/[a-zA-Z-_.]*?$""".toRegex()
|
val repoRegex = """^[a-zA-Z0-9-_.]*?\/[a-zA-Z0-9-_.]*?$""".toRegex()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -343,7 +343,7 @@
|
|||||||
</plurals>
|
</plurals>
|
||||||
<string name="error_repo_exists">This repo already exists!</string>
|
<string name="error_repo_exists">This repo already exists!</string>
|
||||||
<string name="snack_repo_deleted">Repo deleted</string>
|
<string name="snack_repo_deleted">Repo deleted</string>
|
||||||
<string name="invalid_repo_name">Invalid category name</string>
|
<string name="invalid_repo_name">Invalid repo name</string>
|
||||||
<string name="repo_source">Repo source</string>
|
<string name="repo_source">Repo source</string>
|
||||||
|
|
||||||
<!-- Migration -->
|
<!-- Migration -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user